]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/bcmp.3.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / string / FreeBSD / bcmp.3.patch
1 --- _SB/Libc/string/FreeBSD/bcmp.3 2004-11-25 11:38:46.000000000 -0800
2 +++ _SB/Libc/string/FreeBSD/bcmp.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -45,18 +45,18 @@
4 .Sh SYNOPSIS
5 .In strings.h
6 .Ft int
7 -.Fn bcmp "const void *b1" "const void *b2" "size_t len"
8 +.Fn bcmp "const void *s1" "const void *s2" "size_t n"
9 .Sh DESCRIPTION
10 The
11 .Fn bcmp
12 function
13 compares byte string
14 -.Fa b1
15 +.Fa s1
16 against byte string
17 -.Fa b2 ,
18 +.Fa s2 ,
19 returning zero if they are identical, non-zero otherwise.
20 Both strings are assumed to be
21 -.Fa len
22 +.Fa n
23 bytes long.
24 Zero-length strings are always identical.
25 .Pp