summaryrefslogtreecommitdiff
path: root/com32/lib/strtox.c
blob: e01247acb16e54db1470cbc38c476d3dc8386471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * 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);
}