[Midnightbsd-cvs] src [8146] trunk/lib/libc/string/ffs.3: make more clear

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Sep 16 18:15:17 EDT 2016


Revision: 8146
          http://svnweb.midnightbsd.org/src/?rev=8146
Author:   laffer1
Date:     2016-09-16 18:15:16 -0400 (Fri, 16 Sep 2016)
Log Message:
-----------
make more clear

Modified Paths:
--------------
    trunk/lib/libc/string/ffs.3

Modified: trunk/lib/libc/string/ffs.3
===================================================================
--- trunk/lib/libc/string/ffs.3	2016-09-16 22:14:46 UTC (rev 8145)
+++ trunk/lib/libc/string/ffs.3	2016-09-16 22:15:16 UTC (rev 8146)
@@ -30,7 +30,7 @@
 .\"     @(#)ffs.3	8.2 (Berkeley) 4/19/94
 .\" $MidnightBSD$
 .\"
-.Dd May 3, 2011
+.Dd September 29, 2012
 .Dt FFS 3
 .Os
 .Sh NAME
@@ -63,8 +63,7 @@
 .Fn ffsl
 and
 .Fn ffsll
-functions find the first bit set
-(beginning with the least significant bit)
+functions find the first (least significant) bit set
 in
 .Fa value
 and return the index of that bit.
@@ -74,11 +73,11 @@
 .Fn flsl
 and
 .Fn flsll
-functions find the last bit set in
+functions find the last (most significant) bit set in
 .Fa value
 and return the index of that bit.
 .Pp
-Bits are numbered starting at 1 (the least significant bit).
+Bits are numbered starting at 1, the least significant bit.
 A return value of zero from any of these functions means that the
 argument was zero.
 .Sh SEE ALSO



More information about the Midnightbsd-cvs mailing list