Next: , Previous: dll_detach_head_node, Up: Doubly Linked Lists


3.2.10 dll_detach_node

Remove a node from a doubly linked list.

Synopsis

     #include <linklist/linklist.h>
     
     
     
void dll_detach_node( DLinkList ull, DLLNode unode );

Parameters

DLinkList ull
the list from which to detach the node
DLLNode unode
the node to detach

Description

This routine removes a node from a list without destroying it. The user is responsible for its subsequent care.

Returns

It returns a handle for the detached node.