mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
docs/libcurl/opts: clarify the return values
Expand a little. - mention the type name of the return code - avoid stating which exact return codes that might be returned, as that varies over time, builds and conditions - avoid stating some always return OK - refer to the manpage documenting all the return codes Closes #15900
This commit is contained in:
parent
e256d9df6d
commit
e694c8284a
376 changed files with 1508 additions and 483 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue