zephyr::raw

Function sys_sflist_get_not_empty

Source
pub unsafe extern "C" fn sys_sflist_get_not_empty(
    list: *mut _sflist,
) -> *mut _sfnode
Expand description

@brief Fetch and remove the first node of the given list

List must be known to be non-empty. This and other sys_sflist_*() functions are not thread safe.

@param list A pointer on the list to affect

@return A pointer to the first node of the list