Remove the rcvid matching the wait entry
#include <sys/io-char.h>
int wait_remove_rcvid(TTYWAIT **head,
int rcvid,
int *offset);
- 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.
This function removes the rcvid matching the wait entry on the list (there should be only one).
- 1
- The first entry was removed successfully.
- 2
- An entry other than the first was removed successfully.
- -1
- An error occurred.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
wait_add()