remque()

Updated: October 26, 2022

Remove an element from a doubly linked queue

Synopsis:

#include <search.h>

void remque( void *elem);

Arguments:

elem
A pointer to the element you want to remove.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The remque() function removes an element from a queue made from a doubly linked list. For more information about the elements of the queue, see insque(), which you can use to add elements.

Classification:

POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes