atol
---convert string to longlong 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.