zephyr::raw

Function sys_dlist_get

source
pub unsafe extern "C" fn sys_dlist_get(
    list: *mut _dnode,
) -> *mut _dnode
Expand description

@brief get the first node in a list

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

@param list the doubly-linked list to operate on

@return the first node in the list, NULL if list is empty