zephyr::raw

Function sys_dlist_peek_next_no_check

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

@brief get a reference to the next item in the list, node is not NULL

Faster than sys_dlist_peek_next() if node is known not to be NULL.

@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