Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-9
DEFINERESTOREWORK[2]
DEFINERESTOREWORK restores the DEFINE working set from the background set.
DEFINERESTOREWORK2 allows a second background DEFINE working set to be
restored.
return value:
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.
return value:
#include <cextdecs(DEFINERESTOREWORK[2])>
short DEFINERESTOREWORK[2] ();
0 = Success.
2052 = Unable to obtain file-system buffer space.
2053 = Unable to obtain physical memory.
#include <cextdecs(DEFINESAVE)>
short DEFINESAVE ( constchar *define-name /* i */
,short *buffer ] /* o */
,short buflen /* i */
,short *deflen /* o */
,[ short option ] ); /* i */
0 = Successful.
2049 = Syntax error in name.
2051 = DEFINE not found.
2052 = Unable to obtain file-system buffer space.
2053 = Not enough physical memory.
2054 = Bounds error on buffer, deflen or define-name parameters.
2057 = DEFINE or working set is incomplete.
2058 = DEFINE or working set is inconsistent.
2059 = DEFINE or working set is invalid.
2066 = Parameter missing.