Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-36
DEFINERESTORE Procedure
DEFINERESTORE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
DEFINERESTORE uses a saved version of a DEFINE in the user’s buffer to create an
active DEFINE. If an active DEFINE of the same name already exists, it can optionally
be replaced. The saved DEFINE can also be placed in the working set without its
name.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
is a number that indicates the outcome of the call.
0 Successful
2050 DEFINE already exists and
options.<15> is 0 or options is omitted
2051 DEFINE does not exist and
options.<15> is 1
2052 Unable to obtain file system buffer space
2053 Unable to obtain physical memory
#include <cextdecs(DEFINERESTORE)>
short DEFINERESTORE ( short *buffer
,[ short options ]
,[ char *define-name ]
,[ short _near *checknum ] );
error := DEFINERESTORE ( buffer ! i
,[ options ] ! i
,[ define-name ] ! o
,[ checknum ] ); ! o