14#include "internal_types.h"
15#include "../../../../libft.h"
18 char *base,
unsigned int base_len,
int fd)
25 res = _u_put_base(n / base_len, base, base_len, fd);
29 if (write(fd, base + (n % base_len), 1) == -1)
36 return (_u_put_base(n, base,
ft_strlen(base), fd));
unsigned long long t_ubiggest
Convenience typedef for largest unsigned type I need to handle.
int u_put_base(t_ubiggest n, char *base, int fd)
Write unsigned number n on descriptor fd in base base.
size_t ft_strlen(const char *str)
Get length of str.