*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> remque (3)              
Title
Content
Arch
Section
 

INSQUE(3)

Contents


NAME    [Toc]    [Back]

     insque, remque - insert/remove element from a queue

LIBRARY    [Toc]    [Back]

     Compatibility Library (libcompat, -lcompat)

SYNOPSIS    [Toc]    [Back]

     #include <search.h>

     struct qelem {
          struct qelem *q_forw;
          struct qelem *q_back;
          char q_data[];
     };
     void
     insque(struct qelem *elem, struct qelem *pred);

     void
     remque(struct qelem *elem);

DESCRIPTION    [Toc]    [Back]

     These interfaces are available from the compatibility library, libcompat.


     insque() and remque() manipulate queues built from doubly linked lists.
     Each element in the queue must begin with a "struct qelem".

DIAGNOSTICS    [Toc]    [Back]

     These functions are not atomic unless that machine architecture allows
     it.

HISTORY    [Toc]    [Back]

     These are derived from the insque and remque instructions on a VAX.

BSD                             August 12, 1993                            BSD
[ Back ]
 Similar pages
Name OS Title
insque Tru64 Insert or removes an element in a queue
remque Tru64 Insert or removes an element in a queue
insque Tru64 General: Add or remove an element from the queue
remque Tru64 General: Add or remove an element from the queue
insque Linux insert/remove an item from a queue
timeout Tru64 General: Initializes a callout queue element
mq_unlink IRIX remove a message queue
lprm OpenBSD remove jobs from the line printer spooling queue
lprm FreeBSD remove jobs from the line printer spooling queue
ipcrm IRIX remove a message queue, semaphore set or shared memory id
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service