wcschr.c (157B)
1 #include <wchar.h> 2 3 #undef wcschr 4 5 wchar_t * 6 wcschr(const wchar_t *s, wchar_t c) 7 { 8 while (*s && *s != c) 9 ++s; 10 return (*s == c) ? (wchar_t *) s : NULL; 11 }
![]() | sccsimple c99 compiler |
git clone git://git.simple-cc.org/scc | |
Log | Files | Refs | Submodules | README | LICENSE |