Next: , Previous: , Up: Strings   [Contents][Index]


5.20 strcat—concatenate strings

Synopsis

#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
This function returns the initial value of dst


Portability
strcat is ANSI C.

strcat requires no supporting OS subroutines.