projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reverted latest changes.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
wstring
/
wcsncmp.c
1
#include <msvcrt/wchar.h>
2
3
int
wcsncmp
(
const wchar_t
*
cs
,
const wchar_t
*
ct
,
size_t
count
)
4
{
5
while
((*
cs
) == (*
ct
) &&
count
>
0
)
6
{
7
if
(*
cs
==
0
)
8
return
0
;
9
cs
++;
10
ct
++;
11
count
--;
12
}
13
return
(*
cs
) - (*
ct
);
14
15
}
16