ReactOS  0.4.15-dev-1171-gab82533
wcsnicmp.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS system libraries
4  * FILE: lib/sdk/crt/wstring/wcsnicmp.c
5  * PURPOSE: Unknown
6  * PROGRAMER: Unknown
7  * UPDATE HISTORY:
8  * 25/11/05: Added license header
9  */
10 
11 #include <precomp.h>
12 
13 /*
14  * @implemented
15  */
16 int CDECL _wcsnicmp (const wchar_t *cs, const wchar_t *ct, size_t count)
17 {
18  if (count == 0)
19  return 0;
20  do {
21  if (towupper(*cs) != towupper(*ct++))
22  return towupper(*cs) - towupper(*--ct);
23  if (*cs++ == 0)
24  break;
25  } while (--count != 0);
26  return 0;
27 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
uint32_t cs
Definition: isohybrid.c:75
#define CDECL
Definition: compat.h:29
#define towupper(c)
Definition: wctype.h:99
int CDECL _wcsnicmp(const wchar_t *cs, const wchar_t *ct, size_t count)
Definition: wcsnicmp.c:16