ReactOS  0.4.15-dev-1197-g8081ba9
wcsicmp.c
Go to the documentation of this file.
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 
3 #include <precomp.h>
4 
5 /*
6  * @implemented
7  */
8 int CDECL _wcsicmp(const wchar_t* cs,const wchar_t * ct)
9 {
10  while (towlower(*cs) == towlower(*ct))
11  {
12  if (*cs == 0)
13  return 0;
14  cs++;
15  ct++;
16  }
17  return towlower(*cs) - towlower(*ct);
18 }
int CDECL _wcsicmp(const wchar_t *cs, const wchar_t *ct)
Definition: wcsicmp.c:8
uint32_t cs
Definition: isohybrid.c:75
#define CDECL
Definition: compat.h:29
#define towlower(c)
Definition: wctype.h:97