zephyr::raw

Function sys_slist_merge_slist

source
pub unsafe extern "C" fn sys_slist_merge_slist(
    list: *mut _slist,
    list_to_append: *mut _slist,
)
Expand description

@brief merge two slists, appending the second one to the first

When the operation is completed, the appending list is empty. This and other sys_slist_*() functions are not thread safe.

@param list A pointer on the list to affect @param list_to_append A pointer to the list to append.