projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
prepare move old cruft
[reactos.git]
/
reactos
/
lib
/
crtdll
/
old cruft
/
mbstring
/
mbspbrk.c
1
#include <msvcrt/mbstring.h>
2
/*
3
* FIXME not correct
4
*
5
* @implemented
6
*/
7
unsigned char
*
_mbspbrk
(
const unsigned char
*
s1
,
const unsigned char
*
s2
)
8
{
9
const char
*
scanp
;
10
int
c
,
sc
;
11
12
while
((
c
= *
s1
++) !=
0
)
13
{
14
for
(
scanp
=
s2
; (
sc
= *
scanp
++) !=
0
;)
15
if
(
sc
==
c
)
16
return
(
unsigned char
*)((
char
*)
s1
- (
char
*)
1
);
17
}
18
return
0
;
19
}