22static int int_length(
int n)
35static char *edge_case(
int n)
56 if (!n || n == -2147483648)
57 return (edge_case(n));
72 str[negative + len-- - 1] = n % 10 +
'0';
void * ft_calloc(size_t count, size_t size)
Allocates count * size bytes with malloc and returns a pointer to the result.
char * ft_itoa(int n)
Converts integer n to an allocated ASCII string.
char * ft_strdup(const char *s1)
Allocates memory for, copies to, and returns a duplicate of s1.