Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (A-B)
Guardian Procedure Calls Reference Manual—522629-013
2-50
AWAITIO[X] Procedures
Table 2-3. AWAITIO[X] Action
timelimit = 0 timelimit <> 0
Particular File
filenum = a file
number
CHECK for any I/O completion
on
filenum.
COMPLETION
File number is returned in
filenum.
Tag of completed call is returned
in
tag.
NO COMPLETION
CCL (error 40) is returned.
File number returned is in
filenum.
No I/O operation is canceled.
WAIT for any I/O completion
on
filenum.
COMPLETION
File number is returned in
filenum.
Tag of completed call is
returned in
tag.
NO COMPLETION
CCL (error 40) is returned.
File number is returned in
filenum.
Oldest I/O operation on
filenum is canceled.
Tag of canceled call is
returned in
tag.
Any File
filenum = –1
CHECK for any I/O completion
on any open file.
COMPLETION
File number of completed call is
returned in
filenum.
Tag of completed call is returned
in
tag.
NO COMPLETION
CCL (error 40) is returned.
The value –1 is returned in
filenum.
No I/O operation is canceled.
WAIT for any I/O completion
on any open file.
COMPLETION
File number of completed
call is returned in
filenum.
Tag of completed call is
returned in
tag.
NO COMPLETION
CCL (error 40) is returned.
The value –1 is returned in
filenum.
No I/O operation is canceled.
Note:
This table assumes that SETMODE 30 has been set.