Annotated edit history of
strcat(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
STRCAT |
|
|
2 |
!!!STRCAT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
strcat, strncat - concatenate two strings |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''dest''__, const char *__''src''__); |
|
|
19 |
char *strncat(char *__''dest''__, const char *__''src''__, size_t__ ''n''__); |
|
|
20 |
__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The __strcat()__ function appends the ''src'' string |
|
|
25 |
to the ''dest'' string overwriting the `0' character at |
|
|
26 |
the end of ''dest'', and then adds a terminating `0' |
|
|
27 |
character. The strings may not overlap, and the ''dest'' |
|
|
28 |
string must have enough space for the result. |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The __strncat()__ function is similar, except that only |
|
|
32 |
the first ''n'' characters of ''src'' are appended to |
|
|
33 |
''dest''. |
|
|
34 |
!!RETURN VALUE |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
The __strcat()__ and __strncat()__ functions return a |
|
|
38 |
pointer to the resulting string ''dest''. |
|
|
39 |
!!CONFORMING TO |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
SVID 3, POSIX, BSD 4.3, ISO 9899 |
|
|
43 |
!!SEE ALSO |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
bcopy(3), memccpy(3), memcpy(3), |
|
|
47 |
strcpy(3), strncpy(3) |
|
|
48 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.