xref: /reactos/sdk/lib/crt/wstring/wcsicmp.c (revision 40462c92)
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 }
19