summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/ffs.3
diff options
context:
space:
mode:
authoraaron <>2000-04-21 15:24:20 +0000
committeraaron <>2000-04-21 15:24:20 +0000
commit9fb35611cc3d03bef8b690b62e0904507c414a61 (patch)
treecbb158a96fec3a91f1d59c3e9f768b10d6ed872e /src/lib/libc/string/ffs.3
parenta4336f357f9e30dffdfad4909b24bd2e82c096a2 (diff)
downloadopenbsd-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.38
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
47The 47The
48.Fn ffs 48.Fn ffs
49function 49function finds the first bit set in
50finds the first bit set in
51.Fa value 50.Fa value
52and returns the index of that bit. 51and returns the index of that bit.
53Bits are numbered starting from 1, starting at the right-most 52Bits are numbered starting from 1, starting at the rightmost bit.
54bit.
55A return value of 0 means that the argument was zero. 53A 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