strcpy.3: Add some text to emphasize possibility of buffer runs with strcpy()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-07-18 16:20:55 +02:00
parent cd90222a3a
commit 50a24bbcde
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ including the terminating null byte (\(aq\\0\(aq),
to the buffer pointed to by \fIdest\fP.
The strings may not overlap, and the destination string
\fIdest\fP must be large enough to receive the copy.
.IR "Beware of buffer overruns!"
(See BUGS.)
.PP
The
.BR strncpy ()