git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003091401
[reactos.git]
/
lib
/
msvcrt
/
mbstring
/
mbspbrk.c
1
#include <msvcrt/mbstring.h>
2
/*
3
* 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
}