STRCAT(3) BSD Programmer's Manual STRCAT(3) NNAAMMEE ssttrrccaatt - concatenate strings SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttrriinngg..hh>> _c_h_a_r _* ssttrrccaatt(_c_h_a_r _*_s, _c_o_n_s_t _c_h_a_r _*_a_p_p_e_n_d); _c_h_a_r _* ssttrrnnccaatt(_c_h_a_r _*_s, _c_o_n_s_t _c_h_a_r _*_a_p_p_e_n_d, _s_i_z_e___t _c_o_u_n_t); DDEESSCCRRIIPPTTIIOONN The ssttrrccaatt() and ssttrrnnccaatt() functions append a copy of the null-terminated string _a_p_p_e_n_d to the end of the null-terminated string _s, then add a ter- minating `\0'. The string _s must have sufficient space to hold the re- sult. The ssttrrnnccaatt() function appends not more than _c_o_u_n_t characters. RREETTUURRNN VVAALLUUEESS The ssttrrccaatt() and ssttrrnnccaatt() functions return the pointer _s. SSEEEE AALLSSOO bcopy(3), memccpy(3), memcpy(3), memmove(3), strcpy(3) SSTTAANNDDAARRDDSS The ssttrrccaatt() and ssttrrnnccaatt() functions conform to ANSI C X3.159-1989 (``ANSI C ''). 4.4BSD June 4, 1993 1