ATOL
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
atol
- convert
ASCII
string to long integer
SYNOPSIS
Fd #include <
stdlib.h
> Ft long Fn atol const char *nptr
DESCRIPTION
The Fn atol function converts the initial portion of the string pointed to by
nptr
to
long integer
representation.
It is equivalent to:
strtol(nptr, (char **)NULL, 10);
SEE ALSO
atof
(3),
atoi
(3),
strtod
(3),
strtol
(3),
strtoul
(3)
STANDARDS
The Fn atol function conforms to St -ansiC .
Index
NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
STANDARDS
This document was created by
man2html
, using the manual pages.
Time: 15:52:50 GMT, January 15, 2023