man.bsd.lv manual page server

Manual Page Search Parameters
STRCAT(3) Library Functions Manual STRCAT(3)

strcatconcatenate strings

#include <string.h>

char *
strcat(char *s, const char *append);

char *
strncat(char *s, const char *append, size_t count);

The () and strncat() functions append a copy of the null-terminated string append to the end of the null-terminated string s, then add a terminating ‘\0’. The string s must have sufficient space to hold the result.

The () function appends not more than count characters.

The strcat() and strncat() functions return the pointer s.

bcopy(3), memccpy(3), memcpy(3), memmove(3), strcpy(3)

The strcat() and strncat() functions conform to ANSI X3.159-1989 (“ANSI C89”).

4.4BSD-Lite2 June 4, 1993 STRCAT(3)