C++程序  |  14行  |  220 B

/*
 * strntoimax.c
 *
 * strntoimax()
 */

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

intmax_t strntoimax(const char *nptr, char **endptr, int base, size_t n)
{
    return (intmax_t) strntoumax(nptr, endptr, base, n);
}