zephyr::raw

Function sys_slist_find_and_remove

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

@brief Find and remove a node from a list

This and other sys_slist_*() functions are not thread safe.

@param list A pointer on the list to affect @param node A pointer on the node to remove from the list

@return true if node was removed