Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ remque(3C) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

attributes(5)

insque(3C)

NAME

insque, remque − insert/remove element from a queue

SYNOPSIS

include <search.h>

void insque(struct qelem ∗elem, struct qelem ∗pred);

void remque(struct qelem ∗elem);

DESCRIPTION

insque() and remque() manipulate queues built from doubly linked lists.  Each element in the queue must be in the following form:

struct qelem {
structqelem ∗q_forw;
structqelem ∗q_back;
charq_data[];
};

insque() inserts elem in a queue immediately after pred.  remque() removes an entry elem from a queue. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Unsafe

SEE ALSO

attributes(5)

SunOS 5.6  —  Last change: 29 Dec 1996

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