RemHead

Removes the first node from a list.

Synopsis

Node *RemHead( List *l )

Description

This procedure removes the head (first) node from a list.

Arguments

l
A pointer to the list to be beheaded.

Return Value

The procedure returns a pointer to the node that was removed from the list or NULL if the list is empty.

Implementation

Folio call implemented in kernel folio V20.

Associated Files

list.h
ANSI C Prototype
clib.lib
ARM Link Library

See Also

AddHead(), AddTail(), InsertNodeFromTail(), RemNode(), RemTail()