.TH strcat() "" "" "String Function (libc)"
.PC "Concatenate two strings"
.B "#include <string.h>"
\fBchar *strcat(\fIstring1\^\fB, \fIstring2\^\fB)\fR
\fBchar *\fIstring1\^\fB, *\fIstring2\^\fB;\fR
.PP
.B strcat()
appends all characters in
.I string2
onto the end of
.IR string1 .
It returns the modified
.IR string1 .
.SH Example
For an example of this function, see the entry for
.BR "string.h" .
.SH "See Also"
.Xr "libc," libc
.Xr "string.h," string.h
.Xr "strncat()" strncat
.br
\*(AS, \(sc7.11.3.2
.br
\*(PX Standard, \(sc8.1
.SH Notes
.I string1
must point to enough space to hold itself and
.IR string2 ;
otherwise, another portion of the program may be overwritten.
