r6.0.0:lfds600_slist_get_head

From liblfds.org
Jump to navigation Jump to search

Source Files

/liblfds600/src/lfds600_slist/lfds600_slist_get_and_set.c
/liblfds600/inc/liblfds600.h

Prototype

struct lfds600_slist_element *lfds600_slist_get_head( struct lfds600_slist_state *ss, struct lfds600_slist_element **se );

Parameters

struct lfds600_slist_state *ss

An slist state as allocated by lfds600_slist_new.

struct lfds600_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.

See Also