strtoull : strtoull « stdlib.h « C Tutorial






ItemValue
Header filestdlib.h
Declarationunsigned long long int strtoull(const char *restrict start, char **restrict end, int radix);
Functionsimilar to strtoul() except that it returns an unsigned long long int.


  1. If the result cannot be represented as an unsigned long integer, ULLONG_MAX is returned
  2. If *start is a number, no conversion takes place and zero is returned.
#include <stdlib.h>

int main(void){

    char *start, *end;
    char a[100];

    end = a;
    *start= "12341234";
    printf("%d", strtoull(start, &end, 8));

}








23.33.strtoull
23.33.1.strtoull