zephyr::raw

Function sys_slist_remove

source
pub unsafe extern "C" fn sys_slist_remove(
    list: *mut _slist,
    prev_node: *mut _snode,
    node: *mut _snode,
)
Expand description

@brief Remove a node

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

@param list A pointer on the list to affect @param prev_node A pointer on the previous node (can be NULL, which means the node is the list’s head) @param node A pointer on the node to remove