2 <title>curl_easy_cleanup man page
</title>
3 <meta name=
"generator" content=
"roffit 0.7">
4 <STYLE type=
"text/css">
30 background-color: #e0e0e0;
36 font-family: monospace;
46 <p class=
"level0"><a name=
"NAME"></a><h2 class=
"nroffsh">NAME
</h2>
47 <p class=
"level0">curl_easy_cleanup - End a libcurl easy session
<a name=
"SYNOPSIS"></a><h2 class=
"nroffsh">SYNOPSIS
</h2>
48 <p class=
"level0"><span Class=
"bold">#include
<curl/curl.h
></span>
49 <p class=
"level0"><span Class=
"bold">void curl_easy_cleanup(CURL * handle );
</span>
50 <p class=
"level0"><a name=
"DESCRIPTION"></a><h2 class=
"nroffsh">DESCRIPTION
</h2>
51 <p class=
"level0">This function must be the last function to call for an easy session. It is the opposite of the
<a class=
"emphasis" href=
"./curl_easy_init.html">curl_easy_init(
3)
</a> function and must be called with the same
<span Class=
"emphasis">handle
</span> as input that the curl_easy_init call returned.
52 <p class=
"level0">This will effectively close all connections this handle has used and possibly has kept open until now. Don't call this function if you intend to transfer more files.
53 <p class=
"level0">Any uses of the
<span Class=
"bold">handle
</span> after this function has been called are illegal. This kills the handle and all memory associated with it!
54 <p class=
"level0">With libcurl versions prior to
7.17.: when you've called this, you can safely remove all the strings you've previously told libcurl to use, as it won't use them anymore now.
<a name=
"RETURN"></a><h2 class=
"nroffsh">RETURN VALUE
</h2>
55 <p class=
"level0">None
<a name=
"SEE"></a><h2 class=
"nroffsh">SEE ALSO
</h2>
56 <p class=
"level0"><a class=
"manpage" href=
"./curl_easy_init.html">curl_easy_init (
3)
</a> <span Class=
"manpage"> </span>
57 <p class=
"level0"><p class=
"roffit">
58 This HTML page was made with
<a href=
"http://daniel.haxx.se/projects/roffit/">roffit
</a>.