Date: Sun, 30 Sep 2012 03:25:04 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241062 - head/lib/libc/string Message-ID: <201209300325.q8U3P4RJ050088@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sun Sep 30 03:25:04 2012 New Revision: 241062 URL: http://svn.freebsd.org/changeset/base/241062 Log: clarify the wording for 'first' and 'last' Approved by: wblock MFC after: 3 days Modified: head/lib/libc/string/ffs.3 Modified: head/lib/libc/string/ffs.3 ============================================================================== --- head/lib/libc/string/ffs.3 Sun Sep 30 03:21:21 2012 (r241061) +++ head/lib/libc/string/ffs.3 Sun Sep 30 03:25:04 2012 (r241062) @@ -30,7 +30,7 @@ .\" @(#)ffs.3 8.2 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd May 3, 2011 +.Dd September 29, 2012 .Dt FFS 3 .Os .Sh NAME @@ -63,8 +63,7 @@ The .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 @@ The .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209300325.q8U3P4RJ050088>