|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: [mem curl]
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Nov 2009 10:11:04 +0100 (CET)
On Fri, 6 Nov 2009, ื๓าใ wrote:
> if i use curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, pmem)
You point it to whatever you like.
> and now ,what my question is that, how the memery was malloced? by malloc or
That's up to you and your application to decide!
> besides, which function should i invoke to free the memery?
That then depends on how you allocated it - if you did allocate it.
CURLOPT_WRITEDATA points to whatever data you want to point to. libcurl
-- / daniel.haxx.se
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 16, 2009.
web site info