Page MenuHomeFreeBSD

D3358.id7887.diff
No OneTemporary

D3358.id7887.diff

Index: head/lib/libc/string/bcopy.3
===================================================================
--- head/lib/libc/string/bcopy.3
+++ head/lib/libc/string/bcopy.3
@@ -31,7 +31,7 @@
.\" @(#)bcopy.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd August 11, 2015
.Dt BCOPY 3
.Os
.Sh NAME
@@ -57,6 +57,20 @@
If
.Fa len
is zero, no bytes are copied.
+.Pp
+This function is deprecated (marked as LEGACY in
+POSIX.1-2001): use
+.Xr memcpy 3
+or
+.Xr memmove 3
+in new programs.
+Note that the first two arguments are
+interchanged for
+.Xr memcpy 3
+and
+.Xr memmove 3 .
+POSIX.1-2008 removes the specification of
+.Fn bcopy .
.Sh SEE ALSO
.Xr memccpy 3 ,
.Xr memcpy 3 ,

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 1:52 AM (7 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31878577
Default Alt Text
D3358.id7887.diff (703 B)

Event Timeline