2.11BSD/man/cat3/insque.0

Compare this file to the similar file:
Show the results in this format:




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
     _I_n_s_q_u_e and _r_e_m_q_u_e manipulate queues built from doubly linked
     lists.  Each element in the queue must in the form of
     ``struct qelem''.	_I_n_s_q_u_e inserts _e_l_e_m in a queue immedi-
     ately after _p_r_e_d; _r_e_m_q_u_e removes an entry _e_l_e_m from a queue.

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































Printed 11/26/99	  May 20, 1986				1