fix wrong return value from wmemmove on forward copies
[musl] / src / string / wcspbrk.c
1 #include <wchar.h>
2
3 wchar_t *wcspbrk(const wchar_t *s, const wchar_t *b)
4 {
5         s += wcscspn(s, b);
6         return *s ? (wchar_t *)s : NULL;
7 }