diff options
author | araujo <araujo@FreeBSD.org> | 2015-08-13 02:31:23 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2015-08-13 02:31:23 +0000 |
commit | 2115d98b6b95b9077f77d06b950b9d525af100b3 (patch) | |
tree | 6b502efaf6d27cf18524a118b27366692fea05c3 /lib/libc/string | |
parent | f5e5570f14e676f97546118fad7fb19397274b2f (diff) | |
download | FreeBSD-src-2115d98b6b95b9077f77d06b950b9d525af100b3.zip FreeBSD-src-2115d98b6b95b9077f77d06b950b9d525af100b3.tar.gz |
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
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/bcopy.3 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/libc/string/bcopy.3 b/lib/libc/string/bcopy.3 index ede910b..19a71e1 100644 --- a/lib/libc/string/bcopy.3 +++ b/lib/libc/string/bcopy.3 @@ -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 . |