Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ insque(3) — SunOS 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INSQUE(3)  —  C LIBRARY FUNCTIONS

NAME

insque, remque − insert/remove element from a queue

SYNOPSIS

struct qelem {
structqelem ∗q_forw;
structqelem ∗q_back;
charq_data[];
};
insque(elem, pred)
struct qelem ∗elem, ∗pred;
remque(elem)
struct qelem ∗elem;

DESCRIPTION

Insque and remque manipulate queues built from doubly linked lists.  Each element in the queue must be in the form of “struct qelem”.  Insque inserts elem in a queue imediately after pred; remque removes an entry elem from a queue. 

SEE ALSO

“VAX Architecture Handbook”, pp. 228-235.  It does work on Suns. 

Sun Release 3.0β  —  Last change: 20 March 1984

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026