summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/insque.3
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2005-07-26 04:20:23 +0000
committerjaredy <jaredy@openbsd.org>2005-07-26 04:20:23 +0000
commit3f82fb3da07e31346647d4969604ae37e63dc8be (patch)
tree7b8b068ff9016c4e63493d1e85c05d88cecd9504 /lib/libc/stdlib/insque.3
parent- typos, grammar, punctuation, layout tweaks (diff)
downloadwireguard-openbsd-3f82fb3da07e31346647d4969604ae37e63dc8be.tar.xz
wireguard-openbsd-3f82fb3da07e31346647d4969604ae37e63dc8be.zip
- 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 .