Next: sll_next_node, Previous: sll_new, Up: Singly Linked Lists
Retrieve the data in the node following a given node in a list.
#include <linklist/linklist.h>void *sll_next( SLinkList ull, SLLNode unode );
SLinkList ull
- the list which contains the node
SLLNode unode
- the preceding node
Retrieve the data in the node following a given node in a list.
It returns NULL
if there are no more nodes, else a pointer to
the data.