zephyr::raw

Function sys_slist_get

source
pub unsafe extern "C" fn sys_slist_get(
    list: *mut _slist,
) -> *mut _snode
Expand description

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

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

@param list A pointer on the list to affect

@return A pointer to the first node of the list (or NULL if empty)