Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ insque(3B) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INSQUE(3B)  —  Silicon Graphics May 20, 1986

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 in the form of “struct qelem”.  Insque inserts elem in a queue immediately after pred; remque removes an entry elem from a queue. 

SEE ALSO

“VAX Architecture Handbook”, pp. 228-235. 

Version 2.5  —  April 22, 1987

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