curl_getenv.3
来自「THIS IS HTTP CURL Example」· 3 代码 · 共 31 行
3
31 行
.\" $Id: curl_getenv.3,v 1.4 2006-03-17 08:22:50 bagder Exp $.\".TH curl_getenv 3 "30 April 2004" "libcurl 7.12" "libcurl Manual".SH NAMEcurl_getenv - return value for environment name.SH SYNOPSIS.B #include <curl/curl.h>.sp.BI "char *curl_getenv(const char *" name ");".ad.SH DESCRIPTIONcurl_getenv() is a portable wrapper for the getenv() function, meant toemulate its behaviour and provide an identical interface for all operatingsystems libcurl builds on (including win32)..SH AVAILABILITYThis function will be removed from the public libcurl API in a near future. Itwill instead be made "available" by source code access only, and then ascurlx_getenv()..SH RETURN VALUEIf successful, curl_getenv() returns a pointer to the value of the specifiedenvironment. The memory it refers to is malloc()ed so the application mustfree() this when the data is no longer needed. When \fIcurl_getenv(3)\fP failsto find the specified name, it returns a null pointer..SH NOTEUnder unix operating systems, there isn't any point in returning an allocatedmemory, although other systems won't work properly if this isn't done. Theunix implementation thus have to suffer slightly from the drawbacks of othersystems..SH "SEE ALSO".BR getenv "(3C), "
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?