|
Libft
42 Libft library documentation
|
Go to the source code of this file.
Functions | |
| int | ft_atoi (const char *str) |
| Converts an ASCII string to an int value. | |
| int ft_atoi | ( | const char * | str | ) |
Converts an ASCII string to an int value.
Skips leading whitespace, parses an optional sign, then accumulates consecutive decimal digits.
| str | Input C string. |
Definition at line 22 of file ft_atoi.c.