slightly cleaner strlen, also seems to compile to better code
[musl] / src / string / strpbrk.c
1 #include <string.h>
2
3 char *strpbrk(const char *s, const char *b)
4 {
5         s += strcspn(s, b);
6         return *s ? (char *)s : 0;
7 }