musl-tcc/src/string/strpbrk.c

8 lines
118 B
C

#include <string.h>
char *strpbrk(const char *s, const char *b)
{
s += strcspn(s, b);
return *s ? (char *)s : 0;
}