pub unsafe extern "C" fn sys_bitarray_test_bit(
bitarray: *mut sys_bitarray_t,
bit: usize,
val: *mut c_int,
) -> c_intExpand description
Test whether a bit is set or not
@param[in] bitarray Bitarray struct @param[in] bit The bit to be tested @param[out] val The value of the bit (0 or 1)
@retval 0 Operation successful @retval -EINVAL Invalid argument (e.g. bit to test exceeds the number of bits in bit array, etc.)