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

strnicmp.c
Go to the documentation of this file.
00001 #include <precomp.h>
00002 
00003 /*
00004  * @implemented
00005  */
00006 int _strnicmp(const char *s1, const char *s2, size_t n)
00007 {
00008 
00009   if (n == 0)
00010     return 0;
00011   do {
00012     if (toupper(*s1) != toupper(*s2++))
00013       return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)--s2);
00014     if (*s1++ == 0)
00015       break;
00016   } while (--n != 0);
00017   return 0;
00018 }

Generated on Sat May 26 2012 04:35:36 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.