summaryrefslogtreecommitdiff
path: root/lib/libc/inttypes/strtoumax.c
blob: 73d2c77c716f2e04017d7ab17a7815c6b5c7b23d (plain)
1
2
3
4
5
6
7
8
#include <inttypes.h> // for strtoumax
#include <stdint.h>   // for uintmax_t
#include <stdlib.h>   // for strtoull

uintmax_t strtoumax(const char *restrict s, char **restrict p, int base)
{
	return strtoull(s, p, base);
}