Yes. The function signature is the same signature as the stdio fwrite function, allowing you to use fwrite as the callback function if all you want to do is capture the response to a file.
On Sat, Apr 28, 2012 at 2:43 AM, Rogues <[email protected]> wrote: > Quick question, in this function size_t write_data(char *ptr, size_t size, > size_t nmemb, void *userdata), what does size and nmemb represent? nmemb > probably means number of members, and does size refer to the size of each > member? > > Thanks, > > Rogues > ------------------------------**------------------------------**------- > List admin: > http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library> > Etiquette: > http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html> >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
