STRCAT - append a string to another.

(ANSI Standard)


#include <string.h>
ptr = strcat( s1, s2 );


char *s1;
points to a string terminated by the usual '\0'.
const char *s2;
points to a string that will be appended to "s1".
char *ptr;
points to the new string ("s1").


"strcat" appends a copy of the string "s2" to the end of the string "s1". Both strings "s1" and "s2" must be terminated by the usual '\0' character.

Copyright 1996, Thinkage Ltd.