summaryrefslogtreecommitdiff
path: root/src/wchar/wcstol.c
blob: 97741a3ddcb017962a7a269d85ff1183926bf69f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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)
{
	long int ret = 0;
	long int max = LONG_MAX;
	long int min = LONG_MIN;

	#include "stdlib/_strtoi.h"

	return ret;
}

/*
STDC(199409)
*/