insque(), remque() — insert or remove an element in a queue
void insque(void *element, void *pred);
void remque(void *element);
functions manipulate queues built from doubly-linked lists.
An application using these functions
must define a structure in which the first two members of the structure
are pointers to the same type of structure.
Any additional members of the structure are application specific.
The first two members of the structure are used for forward and backward
The names of the structure and of the pointers
are not subject to any restrictions.
function inserts the object pointed to by the
argument into a queue immediately after the object pointed to by the
function removes the object pointed to by the
argument from a queue.
were developed by HP and the University of California, Berkeley.