unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

INSQUE(3)                  Library Functions Manual                  INSQUE(3)



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.



                                6 October 1987                       INSQUE(3)