Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ insque.bsd(3) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INSQUE(3)

NAME

insque, remque − insert or remove an element in a queue

USAGE

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. 

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