ReactOS
0.4.15-dev-8614-gbc76250
mbsrev.c
Go to the documentation of this file.
1
#include <mbstring.h>
2
3
/*
4
* @implemented
5
*/
6
unsigned
char
*
_mbsrev
(
unsigned
char
*
s
)
7
{
8
unsigned
char
*
e
;
9
unsigned
char
a
;
10
unsigned
char
*e2;
11
e
=
s
;
12
while
(*
e
) {
13
if
(
_ismbblead
(*
e
) ) {
14
a
= *
e
;
15
e2 =
e
;
16
*e2 = *++
e
;
17
if
( *
e
== 0 )
18
break
;
19
*
e
=
a
;
20
}
21
e
++;
22
}
23
while
(
s
<
e
) {
24
a
=*
s
;
25
*
s
=*
e
;
26
*
e
=
a
;
27
s
++;
28
e
--;
29
}
30
31
32
return
s
;
33
}
s
GLdouble s
Definition:
gl.h:2039
a
GLboolean GLboolean GLboolean GLboolean a
Definition:
glext.h:6204
e
#define e
Definition:
ke_i.h:82
a
#define a
Definition:
ke_i.h:78
_mbsrev
unsigned char * _mbsrev(unsigned char *s)
Definition:
mbsrev.c:6
_ismbblead
int __cdecl _ismbblead(unsigned int)
Definition:
ismblead.c:20
sdk
lib
crt
mbstring
mbsrev.c
Generated on Sat Sep 7 2024 06:13:07 for ReactOS by
1.9.6