MPE/iX Intrinsics Reference Manual (32650-90875)
476 Chapter8
Command Definitions (HPMERGEEND-LOGSTATUS)
IOWAIT
Operation Notes
The IOWAIT intrinsic initiates completion operations for an I/O request. If you opened a file
with the nowait I/O mode
aoption
of the FOPEN/HPFOPEN intrinsic (
aoption
bit (4:1) = 1),
calls to either the IOWAIT or IODONTWAIT intrinsic must follow all read and write requests.
This intrinsic initiates completion operations for the associated I/O request, including data
transfer into your buffer area if necessary.
The IOWAIT intrinsic call must precede any subsequent I/O request against the file. Within
this restriction, you can delay the IOWAIT intrinsic call as long as desired to allow effective
I/O and processing overlap.
Condition Codes
CCE (2) Request granted. I/O completion occurred with no errors.
CCG (0) An end-of-file was encountered.
CCL (1) Request denied. Normal I/O completion did not occur, because there were
no I/O requests pending, a parameter error occurred, or an abnormal I/O
completion occurred.
Related Information
Manual Interprocess Communication Programmer's Guide