Skip to content

RemHead

snayaksnayak edited this page May 14, 2013 · 1 revision

NAME

RemHead - remove the head node from a list

SYNOPSIS

node = RemHead(list);
struct Node *RemHead(struct List *);

FUNCTION

Get a pointer to the head node and remove it from the list.

WARNING

This function does not arbitrate for access to the list.  The
calling task must be the owner of the involved list.

INPUTS

list - a pointer to the target list header

RESULT

node - the node removed or zero when empty list

SEE ALSO

[[AddHead]], [[AddTail]], [[Enqueue]], [[Insert]], [[Remove]], [[RemTail]]
Clone this wiki locally