Loading...
--- Libc/Libc-262/string/bcopy.3
+++ Libc/Libc-594.9.4/string/bcopy.3
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)bcopy.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/string/bcopy.3,v 1.7 2001/10/01 16:09:00 ru Exp $
+.\" $FreeBSD: src/lib/libc/string/bcopy.3,v 1.9 2003/09/08 19:57:15 ru Exp $
.\"
.Dd June 4, 1993
.Dt BCOPY 3
@@ -44,22 +44,22 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.In string.h
+.In strings.h
.Ft void
-.Fn bcopy "const void *src" "void *dst" "size_t len"
+.Fn bcopy "const void *s1" "void *s2" "size_t n"
.Sh DESCRIPTION
The
.Fn bcopy
function
copies
-.Fa len
+.Fa n
bytes from string
-.Fa src
+.Fa s1
to string
-.Fa dst .
+.Fa s2 .
The two strings may overlap.
If
-.Fa len
+.Fa n
is zero, no bytes are copied.
.Sh SEE ALSO
.Xr memccpy 3 ,
@@ -72,3 +72,10 @@
.Fn bcopy
function appeared in
.Bx 4.2 .
+Its prototype existed previously in
+.In string.h
+before it was moved to
+.In strings.h
+for
+.St -p1003.1-2001
+compliance.