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

#define isspace iswspace

intmax_t wcstoimax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
	intmax_t ret = 0;
	intmax_t max = INTMAX_MAX;
	intmax_t min = INTMAX_MIN;

	#include "../stdlib/_strtoi.h"

	return ret;
}

/*
STDC(199901)
*/