SysTutorials

Man Pages › Section 3

strcat(3)

strcat, strncat – concatenate two strings

Synopsis

#include <string.h>

char *strcat(char *dest, const char *src);

char *strncat(char *dest, const char *src, size_t n);

Description

The strcat() function appends the src string to the dest string, overwriting the terminating null byte (‘