ReactOS
0.4.16-dev-1946-g52006dd
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
count
GLuint GLuint GLsizei count
Definition:
gl.h:1545
s
GLdouble s
Definition:
gl.h:2039
_tcsnlen
#define _tcsnlen
Definition:
tchar.h:627
_TCHAR
char _TCHAR
Definition:
tchar.h:1392
str
const WCHAR * str
Definition:
rpc_transport.c:2696
sdk
lib
crt
string
tcsnlen.h
Generated on Thu Dec 4 2025 06:15:35 for ReactOS by
1.9.6