Flushes a queue.
The flushq utility removes messages from the message queue specified by the q parameter and then frees them using the freemsg utility.
If a queue behind the q parameter is blocked, the flushq utility may enable the blocked queue, as described in the putq utility.
This utility is part of STREAMS Kernel Extensions.
| Item | Description |
|---|---|
| q | Specifies the queue to flush. |
| flag | Specifies the types of messages to flush. Possible values
are:
|