projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[CDMAKE][CTR] Fix strtok_s for empty strings. Part of Wine commit 4fa616c by Bernhard...
[reactos.git]
/
reactos
/
sdk
/
lib
/
crt
/
string
/
tcscmp.h
1
2
#include <tchar.h>
3
4
#if defined(_MSC_VER)
5
#pragma function(_tcscmp)
6
#endif
/* _MSC_VER */
7
8
int
_tcscmp
(
const
_TCHAR
*
s1
,
const
_TCHAR
*
s2
)
9
{
10
while
(*
s1
== *
s2
)
11
{
12
if
(*
s1
==
0
)
return
0
;
13
14
s1
++;
15
s2
++;
16
}
17
18
return
*
s1
- *
s2
;
19
}
20
21
/* EOF */