1570af302Sopenharmony_ci#include <wchar.h>
2570af302Sopenharmony_ci
3570af302Sopenharmony_ciwchar_t *wcschr(const wchar_t *s, wchar_t c)
4570af302Sopenharmony_ci{
5570af302Sopenharmony_ci	if (!c) return (wchar_t *)s + wcslen(s);
6570af302Sopenharmony_ci	for (; *s && *s != c; s++);
7570af302Sopenharmony_ci	return *s ? (wchar_t *)s : 0;
8570af302Sopenharmony_ci}
9