Next: sll_head, Previous: sll_detach_head_node, Up: Singly Linked Lists
Remove a node from a singly linked list.
#include <linklist/linklist.h>void sll_detach_node( SLinkList ull, SLLNode unode );
SLinkList ull
- the list from which to detach the node
SLLNode unode
- the node to detach
This routine removes a node from a list without destroying it. The user is responsible for its subsequent care.
It returns a handle for the detached node.