Next: , Previous: dll_detach_node, Up: Doubly Linked Lists


3.2.11 dll_head

Get the data of the head node of a list.

Synopsis

     #include <linklist/linklist.h>
     
     
     
void *dll_head(DLinkList ull);

Parameters

DLinkList ull
the list in question

Description

Get the data of the head node of a list.

Returns

It returns the data of the head node of a list, NULL if the list is empty.