Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmemicmp.c
Go to the documentation of this file.
00001 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ 00002 #include <precomp.h> 00003 00004 /* 00005 * @implemented 00006 */ 00007 int 00008 _memicmp(const void *s1, const void *s2, size_t n) 00009 { 00010 if (n != 0) 00011 { 00012 const unsigned char *p1 = s1, *p2 = s2; 00013 00014 do { 00015 if (toupper(*p1) != toupper(*p2)) 00016 return (*p1 - *p2); 00017 p1++; 00018 p2++; 00019 } while (--n != 0); 00020 } 00021 return 0; 00022 } Generated on Fri May 25 2012 04:34:55 for ReactOS by
1.7.6.1
|