Share this page

# getenv

Example: getenv | Process Control Functions

Gets the definition of an environment variable.

    char *getenv( const char *varname );

varname | The name of the environment variable whose definition is returned.

## Return Values

Gets the value of the specified environment variable or NULL if that environment variable does not exist.

For getenv details, refer to your C language documentation.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: