aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_WRITEDATA.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-17 08:57:31 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-17 08:57:31 +0100
commit40914fd544efb8c2fa14783351d1dd17619d91fb (patch)
tree9d3499c8266deac35420e6146af77791277f6a07 /docs/libcurl/opts/CURLOPT_WRITEDATA.3
parent8c41f368f5f3be2738221a107d715ef1d3c4506e (diff)
CURLOPT_*.3: more examples and edits
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_WRITEDATA.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_WRITEDATA.312
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/libcurl/opts/CURLOPT_WRITEDATA.3 b/docs/libcurl/opts/CURLOPT_WRITEDATA.3
index be07c769a..0b7a50287 100644
--- a/docs/libcurl/opts/CURLOPT_WRITEDATA.3
+++ b/docs/libcurl/opts/CURLOPT_WRITEDATA.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -46,12 +46,14 @@ By default, this is a FILE * to stdout.
Used for all protocols.
.SH EXAMPLE
A common technique is to use the write callback to store the incoming data
-into a dynamically growing allocated buffer, and then this CURLOPT_WRITEDATA
-is used to point to a struct or the buffer to store data in. Like in the
-getinmemory example: http://curl.haxx.se/libcurl/c/getinmemory.html
+into a dynamically growing allocated buffer, and then this
+\fICURLOPT_WRITEDATA(3)\fP is used to point to a struct or the buffer to store
+data in. Like in the getinmemory example:
+http://curl.haxx.se/libcurl/c/getinmemory.html
.SH AVAILABILITY
Available in all libcurl versions. This option was formerly known as
-\fICURLOPT_FILE\fP, the name \fICURLOPT_WRITEDATA\fP was introduced in 7.9.7.
+\fICURLOPT_FILE\fP, the name \fICURLOPT_WRITEDATA(3)\fP was introduced in
+7.9.7.
.SH RETURN VALUE
This will return CURLE_OK.
.SH "SEE ALSO"