Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmbsstr.c
Go to the documentation of this file.
00001 #include <mbstring.h> 00002 #include <stdlib.h> 00003 00004 /* 00005 * @implemented 00006 */ 00007 unsigned char *_mbsstr(const unsigned char *src1,const unsigned char *src2) 00008 { 00009 size_t len; 00010 00011 if (src2 ==NULL || *src2 == 0) 00012 return (unsigned char *)src1; 00013 00014 len = _mbslen(src2); 00015 00016 while(*src1) 00017 { 00018 if ((*src1 == *src2) && (_mbsncmp(src1,src2,len) == 0)) 00019 return (unsigned char *)src1; 00020 src1 = (unsigned char *)_mbsinc(src1); 00021 } 00022 return NULL; 00023 } Generated on Sat May 26 2012 04:35:28 for ReactOS by
1.7.6.1
|