1.TH strncat 3 scc\-VERSION2.SH NAME3strncat - concatenate a string with a bounded portion of another4.SH SYNOPSIS5#include <string.h>67char *strncat(char *restrict s1, const char *restrict s2, size_t n)8.SH DESCRIPTION9The10.BR strncat ()11function appends at most12.I n13bytes from the array at14.I s215to the end of the string at16.IR s1 .17Null bytes and any bytes after them in18.I s219are not appended.20.PP21The first byte of22.I s223replaces the terminating null byte of24.IR s1 .25.PP26A null terminator is always written after the last appended character.27When28.I n29is zero, nothing is appended to30.IR s1 .31Overlapping source and destination regions produce undefined behavior.32.SH RETURN VALUE33The34.BR strncat ()35function returns its first argument,36.IR s1 .37.SH STANDARDS38ISO/IEC 9899:1999 Section 7.21.3.2