[][src]Function avr_libc::atol

pub unsafe extern "C" fn atol(__s: *const i8) -> i32

The atol() function converts the initial portion of the string pointed to by \p s to long integer representation. In contrast to

\code 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.