manual page first distributed with 4.2BSD
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 16 May 1985 07:22:52 +0000 (23:22 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 16 May 1985 07:22:52 +0000 (23:22 -0800)
SCCS-vsn: lib/libcompat/4.3/insque.3 5.1

usr/src/lib/libcompat/4.3/insque.3 [new file with mode: 0644]

diff --git a/usr/src/lib/libcompat/4.3/insque.3 b/usr/src/lib/libcompat/4.3/insque.3
new file mode 100644 (file)
index 0000000..0e82200
--- /dev/null
@@ -0,0 +1,45 @@
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)insque.3    5.1 (Berkeley) %G%
+.\"
+.TH INSQUE 3 "18 July 1983"
+.UC 5
+.SH NAME
+insque, remque \- insert/remove element from a queue
+.SH SYNOPSIS
+.nf
+.DT
+.ft B
+struct qelem {
+       struct  qelem *q_forw;
+       struct  qelem *q_back;
+       char    q_data[];
+};
+.PP
+.ft B
+insque(elem, pred)
+struct qelem *elem, *pred;
+.PP
+.ft B
+remque(elem)
+struct qelem *elem;
+.ft R
+.SH DESCRIPTION
+.I Insque
+and 
+.I remque
+manipulate queues built from doubly linked lists.  Each
+element in the queue must in the form of ``struct qelem''.
+.I Insque
+inserts 
+.I elem
+in a queue imediately after 
+.IR pred ;
+.I remque
+removes an entry
+.I elem 
+from a queue.
+.SH "SEE ALSO
+``VAX Architecture Handbook'', pp. 228-235.