Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-2
error
DEFINEADD
Adds a DEFINE to the calling process’s context using the attributes in the working set.
DEFINEADD can replace an existing DEFINE with the attributes in the working set.
return value:
0=No error.
11 = Specified process does not exist.
13 = Invalid name.
14 = Supplied process ID references an LDEV that does not exist.
18 = Specified system is not known.
22 = Parameter or buffer out of bounds.
29 = Missing parameter.
48 = Security violation.
190 = The value of term (or the caller’s home terminal if term was not
specified) is not device type 6.
201 = Unable to communicate over this path.
240-249 = Network errors.
250 = All paths to the specified system are down.
590 = Bad parameter value.
#include <cextdecs(DEFINEADD)>
short DEFINEADD ( constchar *define-name /* i */
,[ short replace ] /* i */
,[ short _near *checknum ] ); /* o */
0 = Add was successful.
2049 = A syntax error occurred in name.
2050 = Define already exists.
2051 = Define does not exist.
2052 = Unable to obtain file-system buffer space.
2053 = Unable to obtain physical memory.
2054 = Bounds error in define-name.
2057 = Working set is not complete.
2058 = Working set is not consistent.