:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / msvcrt / wstring / wcsicmp.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
3 #include <msvcrt/ctype.h>
4 #include <msvcrt/string.h>
5
6
7 int _wcsicmp(const wchar_t* cs,const wchar_t * ct)  
8 {
9         while (towlower(*cs) == towlower(*ct))
10         {
11                 if (*cs == 0)
12                         return 0;
13                 cs++;
14                 ct++;
15         }
16         return towlower(*cs) - towlower(*ct);
17 }