CURLOPT_IOCTLDATA man page

CURLOPT_IOCTLDATA — custom pointer passed to I/O callback

Synopsis

#include <curl/curl.h>

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_IOCTLDATA, void *pointer);

Description

Pass the pointer that will be untouched by libcurl and passed as the 3rd argument in the ioctl callback set with CURLOPT_IOCTLFUNCTION(3).

Default

By default, the value of this parameter is NULL.

Protocols

Used with HTTP

Example

TODO

Availability

Added in 7.12.3

Return Value

Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.

See Also

CURLOPT_IOCTLFUNCTION(3), CURLOPT_SEEKFUNCTION(3),

Referenced By

curl_easy_setopt(3), CURLOPT_IOCTLFUNCTION(3).

16 Jun 2014 libcurl 7.37.0 curl_easy_setopt options