Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (W-Z)
Guardian Procedure Calls Reference Manual522629-013
16-4
WAIT^FILE Procedure
there is a completion. If no completion occurs the I/O
operation is still outstanding; an
error 40 and an
“operation timed out” message are returned.
0D There is no completion. Therefore, READ^FILE or
(and error = 40) WRITE^FILE cannot be called for the file until the
operation completes by WAIT^FILE.
-1D indicates a willingness to wait forever.
Example
ERROR := WAIT^FILE ( IN^FILE , COUNT );
Related Programming Manual
For programming information about the WAIT^FILE procedure, refer to the Guardian
Programmer’s Guide.