42_ft_printf/ft_dprintx.c

19 lines
1014 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:04:56 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_dprintx(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
}