| 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.