pub unsafe extern "C" fn bf_find_first_set(
field: *const u8,
size: size_t,
) -> c_int
Expand description
@brief Get the index of the first set bit in the field
@param[in] field The bitfield @param[in] size The number of bits in the bitfield
@return number of the first set bit @return -1 if no bit is set