Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

remque(3) [netbsd man page]

INSQUE(3)						   BSD Library Functions Manual 						 INSQUE(3)

NAME
insque, remque -- insert/remove element from a queue LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <search.h> void insque(void *elem, void *pred); void remque(void *elem); DESCRIPTION
insque() and remque() manipulate queues built from doubly linked lists. The queue can be either circular or linear. The functions expect their arguments to point to a structure whose first and second members are pointers to the next and previous element, respectively. The insque() function also allows the pred argument to be a NULL pointer for the initialization of a new linear list's head element. STANDARDS
The insque() and remque() functions conform to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
The insque() and remque() are derived from the 'insque' and 'remque' instructions on the VAX. They first appeared in 4.2BSD. BSD
April 30, 2010 BSD

Check Out this Related Man Page

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

NAME
insque, remque - insert/remove element from a queue SYNOPSIS
include <search.h> void insque(struct qelem *elem, struct qelem *pred); void remque(struct qelem *elem); DESCRIPTION
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. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), standards(5) SunOS 5.10 24 Jul 2002 insque(3C)
Man Page