]> git.saurik.com Git - apple/libc.git/blobdiff - string/FreeBSD/bcmp.3.patch
Libc-498.tar.gz
[apple/libc.git] / string / FreeBSD / bcmp.3.patch
diff --git a/string/FreeBSD/bcmp.3.patch b/string/FreeBSD/bcmp.3.patch
new file mode 100644 (file)
index 0000000..d2bdbfb
--- /dev/null
@@ -0,0 +1,25 @@
+--- _SB/Libc/string/FreeBSD/bcmp.3     2004-11-25 11:38:46.000000000 -0800
++++ _SB/Libc/string/FreeBSD/bcmp.3.edit        2006-06-28 16:55:53.000000000 -0700
+@@ -45,18 +45,18 @@
+ .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