Author: araujo
Date: Thu Aug 13 02:31:23 2015
New Revision: 286715
URL: https://svnweb.freebsd.org/changeset/base/286715

Log:
  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

Modified:
  head/lib/libc/string/bcopy.3

Modified: head/lib/libc/string/bcopy.3
==============================================================================
--- head/lib/libc/string/bcopy.3        Thu Aug 13 01:04:26 2015        
(r286714)
+++ head/lib/libc/string/bcopy.3        Thu Aug 13 02:31:23 2015        
(r286715)
@@ -31,7 +31,7 @@
 .\"     @(#)bcopy.3    8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd August 11, 2015
+.Dd August 13, 2015
 .Dt BCOPY 3
 .Os
 .Sh NAME
@@ -58,16 +58,14 @@ 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
+This function is obsolete (marked as LEGACY in
+POSIX.1-2001): please use
 .Xr memmove 3
 in new programs.
-Note that the first two arguments are
-interchanged for
-.Xr memcpy 3
-and
+Note that
+.Fn bcopy
+takes its src and dst arguments in the opposite
+order from
 .Xr memmove 3 .
 POSIX.1-2008 removes the specification of
 .Fn bcopy .
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to