strcat.3 (6cec9cad762b6476313fb1f8e931a1647822db6b) strcat.3 (50a717a67bc36ba6fb26b70476918f46b8ddf293)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 48 unchanged lines hidden (view full) ---

57.Fa append
58to the end of the null-terminated string
59.Fa s ,
60then add a terminating
61.Ql \e0 .
62The string
63.Fa s
64must have sufficient space to hold the result.
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 48 unchanged lines hidden (view full) ---

57.Fa append
58to the end of the null-terminated string
59.Fa s ,
60then add a terminating
61.Ql \e0 .
62The string
63.Fa s
64must have sufficient space to hold the result.
65If
66.Fa s
67and
68.Fa append
69overlap, the results are undefined.
65.Pp
66The
67.Fn strncat
68function
69appends not more than
70.Fa count
71characters from
72.Fa append ,
73and then adds a terminating
74.Ql \e0 .
70.Pp
71The
72.Fn strncat
73function
74appends not more than
75.Fa count
76characters from
77.Fa append ,
78and then adds a terminating
79.Ql \e0 .
80If
81.Fa s
82and
83.Fa append
84overlap, the results are undefined.
75.Sh RETURN VALUES
76The
77.Fn strcat
78and
79.Fn strncat
80functions
81return the pointer
82.Fa s .

--- 73 unchanged lines hidden ---
85.Sh RETURN VALUES
86The
87.Fn strcat
88and
89.Fn strncat
90functions
91return the pointer
92.Fa s .

--- 73 unchanged lines hidden ---