zephyr::raw

Function sys_slist_append_list

source
pub unsafe extern "C" fn sys_slist_append_list(
    list: *mut _slist,
    head: *mut c_void,
    tail: *mut c_void,
)
Expand description

@brief Append a list to the given list

Append a singly-linked, NULL-terminated list consisting of nodes containing the pointer to the next node as the first element of a node, to @a list. This and other sys_slist_*() functions are not thread safe.

FIXME: Why are the element parameters void *?

@param list A pointer on the list to affect @param head A pointer to the first element of the list to append @param tail A pointer to the last element of the list to append