ReactOS
0.4.15-dev-1632-g4e289ce
tcsncmp.h
Go to the documentation of this file.
1
2
#include <stddef.h>
3
#include <tchar.h>
4
5
#if defined(_MSC_VER) && defined(_M_ARM)
6
#pragma function(_tcsncmp)
7
#endif
/* _MSC_VER */
8
9
int
_tcsncmp
(
const
_TCHAR
*
s1
,
const
_TCHAR
*
s2
,
size_t
n
)
10
{
11
if
(
n
== 0)
return
0;
12
13
do
14
{
15
if
(*
s1
!= *
s2
++)
return
*
s1
- *--
s2
;
16
if
(*
s1
++ == 0)
break
;
17
}
18
while
(--
n
!= 0);
19
20
return
0;
21
}
22
23
/* EOF */
s2
struct S2 s2
n
GLdouble n
Definition:
glext.h:7729
_TCHAR
char _TCHAR
Definition:
tchar.h:1392
s1
struct S1 s1
_tcsncmp
int _tcsncmp(const _TCHAR *s1, const _TCHAR *s2, size_t n)
Definition:
tcsncmp.h:9
sdk
lib
crt
string
tcsncmp.h
Generated on Fri Jan 22 2021 06:09:55 for ReactOS by
1.8.15