ReactOS
0.4.15-dev-7108-g1cf6ce6
tcsnlen.h
Go to the documentation of this file.
1
2
#include <stddef.h>
3
#include <tchar.h>
4
5
size_t
__cdecl
_tcsnlen
(
const
_TCHAR
*
str
,
size_t
count
)
6
{
7
const
_TCHAR
*
s
;
8
9
if
(
str
== 0)
return
0;
10
11
for
(
s
=
str
; *
s
&&
count
; ++
s
, --
count
);
12
13
return
s
-
str
;
14
}
15
16
/* EOF */
__cdecl
#define __cdecl
Definition:
accygwin.h:79
s
GLdouble s
Definition:
gl.h:2039
count
GLuint GLuint GLsizei count
Definition:
gl.h:1545
_tcsnlen
#define _tcsnlen
Definition:
tchar.h:627
_TCHAR
char _TCHAR
Definition:
tchar.h:1392
str
const WCHAR * str
Definition:
rpc_transport.c:2724
sdk
lib
crt
string
tcsnlen.h
Generated on Sat Dec 2 2023 06:12:38 for ReactOS by
1.9.6