32
32
* Curl_gethostname() is a wrapper around gethostname() which allows
33
33
* overriding the host name that the function would normally return.
34
34
* This capability is used by the test suite to verify exact matching
37
38
* For libcurl debug enabled builds host name overriding takes place
38
39
* when environment variable CURL_GETHOSTNAME is set, using the value
39
40
* held by the variable to override returned host name.
41
45
* For libcurl shared library release builds the test suite preloads
42
46
* another shared library named libhostname using the LD_PRELOAD
43
47
* mechanism which intercepts, and might override, the gethostname()