Function sys_dlist_get

Source
pub unsafe extern "C" fn sys_dlist_get(
    list: *mut sys_dlist_t,
) -> *mut sys_dnode_t
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