1INSQUE(3)                  Library Functions Manual                  INSQUE(3)
2
3
4

NAME

6       insque, remque - insert/remove element from a queue
7

SYNOPSIS

9       struct qelem {
10            struct    qelem *q_forw;
11            struct    qelem *q_back;
12            char q_data[];
13       };
14
15       insque(elem, pred)
16       struct qelem *elem, *pred;
17
18       remque(elem)
19       struct qelem *elem;
20

DESCRIPTION

22       Insque  and  remque  manipulate  queues built from doubly linked lists.
23       Each element in the queue must in the form of ``struct qelem''.  Insque
24       inserts elem in a queue immediately after pred; remque removes an entry
25       elem from a queue.
26

SEE ALSO

28       ``VAX Architecture Handbook'', pp. 228-235.
29
30
31
324.2 Berkeley Distribution        May 20, 1986                        INSQUE(3)
Impressum