Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ insque(3C) — svr4 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought



INSQUE(3C-SVR4)     RISC/os Reference Manual      INSQUE(3C-SVR4)



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 {
               struct    qelem *q_forw;
               struct    qelem *q_back;
               char q_data[];
          };

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
































                        Printed 11/19/92                   Page 1



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