|
Embedded Artistry Framework
Embedded Systems C++ Framework
|

Functions | |
| int | atoi (const char *str) |
| Interprets an integer value in a byte string pointed to by str. More... | |
| int atoi | ( | const char * | str | ) |
Interprets an integer value in a byte string pointed to by str.
Interprets an integer value in a byte string pointed to by str. Discards any whitespace characters until the first non-whitespace character is found, then takes as many characters as possible to form a valid integer number representation and converts them to an integer value. The valid integer value consists of the following parts: a) (optional) plus or minus sign b) numeric digits
| str | pointer to the null-terminated byte string to be interpreted |
References isdigit().
Referenced by atoi_test(), and main().

1.8.15