'\"macro stdmacro
.if n .pH ddi_dki.flushband @(#)flushband	40.5 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} flushband D3DK "STREAMS" "DDI/DKI" "\&"
.if \nX=1 .ds x} flushband D3DK "STREAMS" "DDI/DKI"
.if \nX=2 .ds x} flushband D3DK "" "\&"
.if \nX=3 .ds x} flushband "" "" "\&"
.TH \*(x}
.IX "\f4flushband\fP(D3DK)"
.SH "NAME" 
\f4flushband\f1 \- flush messages for a specified priority band
.SH "SYNOPSIS" 
.nf
.na
\f4#include <sys/stream.h>
.sp 0.5
void flushband(queue_t \f2q, \f4unsigned char \f2pri, \f4int \f2flag\f4);\f1
.ad
.fi
.SH "ARGUMENTS" 
.RS 0n 10
.IP "\f2q\f1" 10n
Pointer to the queue.
.IP "\f2pri\f1" 10n
Priority of messages to be flushed.
.IP "\f2flag\f1" 10n
Valid \f2flag\f1 values are:
.P
.RS 12
.TP 12
\f4FLUSHDATA
.IX STREAMS messages
Flush only data messages (types \f4M_DATA, M_DELAY, M_PROTO, \f1and 
\f4M_PCPROTO\f1).
.TP
\f4FLUSHALL\f1
Flush all messages.
.RE
.RE
.SH DESCRIPTION 
The \f4flushband\f1 function flushes messages associated with the
priority band specified by \f2pri\f1.
If \f2pri\f1 is \f40\f1, only normal and high priority messages are flushed.
Otherwise, messages are flushed from the band \f2pri\f1 according to
the value of \f2flag\f1.
.SH "RETURN VALUE" 
None
.SH LEVEL 
Base or Interrupt
.SH "SEE ALSO" 
\f2BCI Driver Development Guide, \f1Chapter 7, ``STREAMS''
.P
.na
\f4flushq\f1(D3DK)
.ad
