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

NAME

6       curl_easy_cleanup - End a libcurl easy session
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       void curl_easy_cleanup(CURL *handle);
12
13

DESCRIPTION

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       Any uses of the handle after this function has been called are illegal.
24       This kills the handle and all memory associated with it!
25
26       With libcurl versions prior to 7.17.: when you've called this, you  can
27       safely remove all the strings you've previously told libcurl to use, as
28       it won't use them anymore now.
29

RETURN VALUE

31       None
32

SEE ALSO

34       curl_easy_init(3),
35
36
37
38
39libcurl 7.17.0                    22 aug 2007             curl_easy_cleanup(3)
Impressum