musl/src/string/wcspbrk.c

8 lines
132 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#include <wchar.h>
wchar_t *wcspbrk(const wchar_t *s, const wchar_t *b)
{
s += wcscspn(s, b);
return *s ? (wchar_t *)s : NULL;
}