ReactOS 0.4.16-dev-306-g647d351
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 */
8int 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}
#define CDECL
Definition: compat.h:29
#define cs
Definition: i386-dis.c:442
#define towlower(c)
Definition: wctype.h:97
int CDECL _wcsicmp(const wchar_t *cs, const wchar_t *ct)
Definition: wcsicmp.c:8