zephyr::raw

Function sys_dlist_is_head

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

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

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

@return true if node is the head, false otherwise