riot_sys

Function os_mqueue_get

Source
pub unsafe extern "C" fn os_mqueue_get(
    arg1: *mut os_mqueue,
) -> *mut os_mbuf
Expand description

Remove and return a single mbuf from the mbuf queue. Does not block.

@param mq The mbuf queue to pull an element off of.

@return The next mbuf in the queue, or NULL if queue has no mbufs.