Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

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 immediately after pred; remque removes an entry elem from a queue. 

Sun Release 3.2  —  Last change: 17 July 1986

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