Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INSQUE(3)  —  Kubota Pacfic Computer Inc. (C Library Functions−BSD)

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. 

September 02, 1992

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