C++程序  |  14行  |  231 B

/*
 * strtox.c
 *
 * strto...() functions, by macro definition
 */

#include <stddef.h>
#include <inttypes.h>

TYPE NAME(const char *nptr, char **endptr, int base)
{
    return (TYPE) strntoumax(nptr, endptr, base, ~(size_t) 0);
}