strcat.3 - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
strcat.3 (626B)
---
1 .TH strcat 3
2 .SH NAME
3 strcat - concatenate two strings
4 .SH SYNOPSIS
5 #include <string.h>
6
7 char *strcat(char *restrict s1, const char *restrict s2)
8 .SH DESCRIPTION
9 The
10 .BR strcat ()
11 function appends a copy of the string
12 pointed to by
13 .I s2
14 (including the terminating null character)
15 to the end of the string pointed to by
16 .IR s1 .
17 .PP
18 The initial character of
19 .I s2
20 overwrites the null character
21 at the end of
22 .I s1
23 .PP
24 If copying takes place between objects that overlap,
25 the behaviour is undefined.
26 .SH RETURN VALUE
27 The
28 .BR strcat ()
29 function shall return the pointer
30 .IR s1 .
31 .SH STANDARDS
32 ISO/IEC 9899:1999 Section 7.21.3.1