blob: 59788f909674cfea112e4c77e9f85d85b05aa1d4 (
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
|
#include <stddef.h>
#include <errno.h>
#include <inttypes.h>
#include <wctype.h>
#include "_safety.h"
#define isspace iswspace
uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
SIGNAL_SAFE(0);
ASSERT_NOOVERLAP(nptr, wcslen(nptr), endptr, sizeof(*endptr));
uintmax_t ret = 0;
uintmax_t max = UINTMAX_MAX;
uintmax_t min = 0;
#include "stdlib/_strtoi.h"
return ret;
}
__check_3(uintmax_t, 0, wcstoumax, const wchar_t * restrict, wchar_t ** restrict, int)
/*
STDC(199901)
*/
|