environGetenv
Returns the value of the environment variable @variable in the provided list @envp.
Return
the value of the environment variable, or null if the environment variable is not set in @envp. The returned string is owned by @envp, and will be freed if @variable is set or unset again.
Since
2.32
Parameters
envp
an environment list (eg, as returned from g_get_environ()), or null for an empty environment list
variable
the environment variable to get