rmvq(9r) rmvq(9r)
NAME
rmvq - STREAMS: Removes a message block from a queue
SYNOPSIS
#include <sys/stream.h>
void rmvq(
queue_t *queue_pointer,
MBLKP message_to_be_removed );
ARGUMENTS
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 *.
DESCRIPTION
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.
CAUTIONS
Make sure the message block pointer you pass to the message_to_be_removed argument exists to avoid a possible system panic.
RETURN VALUES
None
SEE ALSO
Kernel Interfaces: getq(9r), rmvb(9r)
rmvq(9r)