![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_IOCTLDATA - pointer passed to I/O callback SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_IOCTLDATA, void *pointer); DESCRIPTIONPass the pointer that is untouched by libcurl and passed as the 3rd argument in the ioctl callback set with CURLOPT_IOCTLFUNCTION(3). DEFAULTNULL PROTOCOLSThis functionality affects all supported protocols EXAMPLE#include <unistd.h> /* for lseek */ struct data { DEPRECATEDDeprecated since 7.18.0. AVAILABILITYAdded in curl 7.12.3 RETURN VALUEcurl_easy_setopt(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLOPT_IOCTLFUNCTION(3), CURLOPT_SEEKFUNCTION(3)
|