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


3.2.9 dll_detach_head_node

Detach the head node of a list.

Synopsis

     #include <linklist/linklist.h>
     
     
     
DLLNode dll_detach_head_node(DLinkList ull);

Parameters

DLinkList ull
the list in question

Description

This routine detaches the head node of a list from the list and returns a handle to the detached node.

Returns

It returns a handle to the node upon success, NULL on failure.