[−][src]Function avr_libc::atoi
pub unsafe extern "C" fn atoi(__s: *const i8) -> i16
The atoi() function converts the initial portion of the string pointed to by \p s to integer representation. In contrast to
\code (int)strtol(s, (char **)NULL, 10); \endcode
this function does not detect overflow (\c errno is not changed and the result value is not predictable), uses smaller memory (flash and stack) and works more quickly.