Query: curlopt_ioctldata
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLOPT_IOCTLDATA(3) curl_easy_setopt options CURLOPT_IOCTLDATA(3)NAMECURLOPT_IOCTLDATA - custom pointer passed to I/O callbackSYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_IOCTLDATA, void *pointer);DESCRIPTIONPass the pointer that will be untouched by libcurl and passed as the 3rd argument in the ioctl callback set with CURLOPT_IOCTLFUNCTION(3).DEFAULTBy default, the value of this parameter is NULL.PROTOCOLSUsed with HTTPEXAMPLETODOAVAILABILITYAdded in 7.12.3RETURN VALUEReturns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.SEE ALSOCURLOPT_IOCTLFUNCTION(3), CURLOPT_SEEKFUNCTION(3), libcurl 7.54.0 February 03, 2016 CURLOPT_IOCTLDATA(3)