projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add missing 'void' in prototypes of internal pthread functions
[musl]
/
src
/
string
/
wcsncmp.c
1
#include <wchar.h>
2
3
int wcsncmp(const wchar_t *l, const wchar_t *r, size_t n)
4
{
5
for (; n && *l==*r && *l && *r; n--, l++, r++);
6
return n ? *l - *r : 0;
7
}