Next: strchr, Previous: strcasestr, Up: Strings
strcat
—concatenate strings#include <string.h> char *strcat(char *restrict dst, const char *restrict src);
Description
strcat
appends a copy of the string pointed to by src
(including the terminating null character) to the end of the
string pointed to by dst. The initial character of
src overwrites the null character at the end of dst.
Returns
Portability
strcat
is ANSI C.
strcat
requires no supporting OS subroutines.