Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (W-Z)
Guardian Procedure Calls Reference Manual522629-013
16-2
WAIT^FILE Procedure
WAIT^FILE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The WAIT^FILE procedure is used to wait or check for the completion of an
outstanding I/O operation.
WAIT^FILE is a sequential I/O (SIO) procedure and should be used only with files that
have been opened by OPEN^FILE.
Syntax for C Programmers
CEXTDECS (through the included file TNSINTH) defines 32-bit values as the
typedef __int32_t which for TNS and TNS/R compiles is defined as long and for
TNS/E compiles is defined as
int.
#include <cextdecs(WAIT_FILE)>
short WAIT_FILE ( short _near *file-fcb
,[ short _near *count-read ]
,[ __int32_t time-limit ] );