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

flushband(9r)

NAME

flushband - STREAMS: Flushes messages for a specified priority band

SYNOPSIS

#include <sys/stream.h> void flushband( queue_t *queue, unsigned char pri, int flag );

ARGUMENTS

queue Specifies a pointer to the queue. The typedef queue_t is an alternate name for struct queue_entry *. pri Specifies the priority of the message to be flushed. flag Specifies one of the following flag flush values: FLUSHDATA Flush only data messages. These data messages are represented by the M_DATA, M_DELAY, M_PROTO, and M_PCPROTO constants. FLUSHALL 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

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