strncat()

Syntax
  #include <string.h>

  
  char *strncat(char *p, const char *q, size_t n);

  
Description

strncat() appends string q to string p. If q contains more than n characters, only the first n characters of q are appended to p. The two strings and the result all are zero-terminated.

Return

p

See also

strcat()