mirror of
https://github.com/fluencelabs/musl
synced 2025-06-29 22:51:55 +00:00
initial check-in, version 0.5.0
This commit is contained in:
8
src/string/wmemchr.c
Normal file
8
src/string/wmemchr.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
|
||||
wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n)
|
||||
{
|
||||
for (; n && *s != c; s++);
|
||||
return n ? (wchar_t *)s : 0;
|
||||
}
|
Reference in New Issue
Block a user