Next: , Previous: sll_head, Up: Singly Linked Lists


3.1.12 sll_head_node

Get a node handle to the head node of a list.

Synopsis

     #include <linklist/linklist.h>
     
     
     
SLLNode sll_head_node(SLinkList ull);

Parameters

SLinkList ull
the list in question

Description

Get a node handle to the head node of a list.

Returns

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