git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git]
/
lib
/
crtdll
/
wchar
/
wcsrev.c
1
#include <crtdll/wchar.h>
2
3
wchar_t * _wcsrev(wchar_t *s)
4
{
5
wchar_t *e;
6
wchar_t a;
7
e=s;
8
while (*e)
9
e++;
10
while (s<e) {
11
a=*s;
12
*s=*e;
13
*e=a;
14
s++;
15
e--;
16
}
17
return s;
18
}