Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

OpenSolaris 2009.06 - man page for insque (opensolaris section 3c)

insque(3C)						   Standard C Library Functions 						insque(3C)

insque, remque - insert/remove element from a queue
include <search.h> void insque(struct qelem *elem, struct qelem *pred); void remque(struct qelem *elem);
The insque() and remque() functions 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[]; }; The insque() function inserts elem in a queue immediately after pred. The remque() function removes an entry elem from a queue.
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+
attributes(5), standards(5) SunOS 5.11 24 Jul 2002 insque(3C)