⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 curl_getenv.3

📁 THIS IS HTTP CURL Example
💻 3
字号:
.\" $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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -