ReactOS
0.4.16-dev-1020-gf135cab
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
Functions
_wcslwr_s.c File Reference
#include <precomp.h>
Include dependency graph for _wcslwr_s.c:
Go to the source code of this file.
Functions
int
_wcslwr_s
(
wchar_t
*
str
,
size_t
n
)
Function Documentation
◆
_wcslwr_s()
int
_wcslwr_s
(
wchar_t
*
str
,
size_t
n
)
Definition at line
16
of file
_wcslwr_s.c
.
17
{
18
wchar_t
*
ptr
=
str
;
19
if
(!
str
|| !
n
)
20
{
21
if
(
str
) *
str
=
'\0'
;
22
*
_errno
() =
EINVAL
;
23
return
EINVAL
;
24
}
25
26
while
(
n
--)
27
{
28
if
(!*
ptr
)
return
0;
29
*
ptr
=
towlower
(*
ptr
);
30
ptr
++;
31
}
32
33
/* MSDN claims that the function should return and set errno to
34
* ERANGE, which doesn't seem to be true based on the tests. */
35
*
str
=
'\0'
;
36
*
_errno
() =
EINVAL
;
37
return
EINVAL
;
38
}
EINVAL
#define EINVAL
Definition:
acclib.h:90
n
GLdouble n
Definition:
glext.h:7729
ptr
static PVOID ptr
Definition:
dispmode.c:27
str
const WCHAR * str
Definition:
rpc_transport.c:2724
_errno
_CRTIMP int *__cdecl _errno(void)
Definition:
errno.c:17
towlower
#define towlower(c)
Definition:
wctype.h:97
sdk
lib
crt
string
_wcslwr_s.c
Generated on Mon Apr 21 2025 06:26:02 for ReactOS by
1.9.6