blob: 4c1496e72d763531374c449ca8b9e87867c3465f [file] [log] [blame]
#include <wchar.h>
wchar_t* wcschr(const wchar_t* s, wchar_t c) {
if (!c)
return (wchar_t*)s + wcslen(s);
for (; *s && *s != c; s++)
;
return *s ? (wchar_t*)s : 0;
}