]> git.saurik.com Git - apple/libc.git/blobdiff - string/FreeBSD/bcmp.3
Libc-1081.1.3.tar.gz
[apple/libc.git] / string / FreeBSD / bcmp.3
index e6b18be3a88e10d4ec970fc5551461cba2bb2107..67f456b08944001a0f2b559f65ddca49283a0d24 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.
@@ -32,7 +28,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)bcmp.3     8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/string/bcmp.3,v 1.9 2002/08/30 21:07:40 robert Exp $
+.\" $FreeBSD: src/lib/libc/string/bcmp.3,v 1.11 2007/01/09 00:28:11 imp Exp $
 .\"
 .Dd June 4, 1993
 .Dt BCMP 3
 .Sh SYNOPSIS
 .In strings.h
 .Ft int
-.Fn bcmp "const void *b1" "const void *b2" "size_t len"
+.Fn bcmp "const void *s1" "const void *s2" "size_t n"
 .Sh DESCRIPTION
 The
 .Fn bcmp
 function
 compares byte string
-.Fa b1
+.Fa s1
 against byte string
-.Fa b2 ,
+.Fa s2 ,
 returning zero if they are identical, non-zero otherwise.
 Both strings are assumed to be
-.Fa len
+.Fa n
 bytes long.
 Zero-length strings are always identical.
 .Pp
@@ -73,9 +69,9 @@ A
 function first appeared in
 .Bx 4.2 .
 Its prototype existed previously in
-.Aq Pa string.h
+.In string.h
 before it was moved to
-.Aq Pa strings.h
+.In strings.h
 for
 .St -p1003.1-2001
 compliance.