summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/insque.3
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-07-26 04:20:24 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-07-26 04:20:24 +0000
commitfa1fe30b1fe1b2bfed4c301488524251cef68e9f (patch)
tree715ce9c90a438abe7189dde1f693b68f11c4bd12 /lib/libc/stdlib/insque.3
parent78f93c46ece7dafb7bf7307f5106e4521769c056 (diff)
- typos, punctuation, layout, macro tweaks
- break long lines ok jmc
Diffstat (limited to 'lib/libc/stdlib/insque.3')
-rw-r--r--lib/libc/stdlib/insque.318
1 files changed, 11 insertions, 7 deletions
diff --git a/lib/libc/stdlib/insque.3 b/lib/libc/stdlib/insque.3
index 33b193ca807..fb4f55112df 100644
--- a/lib/libc/stdlib/insque.3
+++ b/lib/libc/stdlib/insque.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: insque.3,v 1.5 2005/07/26 04:13:18 jaredy Exp $
+.\" $OpenBSD: insque.3,v 1.6 2005/07/26 04:20:23 jaredy Exp $
.\" Copyright (c) 1993 John Brezak
.\" All rights reserved.
.\"
@@ -52,11 +52,11 @@ and
manipulate queues built from doubly linked lists.
The queue can be either circular or linear.
Each element in the queue must be of the following form:
-.Bd -literal
+.Bd -literal -offset indent
struct qelem {
- struct qelem *q_forw;
- struct qelem *q_back;
- char q_data[];
+ struct qelem *q_forw;
+ struct qelem *q_back;
+ char q_data[];
};
.Ed
.Pp
@@ -77,7 +77,7 @@ The
function removes
.Fa elem
from the queue.
-.Sh DIAGNOSTICS
+.Pp
These functions are not atomic unless that machine architecture allows it.
.Sh SEE ALSO
.Xr queue 3
@@ -96,7 +96,11 @@ The
.Fn insque
and
.Fn remque
-functions are derived from the insque and remque instructions on a
+functions are derived from the
+.Li insque
+and
+.Li remque
+instructions on the
.Tn VAX .
They first appeared in
.Bx 4.2 .