summaryrefslogtreecommitdiff
path: root/src/string/strpbrk.c
blob: 55947c641b869f7f75a6ce8aa8f3110aedb70832 (plain) (blame)
1
2
3
4
5
6
7
#include <string.h>

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