Appends a specified number of characters of one string to another string.
#include <string.h>
char *strncat (
char *dst,
const char *src,
size_t n);
(OUT) Points to the string to which to append the characters.
(IN) Points to the string containing the characters to append.
(IN) Specifies the maximum number of characters to append.
Returns the destination string.
The strncat function appends not more than n characters of the string pointed to by src to the end of the string pointed to by dst. The first character of src overwrites the NULL character at the end of dst. A null-terminating character is always appended to the result.