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