ReactOS
0.4.16-dev-1946-g52006dd
Functions
wcsrev.cpp File Reference
#include <string.h>
Include dependency graph for wcsrev.cpp:
Go to the source code of this file.
Functions
wchar_t
*
__cdecl
_wcsrev
(
wchar_t
*
const
string
)
Function Documentation
◆
_wcsrev()
wchar_t
*
__cdecl
_wcsrev
(
wchar_t
*
const
string
)
Definition at line
13
of file
wcsrev.cpp
.
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
}
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
sdk
lib
ucrt
string
wcsrev.cpp
Generated on Thu Dec 4 2025 06:26:50 for ReactOS by
1.9.6