diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_WRITEDATA.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_WRITEDATA.3 | 12 |
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" |