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


3.1.30 sll_tail

Get the data of the tail node of a list.

Synopsis

     #include <linklist/linklist.h>
     
     
     
void *sll_tail(SLinkList ull);

Parameters

SLinkList ull
the list in question

Description

Get the data of the tail node of a list.

Returns

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