insque(3) Library Functions Manual insque(3)
Name
insque, remque - insert/remove element from a queue
Syntax
struct qelem {
struct qelem *q_forw;
struct qelem *q_back;
char q_data[];
};
void insque(elem, pred)
struct qelem *elem, *pred;
void remque(elem)
struct qelem *elem;
Description
The and subroutines manipulate queues built from doubly linked lists. Each element in the queue must in the form of ``struct qelem.'' The
subroutine inserts elem in a queue immediately after pred. The subroutine removes an entry elem from a queue.
insque(3)