mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
158 B
9 lines
158 B
|
15 years ago
|
#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;
|
||
|
|
}
|