:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / crtdll / string / str_old.c
1 /*
2  * string_old.c
3  *
4  * Oldnames from ANSI header string.h
5  *
6  * Some wrapper functions for those old name functions whose appropriate
7  * equivalents are not simply underscore prefixed.
8  *
9  * Contributors:
10  *  Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11  *
12  *  THIS SOFTWARE IS NOT COPYRIGHTED
13  *
14  *  This source code is offered for use in the public domain. You may
15  *  use, modify or distribute it freely.
16  *
17  *  This code is distributed in the hope that it will be useful but
18  *  WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
19  *  DISCLAMED. This includes but is not limited to warrenties of
20  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21  *
22  * $Revision$
23  * $Author$
24  * $Date$
25  *
26  */
27
28 #include <crtdll/string.h>
29 #include <crtdll/wchar.h>
30
31 int
32 strcasecmp (const char* sz1, const char* sz2)
33 {
34         return _stricmp (sz1, sz2);
35 }
36
37 int
38 strncasecmp     (const char* sz1, const char* sz2, size_t sizeMaxCompare)
39 {
40         return _strnicmp (sz1, sz2, sizeMaxCompare);
41 }
42
43 int
44 wcscmpi (const wchar_t* ws1, const wchar_t* ws2)
45 {
46         //return wcsicmp (ws1, ws2);
47         return 0;
48 }
49