wait_remove_rcvid()

Remove the rcvid matching the wait entry

Synopsis:

#include <sys/io-char.h>

int wait_remove_rcvid(TTYWAIT **head, 
                      int rcvid, 
                      int *offset);

Arguments:

head
A pointer to the TTYWAIT queue that stores blocking clients waiting to process (open, read, write, or drain).
rcvid
The receive ID of the message that you want to remove.
offset
The wait entry offset.

Description:

This function removes the rcvid matching the wait entry on the list (there should be only one).

Returns:

1
The first entry was removed successfully.
2
An entry other than the first was removed successfully.
-1
An error occurred.

Classification:

QNX Neutrino

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

See also:

wait_add()