aboutsummaryrefslogtreecommitdiff
path: root/docs/curl_easy_perform.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/curl_easy_perform.3')
-rw-r--r--docs/curl_easy_perform.311
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/curl_easy_perform.3 b/docs/curl_easy_perform.3
index 35b3b6118..959340c15 100644
--- a/docs/curl_easy_perform.3
+++ b/docs/curl_easy_perform.3
@@ -4,11 +4,11 @@
.\"
.TH curl_easy_perform 3 "26 May 2000" "Curl 7.0" "libcurl Manual"
.SH NAME
-curl_easy_perform - Do the actual transfers in a "easy" session
+curl_easy_perform - Do the actual transfer in a "easy" session
.SH SYNOPSIS
.B #include <curl/easy.h>
.sp
-.BI "curl_easy_perform(CURL *" handle ");
+.BI "CURLcode curl_easy_perform(CURL *" handle ");
.ad
.SH DESCRIPTION
This function is called after the init and all the curl_easy_setopt() calls
@@ -17,7 +17,12 @@ It must be called with the same
.I handle
as input as the curl_easy_init call returned.
.SH RETURN VALUE
-None
+0 means everything was ok, non-zero means an error occurred as
+.I <curl/curl.h>
+defines. If the CURLOPT_ERRORBUFFER was set with
+.I curl_easy_setopt
+there willo be a readable error message in the error buffer when non-zero is
+returned.
.SH "SEE ALSO"
.BR curl_easy_init "(3), " curl_easy_setopt "(3), "
.SH BUGS