scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

wcspbrk.c (168B)


      1 #include <wchar.h>
      2 
      3 #undef wcspbrk
      4 
      5 wchar_t *
      6 wcspbrk(const wchar_t *s1, const wchar_t *s2)
      7 {
      8 	s1 += wcscspn(s1, s2);
      9 	return (*s1 != L'\0') ? (wchar_t *) s1 : NULL;
     10 }