flushband(9r)flushband(9r)NAMEflushband - STREAMS: Flushes messages for a specified priority band
SYNOPSIS
#include <sys/stream.h>
void flushband(
queue_t *queue,
unsigned char pri,
int flag );
ARGUMENTS
Specifies a pointer to the queue. The typedef queue_t is an alternate
name for struct queue_entry *. Specifies the priority of the message
to be flushed. Specifies one of the following flag flush values: Flush
only data messages. These data messages are represented by the M_DATA,
M_DELAY, M_PROTO, and M_PCPROTO constants. Flush all messages.
Requests a realtime delay.
DESCRIPTION
The flushband interface flushes messages associated with the priority
band specified by the pri argument. If pri is zero (0), flushband
flushes only normal and high priority messages. Otherwise, flushband
flushes messages from the priority band specified by the pri argument
according to the value passed to the flag argument.
RETURN VALUES
None
SEE ALSO
Kernel Interfaces: allocb(9r), flushq(9r)
Programmer's Guide: STREAMS
flushband(9r)