Small subset of stdlib.h.
More...
|
char * | itoa (int value) |
|
int | atoi (const char *str) |
|
Small subset of stdlib.h.
◆ atoi()
int atoi |
( |
const char * |
str | ) |
|
Converts a string to an int
- Parameters
-
str | This is the string representation of an integral number. |
- Returns
- The converted integral number as an int value. If no valid conversion could be performed, it returns zero.
◆ itoa()
Converts an int (Only base 10 supported for now) to a null-terminated string using the specified base.
- Parameters
-
value | Value to be converted to a string. |
- Returns
- A pointer to the resulting null-terminated string.