mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
22 lines
330 B
C
22 lines
330 B
C
#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;
|
|
}
|