Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  insque(3)                           CLIX                           insque(3)



  NAME

    insque, remque - Inserts or removes an element from a queue

  LIBRARY

    Berkeley Software Distribution Library (libbsd.a)

  SYNOPSIS

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

    void remque(
      struct qelem *elem );

  DESCRIPTION

    The insque() and remque() manipulate queues built from doubly-linked
    lists.  Each element in the queue must be in the form of the structure
    qelem as follows:

    struct qelem {
         struct    qelem *q_forw;
         struct    qelem *q_back;
         char q_data[];
    };

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

  RETURN VALUES

    No possible errors can occur.



















  2/94 - Intergraph Corporation                                              1




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