From 32b87c5979a0e70994e4db65415ec0a2349c5618 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 1 Mar 2016 10:55:20 +0100 Subject: Add more man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/zlsb.3 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 man/zlsb.3 (limited to 'man/zlsb.3') diff --git a/man/zlsb.3 b/man/zlsb.3 new file mode 100644 index 0000000..57586ef --- /dev/null +++ b/man/zlsb.3 @@ -0,0 +1,32 @@ +.TH ZLSB 3 libzahl +.SH NAME +zlsb - Get the least set bit. +.SH SYNOPSIS +.nf +#include + +size_t zlsb(z_t \fIa\fP); +.fi +.SH DESCRIPTION +.B zlsb +gets the index of the bit of +lowest value that is set in +.IR a . +If +.I a +is zero, +.B SIZE_MAX +is returned. +.SH RETURN VALUE +The index of the least set bit in +.IR a , +or +.B SIZE_MAX +if +.I a +is zero. +.SH SEE ALSO +.BR zbits (3), +.BR zbtest (3), +.BR znot (3), +.BR zrsh (3) -- cgit v1.2.3-70-g09d2