summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/string/ffs.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/string/ffs.3 b/src/lib/libc/string/ffs.3
index 630db1c584..0b78fbfd33 100644
--- a/src/lib/libc/string/ffs.3
+++ b/src/lib/libc/string/ffs.3
@@ -27,9 +27,9 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.\" $OpenBSD: ffs.3,v 1.12 2025/10/24 11:30:06 claudio Exp $ 30.\" $OpenBSD: ffs.3,v 1.13 2025/11/06 17:19:11 schwarze Exp $
31.\" 31.\"
32.Dd $Mdocdate: October 24 2025 $ 32.Dd $Mdocdate: November 6 2025 $
33.Dt FFS 3 33.Dt FFS 3
34.Os 34.Os
35.Sh NAME 35.Sh NAME
@@ -48,12 +48,12 @@
48.Sh DESCRIPTION 48.Sh DESCRIPTION
49The 49The
50.Fn ffs , 50.Fn ffs ,
51.Fn ffsl 51.Fn ffsl ,
52and 52and
53.Fn ffsll 53.Fn ffsll
54functions find the first bit set in 54functions find the first bit set in
55.Fa value 55.Fa value
56and returns the index of that bit. 56and return the index of that bit.
57Bits are numbered starting from 1, starting at the rightmost bit. 57Bits are numbered starting from 1, starting at the rightmost bit.
58A return value of 0 means that the argument was zero. 58A return value of 0 means that the argument was zero.
59.Sh SEE ALSO 59.Sh SEE ALSO