DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

insque(SLIB-osr5)


insque, remque -- insert/remove element from a queue

Syntax

cc ... -lsocket

struct qelem {
	struct	qelem *q_forw;
	struct	qelem *q_back;
	char	q_data[];
};

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

void 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 immediately after pred; remque removes an entry elem from a queue.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005