scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1.TH strncat 3 scc\-VERSION
 2.SH NAME
 3strncat - concatenate a string with a bounded portion of another
 4.SH SYNOPSIS
 5#include <string.h>
 6
 7char *strncat(char *restrict s1, const char *restrict s2, size_t n)
 8.SH DESCRIPTION
 9The
10.BR strncat ()
11function appends at most
12.I n
13bytes from the array at
14.I s2
15to the end of the string at
16.IR s1 .
17Null bytes and any bytes after them in
18.I s2
19are not appended.
20.PP
21The first byte of
22.I s2
23replaces the terminating null byte of
24.IR s1 .
25.PP
26A null terminator is always written after the last appended character.
27When
28.I n
29is zero, nothing is appended to
30.IR s1 .
31Overlapping source and destination regions produce undefined behavior.
32.SH RETURN VALUE
33The
34.BR strncat ()
35function returns its first argument,
36.IR s1 .
37.SH STANDARDS
38ISO/IEC 9899:1999 Section 7.21.3.2