DESCRIPTION
The
insque()
and
remque()
functions encapsulate the ever-repeating task of doing insertion and
removal operations on doubly linked lists.
The functions expect their
arguments to point to a structure whose first and second members are
pointers to the next and previous element, respectively.
The
insque()
function also allows the
pred
argument to be a
NULL
pointer for the initialization of a new list's
head element.