Index Index for
Section 9r
Index Alphabetical
listing for R
Bottom of page Bottom of
page

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

queue_pointer 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 *. message_to_be_removed 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)

Index Index for
Section 9r
Index Alphabetical
listing for R
Top of page Top of
page