long atol

long atol(const char *__s) __ATTR_PURE__

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

this function does not detect overflow (errno is not changed and the result value is not predictable), uses smaller memory (flash and stack) and works more quickly.