ReactOS  0.4.14-dev-1007-g90d795b
wcsnicmp.c File Reference
#include <precomp.h>
Include dependency graph for wcsnicmp.c:

Go to the source code of this file.

Functions

int CDECL _wcsnicmp (const wchar_t *cs, const wchar_t *ct, size_t count)
 

Function Documentation

◆ _wcsnicmp()

int CDECL _wcsnicmp ( const wchar_t cs,
const wchar_t ct,
size_t  count 
)

Definition at line 16 of file wcsnicmp.c.

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 towupper(c)
Definition: wctype.h:99