Remove the mention of memcpy(3) that is build on top of bcopy(3).
Fix some phrases to make it more clear. Differential Revision: D3378 Reported by: bde@ Reviewed by: wblock Approved by: bapt, rodrigc (mentor) Sponsored by: gandi.net
This commit is contained in:
parent
49114ce463
commit
9b71470214
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286715
@ -31,7 +31,7 @@
|
|||||||
.\" @(#)bcopy.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)bcopy.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd August 11, 2015
|
.Dd August 13, 2015
|
||||||
.Dt BCOPY 3
|
.Dt BCOPY 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -58,16 +58,14 @@ If
|
|||||||
.Fa len
|
.Fa len
|
||||||
is zero, no bytes are copied.
|
is zero, no bytes are copied.
|
||||||
.Pp
|
.Pp
|
||||||
This function is deprecated (marked as LEGACY in
|
This function is obsolete (marked as LEGACY in
|
||||||
POSIX.1-2001): use
|
POSIX.1-2001): please use
|
||||||
.Xr memcpy 3
|
|
||||||
or
|
|
||||||
.Xr memmove 3
|
.Xr memmove 3
|
||||||
in new programs.
|
in new programs.
|
||||||
Note that the first two arguments are
|
Note that
|
||||||
interchanged for
|
.Fn bcopy
|
||||||
.Xr memcpy 3
|
takes its src and dst arguments in the opposite
|
||||||
and
|
order from
|
||||||
.Xr memmove 3 .
|
.Xr memmove 3 .
|
||||||
POSIX.1-2008 removes the specification of
|
POSIX.1-2008 removes the specification of
|
||||||
.Fn bcopy .
|
.Fn bcopy .
|
||||||
|
Loading…
Reference in New Issue
Block a user