Go to the first, previous, next, last section, table of contents.


strtoull

Syntax

#include <stdlib.h>

unsigned long long strtoull(const char *s, char **endp, int base);

Description

This is just like strtoll (see section strtoll) except that the result is unsigned.

Return Value

The value.

Portability

not ANSI, not POSIX

Example

printf("Enter a number: "); fflush(stdout);
gets(buf);
char *bp;
printf("The value is %llu\n", strtoull(buf, &bp, 0));


Go to the first, previous, next, last section, table of contents.