docs/libcurl/opts/CURLINFO_ACTIVESOCKET.md+4 -1
| @@ -78,4 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_APPCONNECT_TIME.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_APPCONNECT_TIME_T.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CAINFO.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CAPATH.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CERTINFO.md+4 -1
| @@ -103,4 +103,7 @@ Transport support added in 7.79.0. mbedTLS support added in 8.9.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONDITION_UNMET.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONNECT_TIME.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONNECT_TIME_T.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONN_ID.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD.md+4 -1
| @@ -70,4 +70,7 @@ Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD.md+4 -1
| @@ -69,4 +69,7 @@ Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD_T.md+4 -1
| @@ -62,4 +62,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_CONTENT_TYPE.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_COOKIELIST.md+4 -1
| @@ -78,4 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_EARLYDATA_SENT_T.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_EFFECTIVE_METHOD.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_EFFECTIVE_URL.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_FILETIME.md+4 -1
| @@ -73,4 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_FILETIME_T.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_FTP_ENTRY_PATH.md+4 -1
| @@ -70,4 +70,7 @@ Works for SFTP since 7.21.4 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_HEADER_SIZE.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_HTTPAUTH_USED.md+4 -1
| @@ -73,4 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_HTTP_CONNECTCODE.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_HTTP_VERSION.md+4 -1
| @@ -57,4 +57,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_LASTSOCKET.md+4 -1
| @@ -78,4 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_LOCAL_IP.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_LOCAL_PORT.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME_T.md+4 -1
| @@ -65,4 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_NUM_CONNECTS.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_OS_ERRNO.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_POSTTRANSFER_TIME_T.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME_T.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PRIMARY_IP.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PRIMARY_PORT.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PRIVATE.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PROTOCOL.md+4 -1
| @@ -73,4 +73,7 @@ Deprecated since 7.85.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PROXYAUTH_AVAIL.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PROXYAUTH_USED.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PROXY_ERROR.md+4 -1
| @@ -101,4 +101,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_PROXY_SSL_VERIFYRESULT.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_QUEUE_TIME_T.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_REDIRECT_COUNT.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_REDIRECT_TIME.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_REDIRECT_TIME_T.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_REDIRECT_URL.md+4 -1
| @@ -65,4 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_REFERER.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_REQUEST_SIZE.md+4 -1
| @@ -59,4 +59,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_RESPONSE_CODE.md+4 -1
| @@ -68,4 +68,7 @@ responses added in 7.25.0, for OpenLDAP in 7.81.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_RETRY_AFTER.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_RTSP_CLIENT_CSEQ.md+4 -1
| @@ -57,4 +57,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_RTSP_CSEQ_RECV.md+4 -1
| @@ -57,4 +57,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_RTSP_SERVER_CSEQ.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_RTSP_SESSION_ID.md+4 -1
| @@ -62,4 +62,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SCHEME.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD.md+4 -1
| @@ -73,4 +73,7 @@ Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD_T.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD.md+4 -1
| @@ -69,4 +69,7 @@ Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD_T.md+4 -1
| @@ -62,4 +62,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD.md+4 -1
| @@ -69,4 +69,7 @@ Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD_T.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD.md+4 -1
| @@ -67,4 +67,7 @@ Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD_T.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SSL_ENGINES.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_SSL_VERIFYRESULT.md+4 -1
| @@ -73,4 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME_T.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_TLS_SESSION.md+4 -1
| @@ -77,4 +77,7 @@ Deprecated since 7.48.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_TLS_SSL_PTR.md+4 -1
| @@ -178,4 +178,7 @@ This option is exactly the same as that option except in the case of OpenSSL. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_TOTAL_TIME.md+4 -1
| @@ -65,4 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_TOTAL_TIME_T.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_USED_PROXY.md+4 -1
| @@ -65,4 +65,7 @@ int main(int argc, char *argv[]) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLINFO_XFER_ID.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_getinfo(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md+4 -1
| @@ -57,4 +57,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md+4 -1
| @@ -56,4 +56,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_MAXCONNECTS.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_MAX_CONCURRENT_STREAMS.md+4 -1
| @@ -55,4 +55,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.md+4 -1
| @@ -60,4 +60,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_MAX_TOTAL_CONNECTIONS.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_PIPELINING.md+4 -1
| @@ -79,4 +79,7 @@ Before that, default was **CURLPIPE_NOTHING**. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_PIPELINING_SITE_BL.md+4 -1
| @@ -62,4 +62,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_PUSHDATA.md+4 -1
| @@ -83,4 +83,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.md+4 -1
| @@ -144,4 +144,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_TIMERDATA.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLMOPT_TIMERFUNCTION.md+4 -1
| @@ -103,4 +103,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
| + | curl_multi_setopt(3) returns a CURLMcode indicating success or error. |
| + | |
| + | CURLM_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ABSTRACT_UNIX_SOCKET.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ACCEPTTIMEOUT_MS.md+4 -1
| @@ -57,4 +57,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ACCEPT_ENCODING.md+4 -2
| @@ -114,5 +114,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ADDRESS_SCOPE.md+4 -1
| @@ -58,5 +58,8 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
| Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative value. |
docs/libcurl/opts/CURLOPT_ALTSVC.md+4 -1
| @@ -113,4 +113,7 @@ Integer priority value (not currently used) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md+4 -1
| @@ -95,4 +95,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_APPEND.md+4 -1
| @@ -62,4 +62,7 @@ This option was known as CURLOPT_FTPAPPEND up to 7.16.4 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_AUTOREFERER.md+4 -1
| @@ -73,4 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_AWS_SIGV4.md+4 -1
| @@ -123,4 +123,7 @@ the special value "UNSIGNED-PAYLOAD". |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_BUFFERSIZE.md+4 -1
| @@ -80,4 +80,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CAINFO.md+4 -2
| @@ -89,5 +89,7 @@ Schannel support added in libcurl 7.60. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CAINFO_BLOB.md+4 -2
| @@ -89,5 +89,7 @@ Transport and Schannel backends. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CA_CACHE_TIMEOUT.md+4 -1
| @@ -86,4 +86,7 @@ This option is supported by OpenSSL and its forks (since 7.87.0), Schannel |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CERTINFO.md+4 -1
| @@ -94,4 +94,7 @@ mbedTLS support added in 8.9.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.md+4 -1
| @@ -148,4 +148,7 @@ int main() |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CHUNK_DATA.md+4 -1
| @@ -98,4 +98,7 @@ int main() |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CHUNK_END_FUNCTION.md+4 -1
| @@ -78,4 +78,7 @@ int main() |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CLOSESOCKETDATA.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.md+4 -1
| @@ -82,4 +82,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT.md+4 -2
| @@ -83,5 +83,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative |
| - | value or a value that when converted to milliseconds is too large. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.md+4 -1
| @@ -84,4 +84,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONNECT_ONLY.md+4 -1
| @@ -83,4 +83,7 @@ WS and WSS support added in 7.86.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONNECT_TO.md+4 -1
| @@ -113,4 +113,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONV_FROM_NETWORK_FUNCTION.md+4 -1
| @@ -114,4 +114,7 @@ built. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONV_FROM_UTF8_FUNCTION.md+4 -1
| @@ -107,4 +107,7 @@ built. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CONV_TO_NETWORK_FUNCTION.md+4 -1
| @@ -110,4 +110,7 @@ built. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_COOKIE.md+4 -2
| @@ -89,5 +89,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_COOKIEFILE.md+4 -1
| @@ -97,4 +97,7 @@ online here: https://curl.se/docs/http-cookies.html |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_COOKIEJAR.md+4 -2
| @@ -83,5 +83,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_COOKIELIST.md+4 -2
| @@ -135,5 +135,7 @@ online here: https://curl.se/docs/http-cookies.html |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_COOKIESESSION.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.md+4 -2
| @@ -78,5 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CRLF.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CRLFILE.md+4 -2
| @@ -85,5 +85,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CURLU.md+4 -1
| @@ -75,4 +75,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_CUSTOMREQUEST.md+4 -2
| @@ -130,5 +130,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DEBUGDATA.md+4 -1
| @@ -82,4 +82,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.md+4 -1
| @@ -214,4 +214,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DIRLISTONLY.md+4 -1
| @@ -85,4 +85,7 @@ since 7.21.5. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md+4 -1
| @@ -61,7 +61,10 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
| |
| curl_easy_perform(3) returns CURLE_LOGIN_DENIED if this option is |
| enabled and a URL containing a username is specified. |
docs/libcurl/opts/CURLOPT_DNS_CACHE_TIMEOUT.md+4 -1
| @@ -85,4 +85,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DNS_INTERFACE.md+4 -2
| @@ -70,5 +70,7 @@ supports this operation. The c-ares backend is the only such one. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
| - | or CURLE_NOT_BUILT_IN if support was disabled at compile-time. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP4.md+4 -3
| @@ -69,6 +69,7 @@ supports this operation. The c-ares backend is the only such one. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
| - | CURLE_NOT_BUILT_IN if support was disabled at compile-time, or |
| - | CURLE_BAD_FUNCTION_ARGUMENT when given a bad address. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP6.md+4 -3
| @@ -69,6 +69,7 @@ supports this operation. The c-ares backend is the only such one. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
| - | CURLE_NOT_BUILT_IN if support was disabled at compile-time, or |
| - | CURLE_BAD_FUNCTION_ARGUMENT when given a bad address. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DNS_SERVERS.md+4 -4
| @@ -74,7 +74,7 @@ supports this operation. The c-ares backend is the only such one. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
| - | CURLE_NOT_BUILT_IN if support was disabled at compile-time, |
| - | CURLE_BAD_FUNCTION_ARGUMENT when given an invalid server list, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.md+4 -1
| @@ -68,4 +68,7 @@ Deprecated since 7.11.1. Functionality removed in 7.62.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md+4 -1
| @@ -86,4 +86,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYPEER.md+4 -1
| @@ -98,4 +98,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYSTATUS.md+4 -2
| @@ -73,5 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise |
| - | returns CURLE_NOT_BUILT_IN. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_DOH_URL.md+7 -5
| @@ -90,9 +90,11 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient |
| - | heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| |
| - | Note that curl_easy_setopt(3) does immediately parse the given string so |
| - | when given a bad DoH URL, libcurl might not detect the problem until it later |
| - | tries to resolve a name with it. |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
| + | |
| + | Note that curl_easy_setopt(3) does immediately parse the given string so when |
| + | given a bad DoH URL, libcurl might not detect the problem until it later tries |
| + | to resolve a name with it. |
docs/libcurl/opts/CURLOPT_ECH.md+4 -2
| @@ -104,5 +104,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient |
| - | heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_EGDSOCKET.md+4 -1
| @@ -41,4 +41,7 @@ This option was deprecated in 7.84.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ERRORBUFFER.md+4 -1
| @@ -100,4 +100,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_EXPECT_100_TIMEOUT_MS.md+4 -1
| @@ -60,4 +60,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FAILONERROR.md+4 -1
| @@ -70,4 +70,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FILETIME.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FNMATCH_DATA.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.md+4 -1
| @@ -84,4 +84,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.md+4 -1
| @@ -99,4 +99,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FORBID_REUSE.md+4 -1
| @@ -65,4 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FRESH_CONNECT.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTPPORT.md+4 -2
| @@ -93,5 +93,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTPSSLAUTH.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.md+4 -2
| @@ -65,5 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_ALTERNATIVE_TO_USER.md+4 -2
| @@ -65,5 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md+4 -2
| @@ -82,5 +82,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the |
| - | create value is not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_FILEMETHOD.md+4 -1
| @@ -82,4 +82,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_SKIP_PASV_IP.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_SSL_CCC.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_USE_EPRT.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_USE_EPSV.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if FTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_FTP_USE_PRET.md+4 -1
| @@ -62,4 +62,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md+4 -1
| @@ -60,4 +60,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md+4 -1
| @@ -65,4 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HEADER.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HEADERDATA.md+4 -1
| @@ -85,4 +85,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HEADERFUNCTION.md+4 -1
| @@ -131,4 +131,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HEADEROPT.md+4 -1
| @@ -77,4 +77,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HSTS.md+4 -1
| @@ -80,4 +80,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HSTS_CTRL.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTP09_ALLOWED.md+4 -1
| @@ -64,4 +64,7 @@ responses. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTP200ALIASES.md+4 -1
| @@ -77,4 +77,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTPAUTH.md+4 -3
| @@ -161,6 +161,7 @@ CURLAUTH_AWS_SIGV4 was added in 7.74.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_NOT_BUILT_IN if the bitmask specified no supported authentication |
| - | methods. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTPGET.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTPHEADER.md+4 -1
| @@ -184,4 +184,7 @@ Use for MIME mail added in 7.56.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTPPOST.md+4 -1
| @@ -100,4 +100,7 @@ Deprecated in 7.56.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTP_CONTENT_DECODING.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTP_TRANSFER_DECODING.md+4 -1
| @@ -56,4 +56,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_HTTP_VERSION.md+4 -1
| @@ -119,4 +119,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.md+4 -1
| @@ -73,4 +73,7 @@ Support for FTP added in 7.46.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_INFILESIZE.md+4 -1
| @@ -85,4 +85,7 @@ SMTP support added in 7.23.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_INFILESIZE_LARGE.md+4 -1
| @@ -81,4 +81,7 @@ SMTP support added in 7.23.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_INTERFACE.md+4 -2
| @@ -89,5 +89,7 @@ The `ifhost!` syntax was added in 8.9.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK on success or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_INTERLEAVEDATA.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.md+4 -1
| @@ -98,4 +98,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_IOCTLDATA.md+4 -1
| @@ -72,4 +72,7 @@ Deprecated since 7.18.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_IOCTLFUNCTION.md+4 -1
| @@ -103,4 +103,7 @@ Deprecated since 7.18.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_IPRESOLVE.md+4 -1
| @@ -79,4 +79,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ISSUERCERT.md+4 -2
| @@ -78,5 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_ISSUERCERT_BLOB.md+4 -2
| @@ -89,5 +89,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_KEEP_SENDING_ON_ERROR.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_KEYPASSWD.md+4 -2
| @@ -75,5 +75,7 @@ CURLOPT_SSLCERTPASSWD up to 7.9.2. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_KRBLEVEL.md+4 -2
| @@ -68,5 +68,7 @@ This option was known as CURLOPT_KRB4LEVEL up to 7.16.3 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_LOCALPORT.md+4 -1
| @@ -60,4 +60,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_LOCALPORTRANGE.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md+4 -2
| @@ -81,5 +81,7 @@ Support for OpenLDAP added in 7.82.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_LOW_SPEED_LIMIT.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_LOW_SPEED_TIME.md+4 -1
| @@ -63,4 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAIL_AUTH.md+4 -2
| @@ -74,5 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAIL_FROM.md+4 -2
| @@ -67,5 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAIL_RCPT.md+4 -1
| @@ -81,4 +81,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAIL_RCPT_ALLOWFAILS.md+4 -1
| @@ -80,4 +80,7 @@ two letter L) before 8.2.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAXAGE_CONN.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAXCONNECTS.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAXFILESIZE.md+4 -2
| @@ -67,5 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the size passed is valid or CURLE_BAD_FUNCTION_ARGUMENT if |
| - | not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAXFILESIZE_LARGE.md+4 -2
| @@ -69,5 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_BAD_FUNCTION_ARGUMENT if the size passed is invalid. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAXLIFETIME_CONN.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAXREDIRS.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAX_RECV_SPEED_LARGE.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MAX_SEND_SPEED_LARGE.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_MIME_OPTIONS.md+4 -1
| @@ -95,4 +95,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NETRC.md+4 -1
| @@ -139,4 +139,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NETRC_FILE.md+4 -2
| @@ -64,5 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NEW_DIRECTORY_PERMS.md+4 -1
| @@ -62,4 +62,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NEW_FILE_PERMS.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NOBODY.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NOPROGRESS.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NOPROXY.md+4 -2
| @@ -88,5 +88,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_NOSIGNAL.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_OPENSOCKETDATA.md+4 -1
| @@ -88,4 +88,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_OPENSOCKETFUNCTION.md+4 -1
| @@ -135,4 +135,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PASSWORD.md+4 -2
| @@ -69,5 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PATH_AS_IS.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.md+4 -2
| @@ -149,5 +149,7 @@ Other SSL backends not supported. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PIPEWAIT.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PORT.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_POST.md+4 -1
| @@ -98,4 +98,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_POSTFIELDS.md+4 -1
| @@ -124,4 +124,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_POSTFIELDSIZE_LARGE.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_POSTQUOTE.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_POSTREDIR.md+4 -1
| @@ -81,4 +81,7 @@ This option was known as CURLOPT_POST301 up to 7.19.0 as it only supported the |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PREQUOTE.md+4 -1
| @@ -78,4 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PREREQDATA.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md+4 -1
| @@ -122,4 +122,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PRE_PROXY.md+4 -2
| @@ -82,5 +82,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PRIVATE.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROGRESSDATA.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.md+4 -1
| @@ -126,4 +126,7 @@ Deprecated since 7.32.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROTOCOLS.md+4 -1
| @@ -104,4 +104,7 @@ Deprecated since 7.85.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY.md+4 -2
| @@ -158,5 +158,7 @@ error. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYAUTH.md+4 -3
| @@ -71,6 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_NOT_BUILT_IN if the bitmask specified no supported authentication |
| - | methods. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYHEADER.md+4 -1
| @@ -80,4 +80,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYPASSWORD.md+4 -2
| @@ -68,5 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYPORT.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYTYPE.md+4 -1
| @@ -97,4 +97,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYUSERNAME.md+4 -2
| @@ -68,5 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXYUSERPWD.md+4 -2
| @@ -69,5 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_CAINFO.md+4 -2
| @@ -96,5 +96,7 @@ https://curl.se/docs/ssl-compared.html |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_CAINFO_BLOB.md+4 -2
| @@ -89,5 +89,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_CRLFILE.md+4 -2
| @@ -85,5 +85,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT.md+4 -2
| @@ -82,5 +82,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT_BLOB.md+4 -2
| @@ -92,5 +92,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_KEYPASSWD.md+4 -2
| @@ -73,5 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_PINNEDPUBLICKEY.md+4 -2
| @@ -131,5 +131,7 @@ Other SSL backends not supported. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SERVICE_NAME.md+4 -2
| @@ -63,5 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT.md+4 -2
| @@ -84,5 +84,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLCERTTYPE.md+4 -2
| @@ -78,5 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT_BLOB.md+4 -2
| @@ -83,5 +83,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY.md+4 -2
| @@ -78,5 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLKEYTYPE.md+4 -2
| @@ -69,5 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY_BLOB.md+4 -2
| @@ -83,5 +83,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSLVERSION.md+4 -1
| @@ -128,4 +128,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSL_CIPHER_LIST.md+4 -1
| @@ -102,4 +102,7 @@ Since curl 8.10.0 returns CURLE_NOT_BUILT_IN when not supported. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSL_OPTIONS.md+4 -1
| @@ -117,4 +117,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYHOST.md+3 -2
| @@ -88,6 +88,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| |
| - | If 1 is set as argument, *CURLE_BAD_FUNCTION_ARGUMENT* is returned. |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYPEER.md+4 -1
| @@ -90,4 +90,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_TLS13_CIPHERS.md+4 -1
| @@ -95,4 +95,7 @@ by using the CURLOPT_PROXY_SSL_CIPHER_LIST(3) option. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_PASSWORD.md+4 -2
| @@ -72,5 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_TYPE.md+4 -1
| @@ -79,4 +79,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_USERNAME.md+4 -2
| @@ -72,5 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PROXY_TRANSFER_MODE.md+4 -2
| @@ -64,5 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the |
| - | enabled value is not supported. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_PUT.md+4 -1
| @@ -89,4 +89,7 @@ Deprecated since 7.12.1. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_QUICK_EXIT.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_QUOTE.md+4 -1
| @@ -166,4 +166,7 @@ SFTP support added in 7.16.3. *-prefix for SFTP added in 7.24.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RANDOM_FILE.md+4 -1
| @@ -41,4 +41,7 @@ Deprecated since 7.84.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RANGE.md+4 -2
| @@ -88,5 +88,7 @@ FILE since 7.18.0, RTSP since 7.20.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK on success or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.md+4 -1
| @@ -114,4 +114,7 @@ Deprecated since 7.85.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_REFERER.md+4 -2
| @@ -65,5 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP support is enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_REQUEST_TARGET.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RESOLVE.md+4 -1
| @@ -121,4 +121,7 @@ Support for adding non-permanent entries by using the "+" prefix was added in |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RESOLVER_START_DATA.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RESOLVER_START_FUNCTION.md+4 -1
| @@ -84,4 +84,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RESUME_FROM.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RESUME_FROM_LARGE.md+4 -1
| @@ -75,4 +75,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RTSP_CLIENT_CSEQ.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RTSP_REQUEST.md+4 -1
| @@ -135,4 +135,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RTSP_SERVER_CSEQ.md+4 -1
| @@ -57,4 +57,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RTSP_SESSION_ID.md+4 -2
| @@ -66,5 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RTSP_STREAM_URI.md+4 -2
| @@ -70,5 +70,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_RTSP_TRANSPORT.md+4 -2
| @@ -63,5 +63,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SASL_AUTHZID.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SASL_IR.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SEEKFUNCTION.md+4 -1
| @@ -98,4 +98,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT.md+4 -3
| @@ -71,6 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if supported, and CURLE_UNKNOWN_OPTION if not. Returns |
| - | CURLE_BAD_FUNCTION_ARGUMENT if set to a negative value or a value that when |
| - | converted to milliseconds is too large. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md+4 -3
| @@ -73,6 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if supported, and CURLE_UNKNOWN_OPTION if not. Returns |
| - | CURLE_BAD_FUNCTION_ARGUMENT if set to a negative value or a value that when |
| - | converted to milliseconds is too large. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SERVICE_NAME.md+4 -2
| @@ -68,5 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SHARE.md+4 -1
| @@ -84,4 +84,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SOCKOPTFUNCTION.md+4 -1
| @@ -127,4 +127,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SOCKS5_AUTH.md+4 -2
| @@ -64,5 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_NOT_BUILT_IN if the bitmask contains unsupported flags. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.md+4 -1
| @@ -59,4 +59,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_SERVICE.md+4 -2
| @@ -67,5 +67,7 @@ Deprecated since 7.49.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_AUTH_TYPES.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_COMPRESSION.md+4 -2
| @@ -60,5 +60,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYDATA.md+4 -1
| @@ -74,4 +74,7 @@ Works only with the libssh2 backend. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.md+4 -1
| @@ -99,4 +99,7 @@ Work only with the libssh2 backend. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.md+4 -2
| @@ -70,5 +70,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256.md+4 -2
| @@ -70,5 +70,7 @@ Requires the libssh2 backend. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_KEYDATA.md+4 -1
| @@ -72,4 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.md+4 -1
| @@ -149,4 +149,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_KNOWNHOSTS.md+4 -2
| @@ -67,5 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_PRIVATE_KEYFILE.md+4 -2
| @@ -72,5 +72,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSH_PUBLIC_KEYFILE.md+4 -2
| @@ -71,5 +71,7 @@ The "" trick was added in 7.26.0 |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLCERT.md+4 -2
| @@ -92,5 +92,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLCERTTYPE.md+4 -2
| @@ -76,5 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLCERT_BLOB.md+4 -2
| @@ -83,5 +83,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLKEY.md+4 -2
| @@ -74,5 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLKEYTYPE.md+4 -2
| @@ -80,5 +80,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLKEY_BLOB.md+4 -2
| @@ -85,5 +85,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSLVERSION.md+4 -1
| @@ -154,4 +154,7 @@ Rustls support added in 8.10.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.md+4 -1
| @@ -103,4 +103,7 @@ Since curl 8.10.0 returns CURLE_NOT_BUILT_IN when not supported. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_EC_CURVES.md+4 -1
| @@ -66,4 +66,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.md+4 -1
| @@ -58,4 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.md+4 -1
| @@ -64,4 +64,7 @@ Deprecated since 7.86.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_FALSESTART.md+4 -2
| @@ -58,5 +58,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if false start is supported by the SSL backend, otherwise |
| - | returns CURLE_NOT_BUILT_IN. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_OPTIONS.md+4 -1
| @@ -123,4 +123,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_SESSIONID_CACHE.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_VERIFYHOST.md+4 -1
| @@ -118,4 +118,7 @@ From 7.66.0: libcurl treats 1 and 2 to this option the same. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TLS is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_VERIFYPEER.md+4 -1
| @@ -96,4 +96,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_SSL_VERIFYSTATUS.md+4 -2
| @@ -65,5 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise |
| - | returns CURLE_NOT_BUILT_IN. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_STDERR.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS.md+4 -1
| @@ -73,4 +73,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS_E.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_STREAM_WEIGHT.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TCP_FASTOPEN.md+4 -2
| @@ -62,5 +62,7 @@ This option is only supported on Linux and macOS 10.11 or later. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if fast open is supported by the operating system, otherwise |
| - | returns CURLE_NOT_BUILT_IN. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TCP_KEEPCNT.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.md+4 -1
| @@ -70,4 +70,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.md+4 -1
| @@ -69,4 +69,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TCP_NODELAY.md+4 -1
| @@ -71,4 +71,7 @@ The default was changed to 1 from 0 in 7.50.2. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TELNETOPTIONS.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if TELNET is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TFTP_BLKSIZE.md+4 -1
| @@ -59,4 +59,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TFTP_NO_OPTIONS.md+4 -1
| @@ -74,4 +74,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TIMECONDITION.md+4 -1
| @@ -68,4 +68,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TIMEOUT.md+4 -2
| @@ -85,5 +85,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative |
| - | value or a value that when converted to milliseconds is too large. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TIMEOUT_MS.md+4 -1
| @@ -60,4 +60,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TIMEVALUE.md+4 -1
| @@ -65,4 +65,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TIMEVALUE_LARGE.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TLS13_CIPHERS.md+4 -1
| @@ -95,4 +95,7 @@ by using the CURLOPT_SSL_CIPHER_LIST(3) option. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TLSAUTH_PASSWORD.md+4 -2
| @@ -71,5 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.md+4 -1
| @@ -75,4 +75,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.md+4 -2
| @@ -70,5 +70,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TRAILERDATA.md+4 -1
| @@ -55,4 +55,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.md+4 -1
| @@ -107,4 +107,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TRANSFERTEXT.md+4 -1
| @@ -61,4 +61,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if FTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_TRANSFER_ENCODING.md+4 -1
| @@ -64,4 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_UNIX_SOCKET_PATH.md+4 -1
| @@ -85,4 +85,7 @@ you can use the proc filesystem to bypass the limitation: |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_UNRESTRICTED_AUTH.md+4 -1
| @@ -81,4 +81,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.md+4 -1
| @@ -78,4 +78,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_UPLOAD.md+4 -1
| @@ -93,4 +93,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_UPLOAD_BUFFERSIZE.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_URL.md+6 -5
| @@ -139,9 +139,10 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient |
| - | heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| |
| - | Note that curl_easy_setopt(3) does not parse the given string so given a |
| - | bad URL, it is not detected until curl_easy_perform(3) or similar is |
| - | called. |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
| + | |
| + | Note that curl_easy_setopt(3) does not parse the given string so given a bad |
| + | URL, it is not detected until curl_easy_perform(3) or similar is called. |
docs/libcurl/opts/CURLOPT_USERAGENT.md+4 -2
| @@ -64,5 +64,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if HTTP is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_USERNAME.md+4 -2
| @@ -86,5 +86,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_USERPWD.md+4 -2
| @@ -95,5 +95,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK on success or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_USE_SSL.md+4 -1
| @@ -89,4 +89,7 @@ OpenLDAP backend only. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_VERBOSE.md+4 -1
| @@ -67,4 +67,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_WILDCARDMATCH.md+4 -1
| @@ -107,4 +107,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_WS_OPTIONS.md+4 -1
| @@ -71,4 +71,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_XFERINFODATA.md+4 -1
| @@ -76,4 +76,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.md+4 -1
| @@ -120,4 +120,7 @@ int main(void) |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |
docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.md+4 -2
| @@ -73,5 +73,7 @@ Support for OpenLDAP added in 7.82.0. |
| |
| # RETURN VALUE |
| |
| - | Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
| - | CURLE_OUT_OF_MEMORY if there was insufficient heap space. |
| + | curl_easy_setopt(3) returns a CURLcode indicating success or error. |
| + | |
| + | CURLE_OK (0) means everything was OK, non-zero means an error occurred, see |
| + | libcurl-errors(3). |