wcspbrk.c - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) 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 }