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


3.2.22 dll_next_node

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

Synopsis

     #include <linklist/linklist.h>
     
     
     
DLLNode dll_next_node( DLinkList ull, DLLNode unode );

Parameters

DLinkList ull
the list which contains the node
DLLNode 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.