1curl_easy_cleanup(3) libcurl Manual curl_easy_cleanup(3)
2
3
4
6 curl_easy_cleanup - End a libcurl easy session
7
9 #include <curl/curl.h>
10
11 void curl_easy_cleanup(CURL *handle);
12
13
15 This function must be the last function to call for an easy session. It
16 is the opposite of the curl_easy_init(3) function and must be called
17 with the same handle as input that the curl_easy_init call returned.
18
19 This will effectively close all connections this handle has used and
20 possibly has kept open until now. Don't call this function if you
21 intend to transfer more files.
22
23 When you've called this, you can safely remove all the strings you've
24 previously told libcurl to use, as it won't use them anymore now.
25
26 Any uses of the handle after this function has been called are illegal.
27 This kills the handle and all memory associated with it!
28
30 None
31
33 curl_easy_init(3),
34
35
36
37
38libcurl 7.7 12 Oct 2006 curl_easy_cleanup(3)