Synopsis

#include <stdlib.h>

long int strtol(const char *str, char **endptr, int base);

Description

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

Return value

Errors