Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bsearch(3c)

hsearch(3c)

lsearch(3c)

tsearch(3c)



INSQUE(3C)              COMMAND REFERENCE              INSQUE(3C)



NAME
     insque, remque - insert/remove element from a queue

SYNOPSIS
     struct qelem {
          struct    qelem *q_forw;
          struct    qelem *q_back;
          char q_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.  No values are returned.

SEE ALSO
     bsearch(3c), hsearch(3c), lsearch(3c), and tsearch(3c).






























Printed 3/13/89                                                 1



%%index%%
na:312,103;
sy:415,1654;
de:2069,672;
se:2741,239;
%%index%%000000000084

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