repo.or.cz
/
kugel-rb
/
myfork.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix red.
[kugel-rb/myfork.git]
/
apps
/
plugins
/
lua
/
strpbrk.c
blob
f416f391aeccde74f647b616155a9bf68b5197a6
1
#include
"rocklibc.h"
2
3
char
*
strpbrk
(
const char
*
s
,
const char
*
accept
) {
4
register
int
i
,
l
=
strlen
(
accept
);
5
for
(; *
s
;
s
++)
6
for
(
i
=
0
;
i
<
l
;
i
++)
7
if
(*
s
==
accept
[
i
])
8
return
(
char
*)
s
;
9
return
0
;
10
}