Flushes all messages from a particular band.
The I_FLUSHBAND operation flushes all messages of a given priority band from all input or output queues. The arg parameter points to a bandinfo structure that contains the following elements:
unsigned char bi_pri; int bi_flag;
The elements are defined as follows:
Element | Description |
---|---|
bi_pri | Specifies the band to be flushed. |
bi_flag | Specifies the queues to be pushed. Legal values for the bi_flag field are: |
This operation is part of STREAMS Kernel Extensions.
If unsuccessful, the errno global variable is set to one of the following values:
The streamio operations.
The I_FLUSH streamio operation.
The flushband utility, flushq utility.