Guardian Procedure Calls Reference Manual
Syntax for C Programmers
#include <cextdecs(AWAITIO)>
_cc_status AWAITIO ( short _near *filenum
,[ short _near *buffer-addr ]
,[ unsigned short _near *count-transferred ]
,[ __int32_t _near *tag ]
,[ __int32_t timelimit ] );
#include <cextdecs(AWAITIOX)>
_cc_status AWAITIOX ( short _far *filenum
,[ __int32_t _far *buffer-addr ]
,[ unsigned short _far *count-transferred ]
,[ __int32_t _far *tag ]
,[ __int32_t timelimit ]
,[ short _far *segment-id ] );
#include <cextdecs(AWAITIOXL)>
short AWAITIOXL ( short _far *filenum
,[ __int32_t _far *buffer-addr ]
,[ __int32_t _far *count-transferred ]
,[ long long _far *tag ]
,[ __int32_t timelimit ]
,[ short _far *segment-id ] );
• The function value returned by AWAITIO[X], which indicates the condition code, can be
interpreted by the _status_lt(), _status_eq(), or _status_gt() (defined in the file
tal.h).
Syntax for TAL Programmers
CALL AWAITIO ( filenum ! i,o
,[ buffer-addr ] ! o
,[ count-transferred ] ! o
,[ tag ] ! o
,[ timelimit ] ); ! i
CALL AWAITIOX ( filenum ! i,o
,[ buffer-addr ] ! o
,[ count-transferred ] ! o
,[ tag ] ! o
,[ timelimit ] ! i
,[ segment-id ] ); ! o
error:= AWAITIOXL ( filenum ! i,o
,[ buffer-addr ] ! o
,[ count-transferred ] ! o
,[ tag ] ! o
,[ timelimit ] ! i
,[ segment-id ] ); ! o
AWAITIO[X|XL] Procedures 77