ReactOS 0.4.16-dev-300-g2aadf2e
mbsspnp.c File Reference
#include <precomp.h>
#include <mbstring.h>
Include dependency graph for mbsspnp.c:

Go to the source code of this file.

Functions

unsigned char_mbsspnp (const unsigned char *str1, const unsigned char *str2)
 

Function Documentation

◆ _mbsspnp()

unsigned char * _mbsspnp ( const unsigned char str1,
const unsigned char str2 
)

Definition at line 7 of file mbsspnp.c.

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