flushband - STREAMS: Flushes messages for a specified priority
band
#include <sys/stream.h>
void flushband(
queue_t *queue,
unsigned char pri,
int flag );
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.
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.
None
Kernel Interfaces: allocb(9r), flushq(9r)
Programmer's Guide: STREAMS
flushband(9r)
[ Back ] |