Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.

This commit is contained in:
Colin Finck 2017-10-03 07:45:34 +00:00
parent b94e2d8ca0
commit c2c66aff7d
24198 changed files with 0 additions and 37285 deletions

View file

@ -0,0 +1,23 @@
#include <mbstring.h>
#include <stdlib.h>
/*
* @implemented
*/
unsigned char *_mbsstr(const unsigned char *src1,const unsigned char *src2)
{
size_t len;
if (src2 ==NULL || *src2 == 0)
return (unsigned char *)src1;
len = _mbslen(src2);
while(*src1)
{
if ((*src1 == *src2) && (_mbsncmp(src1,src2,len) == 0))
return (unsigned char *)src1;
src1 = (unsigned char *)_mbsinc(src1);
}
return NULL;
}