pub unsafe extern "C" fn sys_bitarray_test_bit(
bitarray: *mut sys_bitarray,
bit: usize,
val: *mut i32,
) -> i32Expand 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.)