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