summaryrefslogtreecommitdiff
path: root/src/wchar/wcstoul.c
blob: 37268c50c2c643e648369a015611a9fc63f8e8e8 (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

unsigned long int wcstoul(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
	unsigned long int ret = 0;
	unsigned long int max = ULONG_MAX;
	unsigned long int min = 0;

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

	return ret;
}

/*
STDC(199409)
*/