rmvq - STREAMS: Removes a message block from a queue
#include <sys/stream.h>
void rmvq(
queue_t *queue_pointer,
MBLKP message_to_be_removed );
Specifies a pointer to the queue that contains the message
block to be removed. The typedef queue_t is an alternate
name for struct queue_entry *. Specifies a pointer to the
message block to be removed. The typedef MBLKP is an
alternate name for typedef struct msgb *.
The rmvq interface removes a message block from a queue.
You can remove a message block from anywhere on a queue.
To prevent modules and drivers from having to deal with
the internals of message linking on a queue, you can call
either rmvq or getq to remove a message block from a
queue.
Make sure the message block pointer you pass to the message_to_be_removed
argument exists to avoid a possible
system panic.
None
Kernel Interfaces: getq(9r), rmvb(9r)
rmvq(9r)
[ Back ] |