atol Function (tigcc.a)

stdlib.h

long atol (const char *str);

Converts a string to a long integer.

atol is similar to atoi, but converts the string to a long integer.