reactos/sdk/lib/crt/mbstring/mbsspnp.c

22 lines
330 B
C
Raw Normal View History

#include <precomp.h>
#include <mbstring.h>
/*
* @implemented
*/
unsigned char *_mbsspnp (const unsigned char *str1, const unsigned char *str2)
{
int c;
while ((c = _mbsnextc (str1))) {
if (_mbschr (str2, c) == 0)
return (unsigned char *) str1;
str1 = _mbsinc ((unsigned char *) str1);
}
return 0;
}