4 #define VLONG_MAX ~(1LL<<63)
5 #define VLONG_MIN (1LL<<63)
8 strtoll(char *nptr, char **endptr, int base)
12 int c, ovfl, v, neg, ndig;
39 if(*p=='-' || *p=='+')
50 if(p[1]=='x' || p[1]=='X') {
56 if(base==16 && *p=='0') {
57 if(p[1]=='x' || p[1]=='X')
64 * Non-empty sequence of digits