Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-18
READEDITP Procedure
READEDITP Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The READEDITP procedure reads one line from a specified EDIT file and returns it to
the caller in EDIT packed line format.
READEDITP is an IOEdit procedure and can only be used with files that have been
opened by OPENEDIT or OPENEDIT_.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
returns a file-system error number indicating the outcome of the operation.
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(READEDITP)>
short READEDITP ( short filenum
,[ __int32_t *record-number ]
,char *packed-line
,short packed-limit
,short *packed-length );
error := READEDITP ( filenum ! i
,[ record-number ] ! i,o
,packed-line ! o
,packed-limit ! i
,packed-length ); ! o