repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cuserid: support invocation with a null pointer argument
[musl.git]
/
src
/
string
/
wcscmp.c
blob
26eeee7045612335a311f0f3770d2cdb710dcca3
1
#include <wchar.h>
2
3
int
wcscmp
(
const wchar_t
*
l
,
const wchar_t
*
r
)
4
{
5
for
(; *
l
==*
r
&& *
l
&& *
r
;
l
++,
r
++);
6
return
*
l
- *
r
;
7
}