git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git]
/
lib
/
msvcrt
/
mbstring
/
mbspbrk.c
1
#include <msvcrt/mbstring.h>
2
3
// not correct
4
unsigned char * _mbspbrk(const unsigned char *s1, const unsigned char *s2)
5
{
6
const char *scanp;
7
int c, sc;
8
9
while ((c = *s1++) != 0)
10
{
11
for (scanp = s2; (sc = *scanp++) != 0;)
12
if (sc == c)
13
return (unsigned char *)((char *)s1 - (char *)1);
14
}
15
return 0;
16
}