#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}
_ACRTIMP size_t __cdecl _mbslen(const unsigned char *)
_ACRTIMP int __cdecl _mbsncmp(const unsigned char *, const unsigned char *, size_t)
_ACRTIMP unsigned char *__cdecl _mbsinc(const unsigned char *)