Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-41
DEFINESAVE Procedure
DEFINESAVE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
DEFINESAVE copies an active DEFINE or the current working attribute set into a user
buffer. The saved DEFINE can later be made an active DEFINE or be placed into the
working set by using DEFINERESTORE.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the call:
0 Successful
2049 Syntax error in name
2051 DEFINE not found
2052 Unable to obtain file-system buffer space
2053 Not enough physical memory
#include <cextdecs(DEFINESAVE)>
short DEFINESAVE ( const char *define-name
,short *buffer ]
,short buflen
,short *deflen
,[ short option ] );
error := DEFINESAVE ( define-name ! i
,buffer ! o
,buflen ! i
,deflen ! o
,[ option ] ); ! i