node = RemHead(list)
D0 A0
struct Node *RemHead(struct List *);
Get a pointer to the head node and remove it from the list. Assembly programmers may prefer to use the REMHEAD macro from "exec/lists.i". The REMHEAD() macro from <exec/list_macros.h> is available for 'C' programmers.
This function does not arbitrate for access to the list. The calling Task must be the owner of the involved list.