Note: This function is supported in AIX® 5.1 and earlier only.
Determines whether a specified event has occurred on the Serial Optical Link (SOL) device.
Item | Description |
---|---|
devno | Specifies major and minor device numbers. |
events | Specifies conditions to check, which are denoted by the bitwise
OR of one or more of the following:
|
reventp |
Points to the result of condition checks. A bitwise OR of
one of the following conditions is returned:
|
chan | Specifies the channel number assigned by the sol_mpx entry point. |
The sol_select entry point is called when the select or poll subroutine is used to determine if a specified event has occurred on the SOL device. When the SOL device handler is in a state in which the event can never be satisfied (such as a hardware failure), the sol_select entry point sets the returned events flags to 1 (one) for the event that cannot be satisfied. This prevents the select or poll subroutines from waiting indefinitely.
The sol_select entry point functions with a Serial Link Adapter and Serial Optical Channel Converter that have been correctly configured for use on a qualified network. Consult hardware specifications for more information on configuring hardware and network qualifications.
The sol_select entry point can be called from the process environment only.
Item | Description |
---|---|
ENODEV | Indicates the specified minor number is not valid. |
EACCES | Indicates the call from a kernel process is not valid. |