ReactOS
0.4.16-dev-814-g656a5dc
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
strcat.c
Go to the documentation of this file.
1
/***
2
*strcat.c - contains strcat() and strcpy()
3
*
4
* Copyright (c) Microsoft Corporation. All rights reserved.
5
*
6
*Purpose:
7
* Strcpy() copies one string onto another.
8
*
9
* Strcat() concatenates (appends) a copy of the source string to the
10
* end of the destination string, returning the destination string.
11
*
12
*******************************************************************************/
13
14
#include <string.h>
15
16
#ifndef _MBSCAT
17
#pragma function(strcat, strcpy)
18
#endif
19
20
/***
21
*char *strcat(dst, src) - concatenate (append) one string to another
22
*
23
*Purpose:
24
* Concatenates src onto the end of dest. Assumes enough
25
* space in dest.
26
*
27
*Entry:
28
* char *dst - string to which "src" is to be appended
29
* const char *src - string to be appended to the end of "dst"
30
*
31
*Exit:
32
* The address of "dst"
33
*
34
*Exceptions:
35
*
36
*******************************************************************************/
37
38
char
*
__cdecl
strcat
(
39
char
*
dst
,
40
const
char
*
src
41
)
42
{
43
char
*
cp
=
dst
;
44
45
while
( *
cp
)
46
cp
++;
/* find end of dst */
47
48
while
((*
cp
++ = *
src
++) !=
'\0'
) ;
/* Copy src to end of dst */
49
50
return
(
dst
);
/* return dst */
51
52
}
53
54
55
/***
56
*char *strcpy(dst, src) - copy one string over another
57
*
58
*Purpose:
59
* Copies the string src into the spot specified by
60
* dest; assumes enough room.
61
*
62
*Entry:
63
* char * dst - string over which "src" is to be copied
64
* const char * src - string to be copied over "dst"
65
*
66
*Exit:
67
* The address of "dst"
68
*
69
*Exceptions:
70
*******************************************************************************/
71
72
char
*
__cdecl
strcpy
(
char
*
dst
,
const
char
*
src
)
73
{
74
char
*
cp
=
dst
;
75
76
while
((*
cp
++ = *
src
++) !=
'\0'
)
77
;
/* Copy src over dst */
78
79
return
(
dst
);
80
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
src
GLenum src
Definition:
glext.h:6340
dst
GLenum GLenum dst
Definition:
glext.h:6340
cp
POINT cp
Definition:
magnifier.c:59
strcat
strcat
Definition:
string.h:92
strcpy
strcpy
Definition:
string.h:131
sdk
lib
ucrt
string
strcat.c
Generated on Thu Mar 13 2025 06:14:49 for ReactOS by
1.9.6