diff options
Diffstat (limited to 'src/lib/libc/string/ffs.3')
| -rw-r--r-- | src/lib/libc/string/ffs.3 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/string/ffs.3 b/src/lib/libc/string/ffs.3 index 6464bea2b1..dc7a20741e 100644 --- a/src/lib/libc/string/ffs.3 +++ b/src/lib/libc/string/ffs.3 | |||
| @@ -31,8 +31,7 @@ | |||
| 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 33 | .\" | 33 | .\" |
| 34 | .\" from: @(#)ffs.3 5.3 (Berkeley) 4/19/91 | 34 | .\" $OpenBSD: ffs.3,v 1.3 2000/04/21 15:24:19 aaron Exp $ |
| 35 | .\" $Id: ffs.3,v 1.1.1.1 1995/10/18 08:42:21 deraadt Exp $ | ||
| 36 | .\" | 35 | .\" |
| 37 | .Dd April 19, 1991 | 36 | .Dd April 19, 1991 |
| 38 | .Dt FFS 3 | 37 | .Dt FFS 3 |
| @@ -47,12 +46,10 @@ | |||
| 47 | .Sh DESCRIPTION | 46 | .Sh DESCRIPTION |
| 48 | The | 47 | The |
| 49 | .Fn ffs | 48 | .Fn ffs |
| 50 | function | 49 | function finds the first bit set in |
| 51 | finds the first bit set in | ||
| 52 | .Fa value | 50 | .Fa value |
| 53 | and returns the index of that bit. | 51 | and returns the index of that bit. |
| 54 | Bits are numbered starting from 1, starting at the right-most | 52 | Bits are numbered starting from 1, starting at the rightmost bit. |
| 55 | bit. | ||
| 56 | A return value of 0 means that the argument was zero. | 53 | A return value of 0 means that the argument was zero. |
| 57 | .Sh SEE ALSO | 54 | .Sh SEE ALSO |
| 58 | .Xr bitstring 3 | 55 | .Xr bitstring 3 |
