Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenstring.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
1.7.6.1
|