1 /* 2 * strtox.c 3 * 4 * strto...() functions, by macro definition 5 */ 6 7 #include <stddef.h> 8 #include <inttypes.h> 9 NAME(const char * nptr,char ** endptr,int base)10 TYPE NAME(const char *nptr, char **endptr, int base) 11 { 12 return (TYPE) strntoumax(nptr, endptr, base, ~(size_t) 0); 13 } 14