musl-tcc/src/string/strpbrk.c

8 lines
118 B
C
Raw Normal View History

2022-03-20 04:48:53 -04:00
#include <string.h>
char *strpbrk(const char *s, const char *b)
{
s += strcspn(s, b);
return *s ? (char *)s : 0;
}