git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git]
/
lib
/
crtdll
/
wchar
/
wcsncmp.c
1
#include <crtdll/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