cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl library problem - symbols not found

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Aug 2008 09:30:26 +0200 (CEST)

On Thu, 7 Aug 2008, Patrick Galbraith wrote:

> I used this example to do storing the output of curl_easy_perform()
>
> http://curl.haxx.se/lxr/source/docs/examples/getinmemory.c
>
> All I really want is a char array of the site I fetch. Is there a better way
> to do this?

"better" is of course highly subjective and depends entirely on your
objectives. That example above shows one generic way how you can get the
response into a memory area instead of a file or similar. You can of course
change it as you see fit.

-- 
  / daniel.haxx.se
Received on 2008-08-07