move old cruft
[reactos.git] / reactos / lib / crtdll / old cruft / mbstring / mbsspnp.c
1 #include <msvcrt/mbstring.h>
2
3 /*
4 * FIXME not correct
5 *
6 * @implemented
7 */
8 unsigned char * _mbsspnp(const unsigned char *s1, const unsigned char *s2)
9 {
10 const char *p = s1, *spanp;
11 char c, sc;
12
13 cont:
14 c = *p++;
15 for (spanp = s2; (sc = *spanp++) != 0;)
16 if (sc == c)
17 goto cont;
18 return (unsigned char *)p;
19 }