Loading...
string/bcmp.3 Libc-763.13 Libc-262.3.2
--- Libc/Libc-763.13/string/bcmp.3
+++ Libc/Libc-262.3.2/string/bcmp.3
@@ -11,6 +11,10 @@
 .\" 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.
@@ -28,7 +32,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)bcmp.3	8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/string/bcmp.3,v 1.11 2007/01/09 00:28:11 imp Exp $
+.\" $FreeBSD: src/lib/libc/string/bcmp.3,v 1.8 2001/10/01 16:09:00 ru Exp $
 .\"
 .Dd June 4, 1993
 .Dt BCMP 3
@@ -39,20 +43,20 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In strings.h
+.In string.h
 .Ft int
-.Fn bcmp "const void *s1" "const void *s2" "size_t n"
+.Fn bcmp "const void *b1" "const void *b2" "size_t len"
 .Sh DESCRIPTION
 The
 .Fn bcmp
 function
 compares byte string
-.Fa s1
+.Fa b1
 against byte string
-.Fa s2 ,
+.Fa b2 ,
 returning zero if they are identical, non-zero otherwise.
 Both strings are assumed to be
-.Fa n
+.Fa len
 bytes long.
 Zero-length strings are always identical.
 .Pp
@@ -68,10 +72,3 @@
 .Fn bcmp
 function first 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.