DESCRIPTION
The ffs and ffsl functions find the first bit set in value and return the index of that bit. The fls and flsl functions find the last bit set in value and return the index of that bit.
Bits are numbered starting from 1, starting at the right-most (least significant) bit. A return value of zero from any of these functions means that the argument was zero.
SEE ALSO
bitstring(3)
HISTORY