This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / lib / crtdll / wchar / wcsicmp.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
3 #include <crtdll/wchar.h>
4
5 int _wcsicmp(const wchar_t* cs,const wchar_t * ct)  
6 {
7         while (towlower(*cs) == towlower(*ct))
8         {
9                 if (*cs == 0)
10                         return 0;
11                 cs++;
12                 ct++;
13         }
14         return towlower(*cs) - towlower(*ct);
15         
16 }