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


3.1.31 sll_tail_node

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

Synopsis

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

Parameters

SLinkList ull
the list in question

Description

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

Returns

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