zephyr::raw

Function sys_dlist_peek_head

source
pub unsafe extern "C" fn sys_dlist_peek_head(
    list: *mut _dnode,
) -> *mut _dnode
Expand description

@brief get a reference to the head item in the list

@param list the doubly-linked list to operate on

@return a pointer to the head element, NULL if list is empty