git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
05ec0f97153c3d0807ca355a9ebef52b935b8aad
[reactos.git]
/
lib
/
crtdll
/
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
}