summaryrefslogtreecommitdiff
path: root/src/inttypes/strtoimax.c
blob: 4d66558bfd1ab1d50b5880e0a9bc486d5684897c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stddef.h>
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
#include "_safety.h"
#undef strtoimax

intmax_t strtoimax(const char * restrict nptr, char ** restrict endptr, int base)
{
	SIGNAL_SAFE(0);

	intmax_t ret = 0;
	intmax_t max = INTMAX_MAX;
	intmax_t min = INTMAX_MIN;

	#include "stdlib/_strtoi.h"

	return ret;
}

/*
STDC(199901)
*/