zephyr::raw

Function k_msgq_num_used_get

source
pub unsafe extern "C" fn k_msgq_num_used_get(msgq: *mut k_msgq) -> u32
Expand description

@brief Get the number of messages in a message queue.

This routine returns the number of messages in a message queue’s ring buffer.

@param msgq Address of the message queue.

@return Number of messages.