INSQUE(3)	    UNIX Programmer's 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 in the form of
     ``struct qelem''.	Insque inserts elem in a queue immedi-
     ately after pred; remque removes an entry elem from a queue.

SEE ALSO
     ``VAX Architecture Handbook'', pp. 228-235.


Printed 11/26/99	  May 20, 1986				1


 
Generated: 2016-12-26
Generated by man2html V0.25
page hit count: 1005
Valid CSS Valid XHTML 1.0 Strict