ReactOS
0.4.15-dev-8621-g4b051b9
wcsnicmp.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS system libraries
4
* FILE: lib/sdk/crt/wstring/wcsnicmp.c
5
* PURPOSE: Unknown
6
* PROGRAMER: Unknown
7
* UPDATE HISTORY:
8
* 25/11/05: Added license header
9
*/
10
11
#include <precomp.h>
12
13
/*
14
* @implemented
15
*/
16
int
CDECL
_wcsnicmp
(
const
wchar_t
*
cs
,
const
wchar_t
*ct,
size_t
count
)
17
{
18
if
(
count
== 0)
19
return
0;
20
do
{
21
if
(
towupper
(*
cs
) !=
towupper
(*ct++))
22
return
towupper
(*
cs
) -
towupper
(*--ct);
23
if
(*
cs
++ == 0)
24
break
;
25
}
while
(--
count
!= 0);
26
return
0;
27
}
CDECL
#define CDECL
Definition:
compat.h:29
count
GLuint GLuint GLsizei count
Definition:
gl.h:1545
cs
#define cs
Definition:
i386-dis.c:442
towupper
#define towupper(c)
Definition:
wctype.h:99
_wcsnicmp
int CDECL _wcsnicmp(const wchar_t *cs, const wchar_t *ct, size_t count)
Definition:
wcsnicmp.c:16
sdk
lib
crt
wstring
wcsnicmp.c
Generated on Sun Sep 8 2024 06:13:17 for ReactOS by
1.9.6