Sign in
android
/
platform
/
external
/
musl
/
3ea3fcf78a5532e118856846df8adbf3f60ef716
/
.
/
src
/
string
/
wcscmp.c
blob: 286ec3ea4028b3126722c6ebc582c3f36c0d5d6f [
file
] [
log
] [
blame
]
#include
<wchar.h>
int
wcscmp
(
const
wchar_t
*
l
,
const
wchar_t
*
r
)
{
for
(;
*
l
==*
r
&&
*
l
&&
*
r
;
l
++,
r
++);
return
*
l
<
*
r
?
-
1
:
*
l
>
*
r
;
}