Guardian Procedure Calls Reference Manual
timelimit
input
INT(32):value
indicates whether the process waits for completion instead of checking for completion. If
timelimit is passed as:
A wait-for-completion is specified. The timelimit parameter specifies the maximum time (in
.01-second units) from the time of the AWAITIO[X|XL] call that the application process can wait
(that is, be on a wait list) for completion of a waited-for operation.
0D>
See “Queue files” in Considerations (page 81).
An indefinite wait is indicated.-1D=
A check for completion is specified. AWAITIO[X|XL] immediately returns to the caller, regardless
of whether or not an I/O completion occurs.
0D=
File-system error 590 occurs.-1D<
An indefinite wait is indicated.omitted
segment-id
output
(for AWAITIOX[L])INT .EXT:ref:1
returns the segment ID of the extended data segment containing the buffer when the operation
was initiated. If the buffer is not in a selectable segment, segment-id is -1.
Condition Code Settings
indicates that an error occurred (call FILE_GETINFO_ or FILEINFO).< (CCL)
indicates that an I/O operation completed.= (CCE)
indicates that an I/O operation completed but a warning occurred (call FILE_GETINFO_ or FILEINFO).> (CCG)
Returned Value
(for AWAITIOXL)INT
A file-system error code that indicates the outcome of the call:
FEOK0
A successful operation.
Operation and Completion Summary
The operation of the AWAITIO[X|XL] procedure is shown in Figure 4 (page 80).
AWAITIO[X|XL] Procedures 79