summaryrefslogtreecommitdiff
path: root/src/wchar/wcstol.c
blob: 54cbf696f143c8bec492269a47a8fd24702930aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#if 0

#include <wchar.h>
#include <wctype.h>
#include <limits.h>
#include <errno.h>

#define isspace iswspace

long int wcstol(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
	SIGNAL_SAFE(0);
	/* TODO: overlap */

	long int ret = 0;
	long int max = LONG_MAX;
	long int min = LONG_MIN;

	#include "stdlib/_strtoi.h"

	return ret;
}

/*
STDC(199409)
*/


#endif