Returns the current read mode setting.
The I_GRDOPT operation returns the current read mode setting in an int parameter pointed to by the arg parameter. Read modes are described in the read subroutine description.
If unsuccessful, the
errno global variable is set to the following value:
|EFAULT||The arg parameter points outside the allocated address space.|
This operation is part of STREAMS Kernel Extensions.
The streamio operations.
The I_SRDOPT streamio operation.