Function sys_dlist_is_tail

Source
pub unsafe extern "C" fn sys_dlist_is_tail(
    list: *mut sys_dlist_t,
    node: *mut sys_dnode_t,
) -> bool
Expand description

@brief check if a node is the list’s tail

@param list the doubly-linked list to operate on @param node the node to check

@return true if node is the tail, false otherwise