Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenstricmp.c
Go to the documentation of this file.
00001 #include <precomp.h> 00002 00003 /* 00004 * @implemented 00005 */ 00006 int 00007 _stricmp(const char *s1, const char *s2) 00008 { 00009 while (toupper(*s1) == toupper(*s2)) 00010 { 00011 if (*s1 == 0) 00012 return 0; 00013 s1++; 00014 s2++; 00015 } 00016 return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)(s2)); 00017 } 00018 00019 /* 00020 * @implemented 00021 */ 00022 int 00023 _strcmpi(const char *s1, const char *s2) 00024 { 00025 return _stricmp(s1,s2); 00026 } Generated on Fri May 25 2012 04:35:10 for ReactOS by
1.7.6.1
|