[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        AddTail -- append node to tail of a list

   SYNOPSIS
        AddTail(list, node)
                A0    A1

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

   FUNCTION
        Add a node to the tail of a doubly linked list.  Assembly
        programmers may prefer to use the ADDTAIL macro from
        "exec/lists.i".

   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()