Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / docs / libcurl / curl_easy_cleanup.3
blob2f7eb8257db1a01bbc5282b091866bf0488cb0e3
1 .\" **************************************************************************
2 .\" *                                  _   _ ____  _
3 .\" *  Project                     ___| | | |  _ \| |
4 .\" *                             / __| | | | |_) | |
5 .\" *                            | (__| |_| |  _ <| |___
6 .\" *                             \___|\___/|_| \_\_____|
7 .\" *
8 .\" * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
9 .\" *
10 .\" * This software is licensed as described in the file COPYING, which
11 .\" * you should have received as part of this distribution. The terms
12 .\" * are also available at http://curl.haxx.se/docs/copyright.html.
13 .\" *
14 .\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 .\" * copies of the Software, and permit persons to whom the Software is
16 .\" * furnished to do so, under the terms of the COPYING file.
17 .\" *
18 .\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 .\" * KIND, either express or implied.
20 .\" *
21 .\" * $Id: curl_easy_cleanup.3,v 1.1.1.1 2008-09-23 16:32:05 hoffman Exp $
22 .\" **************************************************************************
23 .\"
24 .TH curl_easy_cleanup 3 "22 aug 2007" "libcurl 7.17.0" "libcurl Manual"
25 .SH NAME
26 curl_easy_cleanup - End a libcurl easy session
27 .SH SYNOPSIS
28 .B #include <curl/curl.h>
30 .BI "void curl_easy_cleanup(CURL *" handle ");"
32 .SH DESCRIPTION
33 This function must be the last function to call for an easy session. It is the
34 opposite of the \fIcurl_easy_init(3)\fP function and must be called with the
35 same \fIhandle\fP as input that the curl_easy_init call returned.
37 This will effectively close all connections this handle has used and possibly
38 has kept open until now. Don't call this function if you intend to transfer
39 more files.
41 Any uses of the \fBhandle\fP after this function has been called are
42 illegal. This kills the handle and all memory associated with it!
44 With libcurl versions prior to 7.17.: when you've called this, you can safely
45 remove all the strings you've previously told libcurl to use, as it won't use
46 them anymore now.
47 .SH RETURN VALUE
48 None
49 .SH "SEE ALSO"
50 .BR curl_easy_init "(3), "