INSQUE(3-BSD) RISC/os Reference Manual INSQUE(3-BSD)
NAME
insque, remque - insert/remove element from a queue
SYNOPSIS
struct qelem {
struct qelem *qforw;
struct qelem *qback;
char qdata[];
};
insque(elem, pred)
struct qelem *elem, *pred;
remque(elem)
struct qelem *elem;
DESCRIPTION
insque and remque manipulate queues built from doubly linked
lists. Each element in the queue must in the form of
``struct qelem''. insque inserts elem in a queue immedi-
ately after pred; remque removes an entry elem from a queue.
Printed 1/15/91 Page 1