Note: This function is supported in AIX 5.1 and earlier only.
Provides the means for determining whether specified events have occurred on the Multiprotocol Quad Port (MPQP) device.
#include <sys/devices.h> #include <sys/comio.h>
int mpselect (devno, events, reventp, chan) dev_t devno; ushort events; ushort *reventp; int chan;
devno | Specifies major and minor device numbers. |
events | Identifies the events to check. |
reventp | Returns events pointer. This parameter is passed by reference and is used by the mpselect entry point to indicate which of the selected events are true at the time of the call. |
chan | Specifies the channel number assigned by the mpmpx entry point. |
The mpselect entry point provides the means for determining if specified events have occurred on the MPQP device. This entry point is supported similar to the ddselect communications entry point.
The mpselect entry point functions with a 4-Port Multiprotocol Interface adapter that has been correctly configured for use on a qualified network. Consult adapter specifications for more information on configuring the adapter and network qualifications.
The mpselect entry point can be called from the process environment only.
The common return codes for the mpselect entry point are the following:
The mpclose entry point, mpconfig entry point, mpioctl entry point, mpmpx entry point, mpopen entry point, mpread entry point, mpwrite entry point.
The ddselect communications PDH entry point.
The poll subroutine, select subroutine.
MPQP Device Handler Interface Overview in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.
Communications I/O Subsystem: Programming Introduction in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.
Communications Physical Device Handler Model Overview in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.