Basics functions.
More...
|
int | ft_atoi (const char *nptr) |
| Convert string to int, and handle number.
|
|
int | ft_atoi_base (char *str, char *base) |
| Atoi with a particular base.
|
|
char * | ft_itoa (int n) |
| Return a string representing the integer 'n' received as argument.
|
|
Basics functions.
◆ ft_atoi()
int ft_atoi |
( |
const char * | nptr | ) |
|
Convert string to int, and handle number.
- Parameters
-
- Returns
- int number
◆ ft_atoi_base()
int ft_atoi_base |
( |
char * | str, |
|
|
char * | base ) |
Atoi with a particular base.
- Parameters
-
str | String to convert |
base | Base to use for conversion |
- Returns
- int converted number
◆ ft_itoa()
Return a string representing the integer 'n' received as argument.
- Parameters
-
- Returns
- char* string representing the integer 'n'