sys_bitarray_set_bit

Function sys_bitarray_set_bit 

Source
pub unsafe extern "C" fn sys_bitarray_set_bit(
    bitarray: *mut sys_bitarray_t,
    bit: usize,
) -> c_int
Expand description

Set a bit in a bit array

@param[in] bitarray Bitarray struct @param[in] bit The bit to be set

@retval 0 Operation successful @retval -EINVAL Invalid argument (e.g. bit to set exceeds the number of bits in bit array, etc.)