mirror of
https://github.com/fluencelabs/musl
synced 2025-06-14 15:31:42 +00:00
initial check-in, version 0.5.0
This commit is contained in:
7
src/string/wcsncmp.c
Normal file
7
src/string/wcsncmp.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <wchar.h>
|
||||
|
||||
int wcsncmp(const wchar_t *l, const wchar_t *r, size_t n)
|
||||
{
|
||||
for (; n && *l==*r && *l && *r; l++, r++);
|
||||
return n ? *l - *r : 0;
|
||||
}
|
Reference in New Issue
Block a user