X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Flibcurl%2Fopts%2FCURLOPT_WRITEDATA.3;h=0b7a50287ce0f68af45431c79806c5a2bc9aeebd;hb=31368b6eac8092a307849518e912b4c475c0238a;hp=be07c769ab0ebe227262045f7f0a05d4d6fdf59f;hpb=ff9f0eb35d80c251e9a54162eae18f44349ae59d;p=platform%2Fupstream%2Fcurl.git diff --git a/docs/libcurl/opts/CURLOPT_WRITEDATA.3 b/docs/libcurl/opts/CURLOPT_WRITEDATA.3 index be07c76..0b7a502 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, , et al. +.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, , 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"