]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/ffs.3.patch
Libc-498.1.7.tar.gz
[apple/libc.git] / string / FreeBSD / ffs.3.patch
1 --- _SB/Libc/string/FreeBSD/ffs.3 2004-11-25 11:38:46.000000000 -0800
2 +++ _SB/Libc/string/FreeBSD/ffs.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -48,20 +48,20 @@
4 .Sh SYNOPSIS
5 .In strings.h
6 .Ft int
7 -.Fn ffs "int value"
8 +.Fn ffs "int i"
9 .Ft int
10 -.Fn ffsl "long value"
11 +.Fn ffsl "long i"
12 .Ft int
13 -.Fn fls "int value"
14 +.Fn fls "int i"
15 .Ft int
16 -.Fn flsl "long value"
17 +.Fn flsl "long i"
18 .Sh DESCRIPTION
19 The
20 .Fn ffs
21 and
22 .Fn ffsl
23 functions find the first bit set in
24 -.Fa value
25 +.Fa i
26 and return the index of that bit.
27 .Pp
28 The
29 @@ -69,7 +69,7 @@
30 and
31 .Fn flsl
32 functions find the last bit set in
33 -.Fa value
34 +.Fa i
35 and return the index of that bit.
36 .Pp
37 Bits are numbered starting from 1, starting at the right-most
38 @@ -93,7 +93,7 @@
39 .Pp
40 The
41 .Fn ffsl ,
42 -.Fn fls
43 +.Fn fls ,
44 and
45 .Fn flsl
46 functions appeared in