summaryrefslogtreecommitdiffstats
path: root/usr/klibc/strntoimax.c
blob: 179d9e5f0520332cf8ff27d8f5879b745c5add60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * 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);
}