summaryrefslogtreecommitdiff
path: root/lib/libc/inttypes/strtoumax.c
blob: 46eecf06306a9d8f2efe263a06ad837464dc76de (plain)
1
2
3
4
5
6
7
#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);
}