Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (A-B)
Guardian Procedure Calls Reference Manual522629-013
2-51
AWAITIO[X] Procedures
OSS Considerations
When an OSS process calls AWAITIO[X] and an OSS signal occurs, the OSS function
completes with error 4004 (
EINTR). Even if AWAITIO[X] is used to wait for completion
(
timelimit <> 0D) and a particular file is specified (filenum <> -1), this is not
considered a completion and the oldest I/O operation against the file is not canceled.
You should call AWAITIO[X] again to complete the I/O operation.
Figure 2-1. AWAITIO[X] Operation
Call
AWAITIO[X]
Y
Y
Bad Parameter
Value
CCL <error> = 22
< - 1
> - 1
Particular File
- 1
Any File
filenum
N
N
Completion
0D
timeout
(Check)
?
Y
CCL <error> = 40
VST002.VSD
Completion?
Timeout
CCL <error> = 40
N
Any
Completion
?
N
CCL <error> = 40
Completion
Y
0D
timeout
(Check)
?
Timeout
CCL <error> = 40
Wait
timeoutfor
Completion
Waittimeout
for Any
Completion