projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix invalid library phdr pointers passed to callback from dl_iterate_phdr
[musl]
/
src
/
string
/
wmemcmp.c
1
#include <string.h>
2
#include <wchar.h>
3
4
int wmemcmp(const wchar_t *l, const wchar_t *r, size_t n)
5
{
6
for (; n && *l==*r; n--, l++, r++);
7
return n ? *l-*r : 0;
8
}