Next: dll_head_node, Previous: dll_detach_node, Up: Doubly Linked Lists
Get the data of the head node of a list.
#include <linklist/linklist.h>void *dll_head(DLinkList ull);
DLinkList 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.