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

  man pages->IRIX man pages -> insque (3c)              
Title
Content
Arch
Section
 

Contents


insque(3C)							    insque(3C)


NAME    [Toc]    [Back]

     insque, remque - insert/remove element from a queue

SYNOPSIS    [Toc]    [Back]

     #include <search.h>

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

     void remque(struct	qelem *elem);

     #if _XOPEN_SOURCE
       void insque(void	*, void	*);

       void remque(void	*);
     #endif

DESCRIPTION    [Toc]    [Back]

     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.  If	the argument
     pred is NULL, then	the structure q_forw and q_back	entries	of the passed
     structure pointed to by the struct	pointer	elem will be set to zeroes.
     remque removes an entry elem from a queue.


									PPPPaaaaggggeeee 1111
[ 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