aboutsummaryrefslogtreecommitdiff
path: root/src/string/strpbrk.c
blob: 144deb03c1e2c2c0f1c8491b4ceff92c4c9d903b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <string.h>

char *strpbrk(const char *s, const char *b)
{
	s += strcspn(s, b);
	return *s ? (char *)s : 0;
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif