remque()

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.

This function is in libc.a, but not in libc.so (in order to save space).

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 XSI

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

Last modified: 2013-12-23

comments powered by Disqus