r6.0.1:lfds601_slist_get_head

From liblfds.org
Revision as of 14:07, 4 January 2015 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

/liblfds601/src/lfds601_slist/lfds601_slist_get_and_set.c
/liblfds601/inc/liblfds601.h

Prototype

struct lfds601_slist_element *lfds601_slist_get_head( struct lfds601_slist_state *ss, struct lfds601_slist_element **se );

Parameters

struct lfds601_slist_state *ss

An slist state as allocated by lfds601_slist_new.

struct lfds601_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