Next: sll_detach_node, Previous: sll_destroy_node, Up: Singly Linked Lists
Detach the head node of a list.
#include <linklist/linklist.h>SLLNode sll_detach_head_node(SLinkList ull);
SLinkList ull
- the list in question
This routine detaches the head node of a list from the list and returns a handle to the detached node.
It returns a handle to the node upon success, NULL
on failure.