Skip to content

AddTail

snayaksnayak edited this page May 14, 2013 · 2 revisions

NAME

AddTail - append node to tail of a list

SYNOPSIS

AddTail(list, node);
void AddTail(struct List *, struct Node *);

FUNCTION

Add a node to the tail of a doubly linked 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
node - a pointer to the node to insert at tail of the list

SEE ALSO

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