atoll [V1.07 or later]


Conversion of character string to integer (long long int type)

[Classification]

Standard library

[Syntax]

#include <stdlib.h>

long long int __far atoll(const char __near *nptr); (C99)

long long int __far _COM_atoll_f(const char __far *nptr); (C99)

[Return value]

Returns the converted value if the partial character string could be converted. If it could not, 0 is returned.

If an overflow occurs, this function returns LLONG_MAX for a positive value and LLONG_MIN for a negative value, and sets macro ERANGE to global variable errno.

[Description]

This function converts the first part of the character string indicated by nptr into a long long int type in the decimal representation.