aboutsummaryrefslogtreecommitdiff
path: root/docs/curl_easy_setopt.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-10 13:11:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-10 13:11:24 +0000
commit65b9c0d44df8e72d262cb8f0b942709570b061ac (patch)
tree29db1b841d2c9bd80c0fa3cb6d7f995f9344a7cc /docs/curl_easy_setopt.3
parentf2a25966cf7d18070a7f0e7a61379c3a6e7605b5 (diff)
CURLOPT_WRITEFUNCTION description corrected
Diffstat (limited to 'docs/curl_easy_setopt.3')
-rw-r--r--docs/curl_easy_setopt.314
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3
index 097ad209d..07c9ec89a 100644
--- a/docs/curl_easy_setopt.3
+++ b/docs/curl_easy_setopt.3
@@ -51,13 +51,13 @@ NOTE: If you're using libcurl as a win32 DLL, you MUST use the
\fICURLOPT_WRITEFUNCTION\fP if you set this option.
.TP
.B CURLOPT_WRITEFUNCTION
-Function pointer that should match the following prototype:
-.BI "size_t function( void *ptr, size_t size, size_t nmemb, void *stream);"
-This function gets called by libcurl as soon as there is received data that
-needs to be written down. The size of the data pointed to by \fIptr\fP is
-\fIsize\fP multiplied with \fInmemb\fP. Return the number of bytes actually
-written or return -1 to signal error to the library (it will cause it to abort
-the transfer with CURLE_WRITE_ERROR).
+Function pointer that should match the following prototype: \fBsize_t
+function( void *ptr, size_t size, size_t nmemb, void *stream);\fP This
+function gets called by libcurl as soon as there is received data that needs
+to be written down. The size of the data pointed to by \fIptr\fP is \fIsize\fP
+multiplied with \fInmemb\fP. Return the number of bytes actually written or
+return -1 to signal error to the library (it will cause it to abort the
+transfer with CURLE_WRITE_ERROR).
Set the \fIstream\fP argument with the \fBCURLOPT_FILE\fP option.
.TP