zephyr::raw

Function sys_dlist_peek_next

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

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

@param list the doubly-linked list to operate on @param node the node from which to get the next element in the list

@return a pointer to the next element from a node, NULL if node is the tail or NULL (when node comes from reading the head of an empty list).