Don't claim that strncpy() is the same as strcpy().
PR: 29002 Submitted by: Joseph Mallett <jmallett@xMach.org>
This commit is contained in:
parent
5d88e21a2a
commit
df523897ea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79952
@ -53,10 +53,8 @@
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn strcpy
|
||||
and
|
||||
.Fn strncpy
|
||||
functions
|
||||
copy the string
|
||||
function
|
||||
copies the string
|
||||
.Fa src
|
||||
to
|
||||
.Fa dst
|
||||
@ -66,9 +64,11 @@ character).
|
||||
.Pp
|
||||
The
|
||||
.Fn strncpy
|
||||
copies not more than
|
||||
function copies not more than
|
||||
.Fa len
|
||||
characters into
|
||||
characters from
|
||||
.Fa src
|
||||
into
|
||||
.Fa dst ,
|
||||
appending
|
||||
.Ql \e0
|
||||
|
Loading…
Reference in New Issue
Block a user