cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL and CULM data structure

From: Rich Gray <rgray_at_plustechnologies.com>
Date: Fri, 28 Oct 2016 09:55:13 -0400

Ramachandran, Agalya (Contractor) wrote:
> Hi team,
>
> I have a query with respect to CURL and CURLM data structure.
>
> For debugging purpose, I want to print the actual value in the following
> handles.
>
> ·CURL *handle;
>
> ·CURLM *multi_handle;
>
> Can you please guide me what is the data structure for CURL, and how can I
> print it in ‘C’ language?
>
> Regards,
>
> Agalya

Use %p to format pointers. It formats addresses as hex.

printf("curl handle %p", handle);

- Rich
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-28