man.bsd.lv manual page server

Manual Page Search Parameters

STRCAT(3) Library Functions Manual STRCAT(3)

strcatconcatenate two strings without bounds checking

#include <string.h>

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

The () function appends a copy of the NUL-terminated string append to the end of the NUL-terminated string dst, then adds a terminating ‘\0’.

No bounds checking is performed. If the buffer dst is not large enough to hold the result, subsequent memory will be damaged.

The strcat() function return the pointer dst.

strlcpy(3), wcscat(3), wcslcpy(3)

The strcat() function conforms to ANSI X3.159-1989 (“ANSI C89”).

The strcat() function first appeared in the Programmer's Workbench (PWB/UNIX) and was ported to Version 7 AT&T UNIX.

May 26, 2016 OpenBSD-7.0