Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-15
READEDIT Procedure
Syntax for C Programmers  
•
The sixth parameter to READEDIT is reserved for internal use. You must supply a 
placeholder comma for this parameter when using the parameters that follow it.   
Syntax for TAL Programmers       
Parameters  
error returned value
INT
returns a file-system error number indicating the outcome of the operation.
filenum input
INT:value
specifies the file number of the open file that is to be read.
record-number input, output
INT(32):ref:1
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values. 
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long 
data type for 32-bit values. 
#include <cextdecs(READEDIT)>
short READEDIT ( short filenum 
  ,[ __int32_t *record-number ]
  ,char *unpacked-line 
  ,short unpacked-limit 
  ,short *unpacked-length
 ,[ reserved parameter ] 
  ,short prompt-count 
  ,[ short spacefill ]
  ,[ short full-length ] );
error := READEDIT ( filenum ! i
 ,[ record-number ] ! i,o
 ,unpacked-line ! o
 ,unpacked-limit ! i
 ,unpacked-length ! o
 ,[ reserved parameter ]
 ,[ spacefill ] ! i
 ,[ full-length ] ); ! i










