Difference between revisions of "r6:Function:slist get head"

From liblfds.org
Jump to navigation Jump to search
m (1 revision imported)
 
(No difference)

Latest revision as of 14:07, 4 January 2015

Source Files

/src/slist/slist_get_and_set.c
/inc/liblfds.h

Prototype

struct slist_element *slist_get_head( struct slist_state *ss, struct slist_element **se );

Parameters

struct slist_state *ss

An slist state as allocated by slist_new.

struct 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