Sets the time that the stream head delays when a stream is closing.
The I_SETCLTIME operation sets the time that the stream head delays when a stream is closing and there is data on the write queues. Before closing each module and driver, the stream head delays closing for the specified length of time to allow the data to be written. Any data left after the delay is flushed.
The arg parameter contains a pointer to the number of milliseconds to delay. This number is rounded up to the nearest legal value on the system. The default delay time is 15 seconds.
If unsuccessful, the
errno global variable is set to the following value:
EINVAL | The value in the arg parameter is invalid. |
This operation is part of STREAMS Kernel Extensions.
The streamio operations.
The I_GETCLTIME streamio operation.