]> git.saurik.com Git - apple/libc.git/blobdiff - string/bcopy.3
Libc-763.11.tar.gz
[apple/libc.git] / string / bcopy.3
index a239409ac3988d87e702652b9b3142ed26fa8183..e0371a4d181d7d583a0f3d00a3a061b23253df98 100644 (file)
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"    This product includes software developed by the University of
-.\"    California, Berkeley and its contributors.
 .\" 4. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
@@ -33,7 +29,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.10 2007/01/09 00:28:11 imp Exp $
 .\"
 .Dd June 4, 1993
 .Dt BCOPY 3
 .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 +68,10 @@ A
 .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.