Next: dll_search, Previous: dll_prev, Up: Doubly Linked Lists
Get a handle to the node preceding a given node in a list.
#include <linklist/linklist.h>DLLNode dll_prev_node( DLinkList ull, DLLNode unode );
DLinkList ull
- the list which contains the node
DLLNode unode
- the following node
Get a handle to the node preceding a given node in a list.
It returns NULL
if there are no more nodes, else a handle to the node.