musl-tcc/src/string/wcspbrk.c

8 lines
132 B
C
Raw Permalink Normal View History

2022-03-20 08:48:53 +00: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;
}