blob: 2bc2c2702c928cbbf4dad9188598c4b16c05f646 [file] [log] [blame]
#include <wchar.h>
wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n)
{
for (; n && *s != c; n--, s++);
return n ? (wchar_t *)s : 0;
}