diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libc/stdlib/insque.3 | 18 |
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 | |||
52 | manipulate queues built from doubly linked lists. | 52 | manipulate queues built from doubly linked lists. |
53 | The queue can be either circular or linear. | 53 | The queue can be either circular or linear. |
54 | Each element in the queue must be of the following form: | 54 | Each element in the queue must be of the following form: |
55 | .Bd -literal | 55 | .Bd -literal -offset indent |
56 | struct qelem { | 56 | struct 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 | |||
77 | function removes | 77 | function removes |
78 | .Fa elem | 78 | .Fa elem |
79 | from the queue. | 79 | from the queue. |
80 | .Sh DIAGNOSTICS | 80 | .Pp |
81 | These functions are not atomic unless that machine architecture allows it. | 81 | These 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 |
97 | and | 97 | and |
98 | .Fn remque | 98 | .Fn remque |
99 | functions are derived from the insque and remque instructions on a | 99 | functions are derived from the |
100 | .Li insque | ||
101 | and | ||
102 | .Li remque | ||
103 | instructions on the | ||
100 | .Tn VAX . | 104 | .Tn VAX . |
101 | They first appeared in | 105 | They first appeared in |
102 | .Bx 4.2 . | 106 | .Bx 4.2 . |