Mark these obsolete as well.

This commit is contained in:
dholland 2012-05-05 21:24:19 +00:00
parent cf2f172048
commit d66ac51d84
2 changed files with 23 additions and 4 deletions

View File

@ -28,9 +28,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)bcmp.3 8.1 (Berkeley) 6/4/93
.\" $NetBSD: bcmp.3,v 1.13 2010/04/29 06:54:26 jruoho Exp $
.\" $NetBSD: bcmp.3,v 1.14 2012/05/05 21:24:19 dholland Exp $
.\"
.Dd April 29, 2010
.Dd May 5, 2012
.Dt BCMP 3
.Os
.Sh NAME
@ -57,6 +57,11 @@ bytes long.
Zero-length strings are always identical.
.Pp
The strings may overlap.
.Pp
This function is obsolete.
The equivalent function
.Xr memcmp 3
should be used instead.
.Sh SEE ALSO
.Xr memcmp 3 ,
.Xr strcasecmp 3 ,

View File

@ -29,9 +29,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)bcopy.3 8.1 (Berkeley) 6/4/93
.\" $NetBSD: bcopy.3,v 1.13 2010/04/29 07:27:30 wiz Exp $
.\" $NetBSD: bcopy.3,v 1.14 2012/05/05 21:24:19 dholland Exp $
.\"
.Dd April 29, 2010
.Dd May 5, 2012
.Dt BCOPY 3
.Os
.Sh NAME
@ -57,6 +57,20 @@ The two strings may overlap.
If
.Fa len
is zero, no bytes are copied.
.Pp
This function is obsolete.
The functions
.Xr memcpy 3
and/or
.Xr memmove 3
should be used instead.
Note that
.Fn bcopy
takes its
.Fa src
and
.Fa dst
arguments in the opposite order from these.
.Sh SEE ALSO
.Xr memccpy 3 ,
.Xr memcpy 3 ,