Download pSOSystem Programmer`s Reference

Transcript
pr.book Page 22 Thursday, January 28, 1999 9:18 AM
Standard pSOSystem Character I/O Interface
pSOSystem Programmer’s Reference
The useCount field specifies the current value of in use counter associated with the
channel. The type field can have a value of:
■
MAPIO_DEVICE
■
MAPIO_FILE
■
MAPIO_SOCKET
■
MAPIO_CUSTOM
The type field value depends on whether the I/O is currently redirected to a device,
file, socket, or application defined module, respectively. Accordingly, the target
field is set to the device number, file handle, socket descriptor, or the module ID of
an application- specific module to which the I/O on this channel is currently redirected.
If the I/O is not currently redirected, the type field is set to MAPIO_NONE, and the
values in other fields are undefined.
4-22
pSEUDO Driver