

strcat()                 String Function                 strcat()




Concatenate strings

#include <string.h>
cchhaarr *ssttrrccaatt(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2) cchhaarr *_s_t_r_i_n_g_1, *_s_t_r_i_n_g_2;

strcat appends all characters in string2 onto the end of string1.
It returns the modified string1.

***** Example *****

For  an  example  of this  function,  see  the  entry for  string
functions.

***** See Also *****

string functions, string.h, strncat()

***** Notes *****

string1 must  point to enough  space to hold  itself and string2;
otherwise, another portion of the program may be overwritten.



































COHERENT Lexicon                                           Page 1


