diff options
Diffstat (limited to 'man/zlsb.3')
| -rw-r--r-- | man/zlsb.3 | 32 |
1 files changed, 32 insertions, 0 deletions
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 <zahl.h> + +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) |
