repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix failure to flush stderr when fflush(0) is called
[musl.git]
/
src
/
string
/
strpbrk.c
blob
55947c641b869f7f75a6ce8aa8f3110aedb70832
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
}