1curl_share_cleanup(3)           libcurl Manual           curl_share_cleanup(3)
2
3
4

NAME

6       curl_share_cleanup - Clean up a shared object
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLSHcode curl_share_cleanup(CURLSH *share_handle);
12

DESCRIPTION

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  re‐
18       turn immediately with no action.
19

RETURN VALUE

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-er‐
23       rors.3  man  page  for the full list with descriptions. If an error oc‐
24       curs, then the share object will not be deleted.
25

SEE ALSO

27       curl_share_init(3), curl_share_setopt(3)
28
29
30
31libcurl 7.76.1                 November 05, 2020         curl_share_cleanup(3)
Impressum