MentOS
0.8.0
The Mentoring Operating System
|
Standard IO functions. More...
Functions | |
int | atoi (const char *str) |
Convert the given string to an integer. More... | |
long | strtol (const char *str, char **endptr, int base) |
Converts the initial part of str to a long int value according to the given base, which. More... | |
Standard IO functions.
int atoi | ( | const char * | str | ) |
Convert the given string to an integer.
str | The string to convert. |
long strtol | ( | const char * | str, |
char ** | endptr, | ||
int | base | ||
) |
Converts the initial part of str
to a long int value according to the given base, which.
str | This is the string containing the integral number. |
endptr | Set to the character after the numerical value. |
base | The base must be between 2 and 36 inclusive, or special 0. |