Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-40
WAIT^FILE
Waits or checks for the completion of an outstanding I/O operation. WAIT^FILE is a
sequential I/O (SIO) procedure and can be used only with files that have been opened by
OPEN^FILE.
error
[13:16] Default subvolume, blank-filled
Default file security, as follows:
[17] Bits 0-15 Bits 0-3
Bits 4-6
Bits 7-9
Bits 10-12
Bits 13-15
Unused
Read
Write
Execute
Purge
0 A (any local user)
1 G (any local group member)
2 O (only the local owner)
3 Not used
4 N (any network user)
5 C (any network group/community user)
6 U (only the network owner)
7 - (only the local super ID (255, 255))
#include <cextdecs(WAIT_FILE)>
short WAIT_FILE ( short _near *file-fcb /* i */
,[ short _near *count-read ] /* o */
,[ long time-limit ] ); /* i */
0No error.
1 End of file.
6 System message (only if user requested system messages through
SET^SYSTEMMESSAGES or SET^SYSTEMMESSAGESMANY).
40 Operation timed out (only if time-limit is supplied and is not -1D).
111 Operation aborts because of BREAK (if BREAK is enabled).
532 Operation restarted.