diff options
author | eadler <eadler@FreeBSD.org> | 2012-09-30 03:25:04 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-09-30 03:25:04 +0000 |
commit | 02d21d96e04f7c4cceeb0ecefa0ad9e15f450683 (patch) | |
tree | 8f2fa9bae135a4a12ea7bfd79882845f3cf6b5be /lib | |
parent | 525250e187de68181726977dc543a6b03c2552fa (diff) | |
download | FreeBSD-src-02d21d96e04f7c4cceeb0ecefa0ad9e15f450683.zip FreeBSD-src-02d21d96e04f7c4cceeb0ecefa0ad9e15f450683.tar.gz |
clarify the wording for 'first' and 'last'
Approved by: wblock
MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/string/ffs.3 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/string/ffs.3 b/lib/libc/string/ffs.3 index bf6f5f5..d8e11d8 100644 --- a/lib/libc/string/ffs.3 +++ b/lib/libc/string/ffs.3 @@ -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 |