Loading...
--- Libc/Libc-498/string/bcmp.3
+++ Libc/Libc-262/string/bcmp.3
@@ -32,7 +32,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)bcmp.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/string/bcmp.3,v 1.10 2003/09/08 19:57:15 ru 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
@@ -43,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
@@ -72,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.