atol
Converts a string to a long integer.
Library:LibC
Classification:ANSI
Service:General C Services
Syntax
#include <stdlib.h>
long atol (
const char *ptr);
Parameters
- ptr
-
(IN) Points to the string to be converted.
Return Values
Returns the converted value.