standard.net.curl.curl_getenv

curl_getenv is available since version 1.0.

Prototype:

string curl_getenv(string name)

Parameters

name
the environment variable name

Description:

Return value for environment name.

curl_getenv() is a portable wrapper for the getenv() function, meant to emulate its behaviour and provide an identical interface for all operating systems libcurl builds on (including win32).

Return value:

If successful, curl_getenv() returns a pointer to the value of the specified environment. When curl_getenv fails to find the specified name, it returns an empty string.