/* * atox.c * * atoi(), atol(), atoll() */ #include #include #include extern uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n); TYPE NAME(const char *nptr) { return (TYPE) strntoumax(nptr, (char **)NULL, 10, ~(size_t) 0); }