Content-type: text/html Man page of insque

insque

Section: Standard C Library Functions (3C)
Updated: 24 Jul 2002
Index Return to Main Contents
 

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 TYPEATTRIBUTE VALUE
Interface StabilityStandard
MT-LevelUnsafe

 

SEE ALSO

attributes(5), standards(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:18 GMT, October 02, 2010