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:
If unsuccessful, the errno global variable is set to one of the following values:
ENOSR | Unable to allocate buffers for flush message due to insufficient STREAMS memory resources. |
EINVAL | Invalid value for the arg parameter. |
ENXIO | Hangup received on the fildes parameter. |
This operation is part of STREAMS Kernel Extensions.
The streamio operations.
The I_FLUSH streamio operation.
The flushband utility, flushq utility.