Synopsis

#include <stdlib.h>

long atol(const char *str);

Description

Function converts the string pointed to, by the argument str to a long integer (type long int).

Return value

Errors