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

mbsspn.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS system libraries
00004  * FILE:        lib/sdk/crt/mbstring/ismbpun.c
00005  * PURPOSE:
00006  * PROGRAMER:   
00007  * UPDATE HISTORY:
00008  *              05/30/08: Samuel Serapion adapted from PROJECT C Library
00009  *
00010  */
00011 
00012 #include <precomp.h>
00013 #include <mbstring.h>
00014 
00015 /*
00016  * @implemented
00017  */
00018 size_t _mbsspn (const unsigned char *str1, const unsigned char *str2)
00019 {
00020     int c;
00021     const unsigned char *save = str1;
00022 
00023     while ((c = _mbsnextc (str1))) {
00024 
00025     if (_mbschr (str2, c) == 0)
00026         break;
00027 
00028     str1 = _mbsinc ((unsigned char *) str1);
00029 
00030     }
00031 
00032     return str1 - save;
00033 }

Generated on Fri May 25 2012 04:34:55 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.