[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Technical Reference: Communications, Volume 2
I_FLUSH streamio Operation
Purpose
Flushes all input or output queues.
Description
The I_FLUSH operation flushes
all input or output queues, depending on the
value of the arg parameter. Legal values for the arg parameter are:
| Value |
Description |
|
FLUSHR |
Flush read queues. |
|
FLUSHW |
Flush write queues. |
|
FLUSHRW |
Flush read and write queues. |
This operation is part of STREAMS Kernel Extensions.
Error Codes
If unsuccessful, the errno global
variable is set to one of the following values:
| Value |
Description |
|
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. |
Related Information
The streamio
operations.
The I_FLUSHBAND streamio operation.
The flushband
utility, flushq utility.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]