Read an environment variable.
- name
- The environment variable to read.
The getenv() function returns the value of the environment variable as a string. If the variable name is not in the current environment, null is returned.
The getenv() function obtains the current value of the environment variable, name.
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0