curl/docs/curl_easy_cleanup.3

30 lines
810 B
Groff
Raw Normal View History

2000-05-23 03:02:54 +08:00
.\" You can view this file with:
.\" nroff -man [file]
.\" $Id$
2000-05-23 03:02:54 +08:00
.\"
2001-03-05 23:51:34 +08:00
.TH curl_easy_cleanup 3 "5 March 2001" "libcurl 7.7" "libcurl Manual"
2000-05-23 03:02:54 +08:00
.SH NAME
2001-03-05 23:51:34 +08:00
curl_easy_cleanup - End a libcurl session
2000-05-23 03:02:54 +08:00
.SH SYNOPSIS
2001-03-05 23:51:34 +08:00
.B #include <curl/curl.h>
2000-05-23 03:02:54 +08:00
.sp
2001-06-21 17:39:19 +08:00
.BI "void curl_easy_cleanup(CURL *" handle ");"
2000-05-23 03:02:54 +08:00
.ad
.SH DESCRIPTION
This function must be the last function to call for a curl session. It is the
opposite of the
.I curl_easy_init
function and must be called with the same
.I handle
as input as the curl_easy_init call returned.
2001-03-05 23:51:34 +08:00
This will effectively close all connections libcurl has been used and possibly
has kept open until now. Don't call this function if you intend to transfer
more files (libcurl 7.7 or later).
2000-05-23 03:02:54 +08:00
.SH RETURN VALUE
None
.SH "SEE ALSO"
.BR curl_easy_init "(3), "
.SH BUGS
Surely there are some, you tell me!