s/strcat/strncat/ (a typo that changed the semantics in DESCRIPTION).

This commit is contained in:
Michael Kerrisk 2008-06-13 09:40:16 +00:00
parent bf92b60051
commit cd117d4875
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
.\" 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 2007-06-15 "GNU" "Linux Programmer's Manual"
.TH STRCAT 3 2008-06-13 "GNU" "Linux Programmer's Manual"
.SH NAME
strcat, strncat \- concatenate two strings
.SH SYNOPSIS
@ -61,7 +61,7 @@ As with
the resulting string in \fIdest\fP is always null terminated.
.PP
If \fIsrc\fP contains \fIn\fP or more characters,
.BR strcat ()
.BR strncat ()
writes \fIn+1\fP characters to \fIdest\fP (\fIn\fP
from \fIsrc\fP plus the terminating null byte).
Therefore, the size of \fIdest\fP must be at least