atoll

Converts a string to a long long integer.

long long atoll (char * string);

Required Header
<stdlib.h>

Return Value

This function returns the long long integer representation of string.

Parameters

string

  The string to be converted to a long long integer

Remarks

The atoll function converts string to a long long integer number, where the conversion stops at the first character that is not recognisable as a number in the form:

[whitespace][sign][digits]

Standard Library

See Also    atoi, atol, strtol, strtoul, strtoull, strtod