Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual522629-013
7-37
INITIALIZEEDIT Procedure
INITIALIZEEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Nowait Considerations
Example
Related Programming Manual
Summary
The INITIALIZEEDIT procedure allocates the EDIT file segment (EFS) to be used by
IOEdit and initializes the data structures that it contains. If your program uses IOEdit,
this procedure is called automatically by the first IOEdit procedure that your program
calls. It is necessary to call INITIALIZEEDIT explicitly only when your program needs
to specify a value for one or more of its parameters.
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.
swapvol input
INT .EXT:ref:4
is a four-word array containing the name of the disk volume in which the EFS is to
be allocated. If this parameter is omitted or if INITIALIZEEDIT is unable to allocate
#include <cextdecs(INITIALIZEEDIT)>
short INITIALIZEEDIT ( [ short *swapvol ]
,[ short maxfiles ]
,[ short errorabend ]
,[ short nowait-option ] );
error := INITIALIZEEDIT ( [ swapvol ] ! i
,[ maxfiles ] ) ! i
,[ errorabend ] ! i
,[ nowait-option ] ); ! i