strcat, strncat - concatenate strings
Standard C Library (libc, -lc)
#include <string.h>
char *
strcat(char * restrict s, const char * restrict append);
char *
strncat(char * restrict s, const char * restrict append, size_t count);
The strcat() 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 strncat() 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), strlcat(3),
strlcpy(3)
The strcat() and strncat() functions conform to .
BSD June 4, 1993 BSD
[ Back ] |