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


3.1.22 sll_next_node

Get a handle to the node following a given node in a list.

Synopsis

     #include <linklist/linklist.h>
     
     
     
SLLNode sll_next_node( SLinkList ull, SLLNode unode );

Parameters

SLinkList ull
the list which contains the node
SLLNode unode
the preceding node

Description

Get a handle to the node following a given node in a list.

Returns

It returns NULL if there are no more nodes, else a handle to the node.