*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: insque | Section: 3 | Source: OpenBSD | File: insque.3
INSQUE(3) FreeBSD Library Functions Manual INSQUE(3) NAME insque, remque - legacy doubly linked lists SYNOPSIS #include <search.h> void insque(void *elem, void *pred); void remque(void *elem); DESCRIPTION These interfaces have been superseded by the queue(3) macros and are provided for compatibility with legacy code. insque() and remque() manipulate a legacy variety of intrusive doubly linked lists. A list can be either circular or linear. Each element in the list must be of the following form: struct qelem { struct qelem *q_forw; struct qelem *q_back; char q_data[]; }; The first two members of the struct must be pointers of the same type that point to the next and previous elements in the list, respectively. Any subsequent data in the struct is application-dependent. The insque() function inserts elem into a list immediately after pred. The remque() function removes elem from the list. These functions are not atomic. SEE ALSO queue(3) STANDARDS The insque() and remque() functions conform to the X/Open System Interfaces option of the IEEE Std 1003.1-2008 ("POSIX.1") specification. HISTORY The insque() and remque() functions are derived from the insque and remque instructions on the VAX. They first appeared in 4.2BSD. FreeBSD 14.1-RELEASE-p8 April 26, 2020 FreeBSD 14.1-RELEASE-p8

Navigation Options