42_ft_printf/ft_dprintX.c

19 lines
1020 B
C
Raw Normal View History

2022-10-06 20:30:03 -04:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
2022-10-23 13:01:50 -04:00
/* ft_dprintX.c :+: :+: :+: */
2022-10-06 20:30:03 -04:00
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
2022-10-23 13:01:50 -04:00
/* Created: 2022/10/23 17:44:38 by cchauvet #+# #+# */
/* Updated: 2022/10/23 18:22:43 by cchauvet ### ########.fr */
2022-10-06 20:30:03 -04:00
/* */
/* ************************************************************************** */
2022-10-23 13:01:50 -04:00
#include "ft_printf.h"
2022-10-06 20:30:03 -04:00
2022-10-23 13:01:50 -04:00
int ft_dprint_upperx(int fd, unsigned int n)
2022-10-06 20:30:03 -04:00
{
2022-10-23 13:01:50 -04:00
return (ft_dprintul_base(fd, n, "0123456789ABCDEF"));
2022-10-06 20:30:03 -04:00
}