22static int ft_isspace(
char c)
24 return (c ==
' ' || c ==
'\t' || c ==
'\n'
25 || c ==
'\v' || c ==
'\f' || c ==
'\r');
47 while (ft_isspace(*str))
50 if (*str ==
'-' || *str ==
'+')
65 nbr = nbr * 10 + (*(str++) -
'0');
int ft_atoi(const char *str)
Converts ASCII string str to integer representation.
int ft_isdigit(int c)
Is c a numeric character.
#define FT_LONG_MAX
Not allowed to include limits.h.