Added a header I created a while ago when looking into irda support.
[reactos.git] / reactos / lib / crtdll / wchar / wcscmp.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
3 #include <crtdll/wchar.h>
4
5 int wcscmp(const wchar_t* cs,const wchar_t * ct)
6 {
7 while (*cs == *ct)
8 {
9 if (*cs == 0)
10 return 0;
11 cs++;
12 ct++;
13 }
14 return *cs - *ct;
15
16 }