DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

insque(SLIB)


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.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003