mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
docs/libcurl: return value overhall
Unified, extended, clarified the return values for numerous functions Closes #15899
This commit is contained in:
parent
41e5a116a1
commit
4501b7e28d
38 changed files with 184 additions and 70 deletions
|
|
@ -138,6 +138,9 @@ might end up having to cache 64 MB of data.
|
|||
|
||||
# RETURN VALUE
|
||||
|
||||
CURLE_OK (zero) means that the option was set properly, and a non-zero return
|
||||
code means something wrong occurred after the new state was set. See the
|
||||
libcurl-errors(3) man page for the full list with descriptions.
|
||||
This function returns a CURLcode indicating success or error.
|
||||
|
||||
CURLE_OK (0) means everything was OK, non-zero means an error occurred, see
|
||||
libcurl-errors(3). If CURLOPT_ERRORBUFFER(3) was set with curl_easy_setopt(3)
|
||||
there can be an error message stored in the error buffer when non-zero is
|
||||
returned.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue