ReactOS
0.4.16-dev-927-g467dec4
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
wcsrev.cpp
Go to the documentation of this file.
1
//
2
// wcsrev.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines _wcsrev(), which reverses a wide chraacter string in place. The
7
// pointer to the string is returned.
8
//
9
#include <string.h>
10
11
12
13
extern
"C"
wchar_t
*
__cdecl
_wcsrev
(
wchar_t
*
const
string
)
14
{
15
// Find the end of the string:
16
wchar_t
*
right
=
string
;
17
while
(*
right
++) { }
18
right
-= 2;
19
20
// Reverse the strong:
21
wchar_t
*
left
=
string
;
22
while
(
left
<
right
)
23
{
24
wchar_t
const
c
= *
left
;
25
*
left
++ = *
right
;
26
*
right
-- =
c
;
27
}
28
29
return
string
;
30
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
c
const GLubyte * c
Definition:
glext.h:8905
right
GLdouble GLdouble right
Definition:
glext.h:10859
left
GLint left
Definition:
glext.h:7726
c
#define c
Definition:
ke_i.h:80
string
char string[160]
Definition:
util.h:11
_wcsrev
wchar_t *__cdecl _wcsrev(wchar_t *const string)
Definition:
wcsrev.cpp:13
sdk
lib
ucrt
string
wcsrev.cpp
Generated on Sun Mar 30 2025 06:14:53 for ReactOS by
1.9.6