projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
string
/
strpbrk.c
1
#include <string.h>
2
3
char *strpbrk(const char *s, const char *b)
4
{
5
s += strcspn(s, b);
6
return *s ? (char *)s : 0;
7
}