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
strrev.c
Go to the documentation of this file.
1
/***
2
*strrev.c - reverse a string in place
3
*
4
* Copyright (c) Microsoft Corporation. All rights reserved.
5
*
6
*Purpose:
7
* defines _strrev() - reverse a string in place (not including
8
* '\0' character)
9
*
10
*******************************************************************************/
11
12
#include <string.h>
13
14
/***
15
*char *_strrev(string) - reverse a string in place
16
*
17
*Purpose:
18
* Reverses the order of characters in the string. The terminating
19
* null character remains in place.
20
*
21
*Entry:
22
* char *string - string to reverse
23
*
24
*Exit:
25
* returns string - now with reversed characters
26
*
27
*Exceptions:
28
*
29
*******************************************************************************/
30
31
char
*
__cdecl
_strrev
(
32
char
*
string
33
)
34
{
35
char
*
start
=
string
;
36
char
*
left
=
string
;
37
char
ch;
38
39
while
(*
string
++)
/* find end of string */
40
;
41
string
-= 2;
42
43
while
(
left
<
string
)
44
{
45
ch = *
left
;
46
*
left
++ = *
string
;
47
*
string
-- = ch;
48
}
49
50
return
(
start
);
51
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
_strrev
char *CDECL _strrev(char *s)
Definition:
strrev.c:16
start
GLuint start
Definition:
gl.h:1545
left
GLint left
Definition:
glext.h:7726
string
char string[160]
Definition:
util.h:11
sdk
lib
ucrt
string
strrev.c
Generated on Sun Mar 30 2025 06:14:53 for ReactOS by
1.9.6