strcat()

NAME

strcat(), strncat() - concatenate strings

SYNOPSIS

#include <string.h>

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

DESCRIPTION

The strcat(3) and strncat(3) 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(3) function appends not more than count characters.

RETURN VALUES

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

SEE ALSO

bcopy(3)

memcpy(3)

memmove(3)

strcpy(3)