]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/bcmp.3.patch
Libc-763.13.tar.gz
[apple/libc.git] / string / FreeBSD / bcmp.3.patch
1 --- bcmp.3.bsdnew 2009-11-18 18:24:31.000000000 -0800
2 +++ bcmp.3 2009-11-18 18:24:31.000000000 -0800
3 @@ -41,18 +41,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