ENVAR sets the initial values for the environment variables you specify. This allows you to pass switches or tagged information into the application that can be accessed by the C functions getenv, setenv, and clearenv.
When the run-time options are merged, ENVAR strings are appended in the order encountered during the merge. Therefore, the set of environment variables established by run-time option processing will reflect all the sources where environment variables are specified. If an environment variable is specified in multiple sources, the last setting will be used.
The system function will copy any environment variables in effect to the new environment. The copied variables will be treated the same as those found in the ENVAR option on the command level with respect to merging.
Standard C functions can access the environment variables at enclave initialization and througout the application's run. Access remains until the HLL returns from enclave termination. Variables that are propagated across the EXEC override those established by the ENVAR option. getenv serializes access to the environment variables.
HLLs can access the environment variables through standard C functions at enclave initialization and throughout the application's run.
Valid values : ENVAR accepts values in the form 'name=value', where name is an environment variable and value is the value of the variable. Neither may contain null bytes or equal signs and blanks are significant. Multiple strings can be specified, separated by commas. Single quotes must be used around each name=value pair. A maximum length of 240 is allowed, including all quotes and commas.