'\" t .\" Title: strncat .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Basic C Library Functions .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "STRNCAT" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Basic C Library Functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" strncat \- Append a length\-limited, C\-string to another .SH "SYNOPSIS" .HP \w'char\ *\ strncat('u .BI "char * strncat(char\ *\ " "dest" ", const\ char\ *\ " "src" ", size_t\ " "count" ");" .SH "ARGUMENTS" .PP \fIdest\fR .RS 4 The string to be appended to .RE .PP \fIsrc\fR .RS 4 The string to append to it .RE .PP \fIcount\fR .RS 4 The maximum numbers of bytes to copy .RE .SH "DESCRIPTION" .PP Note that in contrast to \fBstrncpy\fR, \fBstrncat\fR ensures the result is terminated\&. .SH "COPYRIGHT" .br