.\" Modified Sat Jul 24 18:11:47 1993 by Rik Faith (faith@cs.unc.edu)
.\" 2007-06-15, Marc Boyer <marc.boyer@enseeiht.fr> + mtk
.\" Improve discussion of strncat().
-.TH STRCAT 3 2011-09-28 "GNU" "Linux Programmer's Manual"
+.TH STRCAT 3 2012-05-10 "GNU" "Linux Programmer's Manual"
.SH NAME
strcat, strncat \- concatenate two strings
.SH SYNOPSIS
.BR strncat ()
function is similar, except that
.IP * 3
-it will use at most \fIn\fP characters from \fIsrc\fP; and
+it will use at most \fIn\fP bytes from \fIsrc\fP; and
.IP *
\fIsrc\fP does not need to be null-terminated if it contains
-\fIn\fP or more characters.
+\fIn\fP or more bytes.
.PP
As with
.BR strcat (),
the resulting string in \fIdest\fP is always null-terminated.
.PP
-If \fIsrc\fP contains \fIn\fP or more characters,
+If \fIsrc\fP contains \fIn\fP or more bytes,
.BR strncat ()
-writes \fIn+1\fP characters to \fIdest\fP (\fIn\fP
+writes \fIn+1\fP bytes to \fIdest\fP (\fIn\fP
from \fIsrc\fP plus the terminating null byte).
Therefore, the size of \fIdest\fP must be at least
\fIstrlen(dest)+n+1\fP.