Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-27
READUPDATE[X] Procedures
Syntax for C Programmers
•
CEXTDECS (via 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
Parameters
filenum input
INT:value (Use with READUPDATE and READUPDATEX)
is the number of an open file that identifies the file to be read.
buffer output
INT:ref:* (Use with READUPDATE)
STRING .EXT:ref:* (Use with READUPDATEX)
is an array where the information read from the file returns.
#include <cextdecs(READUPDATE)>
_cc_status READUPDATE ( short filenum
,short _near *buffer
,short read-count
,[ short _near *count-read ]
,[ __int32_t tag ] );
#include <cextdecs(READUPDATEX)>
_cc_status READUPDATEX ( short filenum
,char *buffer
,short read-count
,[ short *count-read ]
,[ __int32_t tag ] );
CALL READUPDATE[X] ( filenum ! i
,buffer ! o
,read-count ! i
,[ count-read ] ! o
,[ tag ] ); ! i