Go to the first, previous, next, last section, table of contents.

atol---convert string to long

Synopsis
long atol(const char *s);

Description
atol converts the initial portion of a string to an long.

atol(s) is implemented as strtol(s,NULL,10).


Portability
atol is ANSI.

No supporting OS subroutines are required.



Go to the first, previous, next, last section, table of contents.