strtoumax1 strtoumax uintmax_t strtoumax(const char *nptr, char **endptr, int base) #include #include #include /* * Convert a string to a uintmax_t. * * Ignores `locale' stuff. Assumes that the upper and lower case * alphabets and digits are each contiguous. */ uintmax_t strtoumax(const char *nptr, char **endptr, int base) { const char *s; uintmax_t acc, cutoff; int c; int neg, any, cutlim; /* * See strtoq for comme.. 2016. 7. 9. 이전 1 다음