ReactOS
0.4.16-dev-1056-gbe87e00
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
strtoul.c
Go to the documentation of this file.
1
#include <precomp.h>
2
3
/* Based on Wine Staging 1.9.9 - dlls/msvcrt/string.c */
4
/******************************************************************
5
* _strtoul_l (MSVCRT.@)
6
*/
7
unsigned
long
CDECL
_strtoul_l
(
const
char
* nptr,
char
**
end
,
int
base
,
_locale_t
locale
)
8
{
9
__int64
ret
=
_strtoi64_l
(nptr,
end
,
base
,
locale
);
10
11
if
(
ret
>
ULONG_MAX
) {
12
ret
=
ULONG_MAX
;
13
#ifndef _LIBCNT_
14
*
_errno
() =
ERANGE
;
15
#endif
16
}
else
if
(
ret
< -(
__int64
)
ULONG_MAX
) {
17
ret
= 1;
18
#ifndef _LIBCNT_
19
*
_errno
() =
ERANGE
;
20
#endif
21
}
22
23
return
ret
;
24
}
25
26
/******************************************************************
27
* strtoul (MSVCRT.@)
28
*/
29
unsigned
long
CDECL
strtoul
(
const
char
* nptr,
char
**
end
,
int
base
)
30
{
31
return
_strtoul_l
(nptr,
end
,
base
,
NULL
);
32
}
ERANGE
#define ERANGE
Definition:
acclib.h:92
__int64
#define __int64
Definition:
basetyps.h:16
locale
Definition:
_locale.h:75
NULL
#define NULL
Definition:
types.h:112
CDECL
#define CDECL
Definition:
compat.h:29
end
GLuint GLuint end
Definition:
gl.h:1545
_strtoi64_l
_Check_return_ _ACRTIMP __int64 __cdecl _strtoi64_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
ULONG_MAX
#define ULONG_MAX
Definition:
intsafe.h:155
_errno
_CRTIMP int *__cdecl _errno(void)
Definition:
errno.c:17
strtoul
unsigned long CDECL strtoul(const char *nptr, char **end, int base)
Definition:
strtoul.c:29
_strtoul_l
unsigned long CDECL _strtoul_l(const char *nptr, char **end, int base, _locale_t locale)
Definition:
strtoul.c:7
base
Definition:
uninitialized_test.cpp:81
localeinfo_struct
Definition:
corecrt.h:22
ret
int ret
Definition:
wcstombs-tests.c:31
sdk
lib
crt
string
strtoul.c
Generated on Tue Apr 29 2025 06:16:12 for ReactOS by
1.9.6