pub unsafe extern "C" fn k_msgq_num_free_get(msgq: *mut k_msgq) -> u32
Expand description
@brief Get the amount of free space in a message queue.
This routine returns the number of unused entries in a message queue’s ring buffer.
@param msgq Address of the message queue.
@return Number of unused ring buffer entries.