zephyr::raw

Function k_queue_prepend

source
pub unsafe extern "C" fn k_queue_prepend(
    queue: *mut k_queue,
    data: *mut c_void,
)
Expand description

@brief Prepend an element to a queue.

This routine prepends a data item to @a queue. A queue data item must be aligned on a word boundary, and the first word of the item is reserved for the kernel’s use.

@funcprops \isr_ok

@param queue Address of the queue. @param data Address of the data item.