1insque(3C)               Standard C Library Functions               insque(3C)
2
3
4

NAME

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

SYNOPSIS

9       include <search.h>
10
11       void insque(struct qelem *elem, struct qelem *pred);
12
13
14       void remque(struct qelem *elem);
15
16

DESCRIPTION

18       The insque() and remque() functions manipulate queues built from doubly
19       linked lists.  Each element in the queue must be in the following form:
20
21         struct qelem {
22                 struct qelem   *q_forw;
23                 struct qelem   *q_back;
24                 char           q_data[];
25         };
26
27
28
29       The insque() function inserts elem in a queue immediately  after  pred.
30       The remque() function removes an entry elem from a queue.
31

ATTRIBUTES

33       See attributes(5) for descriptions of the following attributes:
34
35
36
37
38       ┌─────────────────────────────┬─────────────────────────────┐
39       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
40       ├─────────────────────────────┼─────────────────────────────┤
41       │Interface Stability          │Standard                     │
42       ├─────────────────────────────┼─────────────────────────────┤
43       │MT-Level                     │Unsafe                       │
44       └─────────────────────────────┴─────────────────────────────┘
45

SEE ALSO

47       attributes(5), standards(5)
48
49
50
51SunOS 5.11                        24 Jul 2002                       insque(3C)
Impressum