DtvLong dal_gfi_env_ipc (env, val)

Returns the value of a graphical client environment variable.

Input Parameters Significance
char *env name of the environment variable,
additionally:
$TMP -> name of the temporary directory, created by the client
$PROFILE -> name of the currently loaded client setting profile

Output Parameters Significance
char *val value of the environment variable or name of the temporary directory

Return Code Significance
0 all ok
-1 no graphical interface initialized
-2 RPC buffer overrun

In the calling program memory space of the size of the expected value must be provided.

The temporary directory is created by the client at run-time in the directory specified by the client environment variable DATAVIEW_CTMP. If DATAVIEW_CTMP is not set, /tmp is used for UNIX, the temporary directory %TEMP% for Windows.