Sign in
android
/
platform
/
external
/
musl
/
refs/heads/android13-d4-release
/
.
/
src
/
string
/
wcsncmp.c
blob: 4ab32a924c4657dadd98677d4771042f120f43c8 [
file
] [
log
] [
blame
] [
edit
]
#include
<wchar.h>
int
wcsncmp
(
const
wchar_t
*
l
,
const
wchar_t
*
r
,
size_t
n
)
{
for
(;
n
&&
*
l
==*
r
&&
*
l
&&
*
r
;
n
--,
l
++,
r
++);
return
n
?
*
l
-
*
r
:
0
;
}