ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

mbsstr.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.