Guardian Procedure Calls Reference Manual

Syntax for C Programmers
#include <cextdecs(READUPDATE)>
_cc_status READUPDATE ( short filenum
,short _near *buffer
,unsigned short read-count
,[ unsigned short _near *count-read ]
,[ __int32_t tag ] );
#include <cextdecs(READUPDATEX)>
_cc_status READUPDATEX ( short filenum
,char _far *buffer
,unsigned short read-count
,[ unsigned short _far *count-read ]
,[ __int32_t tag ] );
#include <cextdecs(READUPDATEXL)>
short READUPDATEXL ( short filenum
,char _far *buffer
,__int32_t read-count
,[ __int32_t _far *count-read ]
,[ long long tag ] );
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.
The function value returned by READUPDATE[X], which indicates the condition code, can be
interpreted by _status_lt(), _status_eq(), or _status_gt() (defined in the file
tal.h).
Syntax for TAL Programmers
CALL READUPDATE[X] ( filenum ! i
,buffer ! o
,read-count ! i
,[ count-read ] ! o
,[ tag ] ); ! I
error:= READUPDATEXL ( filenum ! i
,buffer ! o
,read-count ! i
,[ count-read ] ! o
,[ tag ] ); ! i
1214 Guardian Procedure Calls (R)