1curl_share_cleanup(3) libcurl Manual curl_share_cleanup(3)
2
3
4
6 curl_share_cleanup - Clean up a shared object
7
9 #include <curl/curl.h>
10
11 CURLSHcode curl_share_cleanup(CURLSH *share_handle);
12
14 This function deletes a shared object. The share handle cannot be used
15 anymore when this function has been called.
16
17 Passing in a NULL pointer in share_handle will make this function
18 return immediately with no action.
19
21 CURLSHE_OK (zero) means that the option was set properly, non-zero
22 means an error occurred as <curl/curl.h> defines. See the libcurl-
23 errors.3 man page for the full list with descriptions. If an error
24 occurs, then the share object will not be deleted.
25
27 curl_share_init(3), curl_share_setopt(3)
28
29
30
31libcurl 7.66.0 August 09, 2018 curl_share_cleanup(3)