ReactOS
0.4.15-dev-8614-gbc76250
tcsncat.h
Go to the documentation of this file.
1
2
#include <stddef.h>
3
#include <tchar.h>
4
5
_TCHAR
*
_tcsncat
(
_TCHAR
*
dst
,
const
_TCHAR
*
src
,
size_t
n
)
6
{
7
if
(
n
!= 0)
8
{
9
_TCHAR
*
d
=
dst
;
10
const
_TCHAR
*
s
=
src
;
11
12
while
(*
d
!= 0) ++
d
;
13
14
do
15
{
16
if
((*
d
= *
s
++) == 0)
break
;
17
18
++
d
;
19
}
20
while
(--
n
!= 0);
21
22
*
d
= 0;
23
}
24
25
return
dst
;
26
}
27
28
/* EOF */
s
GLdouble s
Definition:
gl.h:2039
n
GLdouble n
Definition:
glext.h:7729
src
GLenum src
Definition:
glext.h:6340
dst
GLenum GLenum dst
Definition:
glext.h:6340
_TCHAR
char _TCHAR
Definition:
tchar.h:1392
_tcsncat
#define _tcsncat
Definition:
tchar.h:1408
d
#define d
Definition:
ke_i.h:81
sdk
lib
crt
string
tcsncat.h
Generated on Sat Sep 7 2024 06:13:14 for ReactOS by
1.9.6