:man| Alphabetical   Categories   About us 
 
INSQUE (3) | C library functions | Unix Manual Pages | :man

NAME

insque, remque - doubly-linked list management

CONTENTS

Library
Synopsis
Description
Standards
History

LIBRARY


.Lb libc

SYNOPSIS


.In search.h void insque "void *element1" "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 -p1003.1-2001.

HISTORY

The insque and remque functions appeared in BSD 4.2 . In
.Fx 5.0 , they reappeared conforming to -p1003.1-2001.

October 10, 2002 INSQUE (3)
shtml">manServer 1.07 from insque.3 using doc macros.


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013