MPE/iX Intrinsics Reference Manual (32650-90905)
206 Chapter5
Command Definitions (FCONTROL - FLOCK)
FINTSTATE
The first parameter of the software interrupt procedure is the file number of the file that
caused the interrupt.
It is necessary to issue a call to the IODONTWAIT intrinsic against the file in order to
complete the request. When reading, the
buffer
parameter is ignored in the FREAD call.
The data is moved to the array specified by the
buffer
parameter of IODONTWAIT.
An incomplete FREAD/FWRITE request can be aborted by issuing an FCONTROL call with an
itemnum
of 43 (abort nowait I/O).
Limitations:
• Only message (MSG) files allow software interrupts.
• No more than one incomplete FREAD/FWRITE can be outstanding for a particular file.
• The interrupt is held off while executing within the operating system, with the
following exceptions:
• PAUSE allows the interrupt.
• IOWAIT allows the interrupt if the
filenum
parameter is set to 0.
In these instances, the intrinsic is reinvoked after the interrupt procedure executes.
• Do not use FINTSTATE with remote files.
Related Information
Manuals Accessing Files Programmer's Guide and Interprocess Communication
Programmer's Guide