osf1 man page for rmvq

Query: rmvq

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
rmvq(9f) - opensolaris
rmvq(9f) - debian
rmvq(9f) - bsd
rmvq(9f) - hpux
rmvq(9f) - plan9
Similar Topics in the Unix Linux Community
Help with Shell Script: User Lookup