1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#if 0 #include <wchar.h> wchar_t * wcschr(const wchar_t * s, wchar_t c) { SIGNAL_SAFE(0); while (*s) { if (*s == c) { return (wchar_t*) s; } s++; } return NULL; } /* STDC(199409) */ #endif