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

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

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