diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2015-08-12 00:49:20 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2015-08-12 00:49:20 +0000 |
commit | f73a11dd1d9ae2b10cb3bb47fc795f5d7bfbadb2 (patch) | |
tree | 228cb547787ad9227b6f50b96ea99e3aa20b8a88 | |
parent | e2870cb59a3843b1fecb146e28e68d089d1c43fc (diff) |
Notes
-rw-r--r-- | lib/libc/string/bcopy.3 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/libc/string/bcopy.3 b/lib/libc/string/bcopy.3 index 1608fad2d79f..ede910b02a25 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 June 4, 1993 +.Dd August 11, 2015 .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 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 , |