lang-bootstrap/05/musl-final/src/string/strpbrk.c

8 lines
118 B
C
Raw Normal View History

2025-04-05 10:55:40 +01:00
#include <string.h>
char *strpbrk(const char *s, const char *b)
{
s += strcspn(s, b);
return *s ? (char *)s : 0;
}