ReactOS 0.4.16-dev-300-g2aadf2e
mbsspnp.c
Go to the documentation of this file.
1#include <precomp.h>
2#include <mbstring.h>
3
4/*
5 * @implemented
6 */
7unsigned char *_mbsspnp (const unsigned char *str1, const unsigned char *str2)
8{
9 int c;
10
11 while ((c = _mbsnextc (str1))) {
12
13 if (_mbschr (str2, c) == 0)
14 return (unsigned char *) str1;
15
16 str1 = _mbsinc ((unsigned char *) str1);
17
18 }
19
20 return 0;
21}
const GLubyte * c
Definition: glext.h:8905
_Check_return_ _CRTIMP unsigned int __cdecl _mbsnextc(_In_z_ const unsigned char *_Str)
_Check_return_ _CRTIMP _CONST_RETURN unsigned char *__cdecl _mbschr(_In_z_ const unsigned char *_Str, _In_ unsigned int _Ch)
_Check_return_ _CRTIMP unsigned char *__cdecl _mbsinc(_In_z_ const unsigned char *_Ptr)
#define c
Definition: ke_i.h:80
unsigned char * _mbsspnp(const unsigned char *str1, const unsigned char *str2)
Definition: mbsspnp.c:7