Synopsis

PDX_MSGT ugn_SetEnvAlias(long option, char *name, char *alias)

Purpose

Define an alias for an environment variable.

Description

A mapping from the name alias will be established for the environment variable name. A subsequent call to ugn_GetEnv with a variable of name will then look for alias in the environment. An existing mapping may be cleared by passing NULL for alias or redefined by passing a new value for alias.

Input

option

Options (not used)

name

Environment variable to be aliased

alias

Alias for name or NULL to clear an existing alias

Return

Error