Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenwcsnicmp.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS system libraries 00004 * FILE: lib/crt/?????? 00005 * PURPOSE: Unknown 00006 * PROGRAMER: Unknown 00007 * UPDATE HISTORY: 00008 * 25/11/05: Added license header 00009 */ 00010 00011 #include <precomp.h> 00012 00013 /* 00014 * @implemented 00015 */ 00016 int _wcsnicmp (const wchar_t *cs, const wchar_t *ct, size_t count) 00017 { 00018 if (count == 0) 00019 return 0; 00020 do { 00021 if (towupper(*cs) != towupper(*ct++)) 00022 return towupper(*cs) - towupper(*--ct); 00023 if (*cs++ == 0) 00024 break; 00025 } while (--count != 0); 00026 return 0; 00027 } Generated on Sun May 27 2012 04:36:47 for ReactOS by
1.7.6.1
|