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

string.c
Go to the documentation of this file.
00001 #include <ctype.h>
00002 #include "wine/config.h"
00003 #include "wine/port.h"
00004 
00005 #ifndef HAVE_STRCASECMP
00006 
00007 #ifdef _stricmp
00008 # undef _stricmp
00009 #endif
00010 
00011 int _stricmp( const char *str1, const char *str2 )
00012 {
00013     const unsigned char *ustr1 = (const unsigned char *)str1;
00014     const unsigned char *ustr2 = (const unsigned char *)str2;
00015 
00016     while (*ustr1 && toupper(*ustr1) == toupper(*ustr2)) {
00017         ustr1++;
00018         ustr2++;
00019     }
00020     return toupper(*ustr1) - toupper(*ustr2);
00021 }
00022 #endif

Generated on Sun May 27 2012 04:17:49 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.