r6.1.0:lfds610_slist_get_head
Jump to navigation
Jump to search
Source Files
/liblfds610/src/lfds610_slist/lfds610_slist_get_and_set.c /liblfds610/inc/liblfds610.h
Prototype
struct lfds610_slist_element *lfds610_slist_get_head( struct lfds610_slist_state *ss, struct lfds610_slist_element **se );
Parameters
struct lfds610_slist_state *ss
- An slist state as allocated by lfds610_slist_new.
struct lfds610_slist_element **se
- A pointer to a pointer into which the slist element will be placed. Set to NULL if there are no elements.
Return Value
Returns a pointer to the current head element. Returns NULL if there are no elements.
Notes
No notes.