diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-06-16 22:01:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-06-16 22:01:08 +0200 |
commit | a5e498b543a898a5bd5ec38ba6d839666b6665b8 (patch) | |
tree | a14d61444d355e67f50112f16bb1a736d311b135 /docs/libcurl/opts | |
parent | 93ec89042eadd2a73c2ce815971c4dea10129cea (diff) |
CURLOPT_WRITEFUNCTION: add RETURN VALUE and DEFAULT sections
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 b/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 index 7e9bbb504..456e898d7 100644 --- a/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 @@ -65,10 +65,14 @@ default is 16K). If you however have \fICURLOPT_HEADER(3)\fP set, which sends header data to the write callback, you can get up to \fICURL_MAX_HTTP_HEADER\fP bytes of header data passed into it. This usually means 100K. +.SH DEFAULT +libcurl will use 'fwrite' as a callback by default. .SH PROTOCOLS For all protocols .SH AVAILABILITY Support for the CURL_WRITEFUNC_PAUSE return code was added in version 7.18.0. +.SH RETURN VALUE +This will return CURLE_OK. .SH EXAMPLE A common technique is to use this callback to store the incoming data into a dynamically growing allocated buffer. Like in the getinmemory example: |