Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

remque(3) [osx man page]

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

insque, remque -- doubly-linked list management LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <search.h> void insque(void *element, void *pred); void remque(void *element); DESCRIPTION
The insque() and remque() functions encapsulate the ever-repeating task of doing insertion and removal operations on doubly linked lists. 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 list's head element. STANDARDS
The insque() and remque() functions conform to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
The insque() and remque() functions appeared in 4.2BSD. In FreeBSD 5.0, they reappeared conforming to IEEE Std 1003.1-2001 (``POSIX.1''). BSD
October 10, 2002 BSD

Check Out this Related Man Page

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

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.11 24 Jul 2002 insque(3C)
Man Page