Everything

strtoull


Conversion of character string to integer (unsigned long long type) and storing pointer in last character string

[Classification]

Standard library

[Syntax]

#include <stdlib.h>

unsigned long long strtoull(const char *str, char **ptr, int base);

[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, ULLONG_MAX is returned, and macro ERANGE is set to global variable errno.

[Description]

This function is the same as strtol except that the type of the return value is of unsigned long long type.

[Caution]

This function cannot be used when the -lang=c option and -strict_std option are both specified.