#include <mbstring.h>
#include <stdlib.h>
Go to the source code of this file.
◆ _mbsstr()
Definition at line 7 of file mbsstr.c.
8{
10
11 if (src2 ==
NULL || *src2 == 0)
12 return (unsigned char *)src1;
13
15
16 while(*src1)
17 {
18 if ((*src1 == *src2) && (
_mbsncmp(src1,src2,
len) == 0))
19 return (unsigned char *)src1;
20 src1 = (
unsigned char *)
_mbsinc(src1);
21 }
23}
_Check_return_ _CRTIMP size_t __cdecl _mbslen(_In_z_ const unsigned char *_Str)
_Check_return_ _CRTIMP unsigned char *__cdecl _mbsinc(_In_z_ const unsigned char *_Ptr)
_Check_return_ _CRTIMP int __cdecl _mbsncmp(_In_z_ const unsigned char *_Str1, _In_z_ const unsigned char *_Str2, _In_ size_t _MaxCount)