Synopsis
#include <string.h>
char *strcat(char *s1, const char *s2);
Description

strcat appends a copy of the string pointed to by s2 (including the terminating null character) to the end of the string pointed to by s1. The initial character of s2 overwrites the null character at the end of s1. The behaviour of strcat is undefined if copying takes place between objects that overlap.

strcat returns the value of s1.

Portability

strcat conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).