diff options
author | aaron <> | 2000-04-21 15:24:20 +0000 |
---|---|---|
committer | aaron <> | 2000-04-21 15:24:20 +0000 |
commit | 9fb35611cc3d03bef8b690b62e0904507c414a61 (patch) | |
tree | cbb158a96fec3a91f1d59c3e9f768b10d6ed872e /src/lib/libc/string/ffs.3 | |
parent | a4336f357f9e30dffdfad4909b24bd2e82c096a2 (diff) | |
download | openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.tar.gz openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.tar.bz2 openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.zip |
Flesh out libc string function man pages.
Diffstat (limited to 'src/lib/libc/string/ffs.3')
-rw-r--r-- | src/lib/libc/string/ffs.3 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libc/string/ffs.3 b/src/lib/libc/string/ffs.3 index 9ef08aef8e..dc7a20741e 100644 --- a/src/lib/libc/string/ffs.3 +++ b/src/lib/libc/string/ffs.3 | |||
@@ -31,7 +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 | .\" $OpenBSD: ffs.3,v 1.2 1996/08/19 08:34:01 tholo Exp $ | 34 | .\" $OpenBSD: ffs.3,v 1.3 2000/04/21 15:24:19 aaron Exp $ |
35 | .\" | 35 | .\" |
36 | .Dd April 19, 1991 | 36 | .Dd April 19, 1991 |
37 | .Dt FFS 3 | 37 | .Dt FFS 3 |
@@ -46,12 +46,10 @@ | |||
46 | .Sh DESCRIPTION | 46 | .Sh DESCRIPTION |
47 | The | 47 | The |
48 | .Fn ffs | 48 | .Fn ffs |
49 | function | 49 | function finds the first bit set in |
50 | finds the first bit set in | ||
51 | .Fa value | 50 | .Fa value |
52 | and returns the index of that bit. | 51 | and returns the index of that bit. |
53 | Bits are numbered starting from 1, starting at the right-most | 52 | Bits are numbered starting from 1, starting at the rightmost bit. |
54 | bit. | ||
55 | A return value of 0 means that the argument was zero. | 53 | A return value of 0 means that the argument was zero. |
56 | .Sh SEE ALSO | 54 | .Sh SEE ALSO |
57 | .Xr bitstring 3 | 55 | .Xr bitstring 3 |