Next: sll_head_node, Previous: sll_detach_node, Up: Singly Linked Lists
Get the data of the head node of a list.
#include <linklist/linklist.h>void *sll_head(SLinkList ull);
SLinkList ull
- the list in question
Get the data of the head node of a list.
It returns the data of the head node of a list, NULL
if the list
is empty.