Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
insque(3)
Edit
PageHistory
Diff
Info
LikePages
INSQUE !!!INSQUE NAME SYNOPSIS DESCRIPTION CONFORMING TO BUGS ---- !!NAME insque, remque - insert/remove an item from a queue !!SYNOPSIS __#include __''elem''__, struct qelem *__''prev''__); void remque(struct qelem *__''elem''__); __ !!DESCRIPTION __insque()__ and __remque()__ are functions for manipulating queues made from doubly-linked lists. Each element in this list is of type __struct qelem__ The __qelem__ structure is defined as struct qelem { struct qelem *q_forw; struct qelem *q_back; char q_data[[1]; }; __insque()__ inserts the element pointed to by ''elem'' immediately after the element pointed to by ''prev'', which must __NOT__ be NULL. __remque()__ removes the element pointed to by ''elem'' from the doubly-linked list. !!CONFORMING TO SVR4 !!BUGS The q_data field is sometimes defined to be type __char *__, and under solaris 2.x, it doesn't appear to exist at all. The location of the prototypes for these functions differ among several versions of UNIX. Some systems place them in Some versions of UNIX (like HP-UX 10.x) do not define a __struct qelem__ but rather have the arguments to __insque()__ and __remque()__ be of type __void *__. ----
One page links to
insque(3)
:
Man3i
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.