Function sys_dlist_prepend

Source
pub unsafe extern "C" fn sys_dlist_prepend(
    list: *mut sys_dlist_t,
    node: *mut sys_dnode_t,
)
Expand description

@brief add node to head of list

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

@param list the doubly-linked list to operate on @param node the element to append