zephyr::raw

Function k_queue_peek_head

Source
pub unsafe extern "C" fn k_queue_peek_head(
    queue: *mut k_queue,
) -> *mut c_void
Expand description

@brief Peek element at the head of queue.

Return element from the head of queue without removing it.

@param queue Address of the queue.

@return Head element, or NULL if queue is empty.