blob: 82fbc920c66e0bcbfbf634298ecaecda88f5e4ef (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* SPDX-License-Identifier: MIT */
/* Derived from musl libc (Copyright © 2005-2020 Rich Felker, et al.) */
#include <string.h>
char *strpbrk(const char *s, const char *b)
{
s += strcspn(s, b);
return *s ? (char *)s : 0;
}
|