mirror of https://github.com/mkerrisk/man-pages
s/strcat/strncat/ (a typo that changed the semantics in DESCRIPTION).
This commit is contained in:
parent
bf92b60051
commit
cd117d4875
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue