summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/insque.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libc/stdlib/insque.318
1 files changed, 11 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/insque.3 b/src/lib/libc/stdlib/insque.3
index 33b193ca80..fb4f55112d 100644
--- a/src/lib/libc/stdlib/insque.3
+++ b/src/lib/libc/stdlib/insque.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: insque.3,v 1.5 2005/07/26 04:13:18 jaredy Exp $ 1.\" $OpenBSD: insque.3,v 1.6 2005/07/26 04:20:23 jaredy Exp $
2.\" Copyright (c) 1993 John Brezak 2.\" Copyright (c) 1993 John Brezak
3.\" All rights reserved. 3.\" All rights reserved.
4.\" 4.\"
@@ -52,11 +52,11 @@ and
52manipulate queues built from doubly linked lists. 52manipulate queues built from doubly linked lists.
53The queue can be either circular or linear. 53The queue can be either circular or linear.
54Each element in the queue must be of the following form: 54Each element in the queue must be of the following form:
55.Bd -literal 55.Bd -literal -offset indent
56struct qelem { 56struct qelem {
57 struct qelem *q_forw; 57 struct qelem *q_forw;
58 struct qelem *q_back; 58 struct qelem *q_back;
59 char q_data[]; 59 char q_data[];
60}; 60};
61.Ed 61.Ed
62.Pp 62.Pp
@@ -77,7 +77,7 @@ The
77function removes 77function removes
78.Fa elem 78.Fa elem
79from the queue. 79from the queue.
80.Sh DIAGNOSTICS 80.Pp
81These functions are not atomic unless that machine architecture allows it. 81These functions are not atomic unless that machine architecture allows it.
82.Sh SEE ALSO 82.Sh SEE ALSO
83.Xr queue 3 83.Xr queue 3
@@ -96,7 +96,11 @@ The
96.Fn insque 96.Fn insque
97and 97and
98.Fn remque 98.Fn remque
99functions are derived from the insque and remque instructions on a 99functions are derived from the
100.Li insque
101and
102.Li remque
103instructions on the
100.Tn VAX . 104.Tn VAX .
101They first appeared in 105They first appeared in
102.Bx 4.2 . 106.Bx 4.2 .