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


3.2.30 dll_tail

Get the data of the tail node of a list.

Synopsis

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

Parameters

DLinkList 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.