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.