Docs » Autodocs » exec.library » AddHead
AddHead -- insert node at the head of a list
AddHead(list, node) A0 A1 void AddHead(struct List *, struct Node *)
Add a node to the head of a doubly linked list. Assembly programmers may prefer to use the ADDHEAD macro from "exec/lists.i".
This function does not arbitrate for access to the list. The calling task must be the owner of the involved list.
list - a pointer to the target list header node - the node to insert at head
AddTail(), Enqueue(), Insert(), Remove(), RemHead(), RemTail()
|