1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-08 18:45:05 -05:00
curl/docs/curl_easy_cleanup.3

30 lines
810 B
Groff
Raw Normal View History

2000-05-22 15:02:54 -04:00
.\" You can view this file with:
.\" nroff -man [file]
.\" $Id$
2000-05-22 15:02:54 -04:00
.\"
2001-03-05 10:51:34 -05:00
.TH curl_easy_cleanup 3 "5 March 2001" "libcurl 7.7" "libcurl Manual"
2000-05-22 15:02:54 -04:00
.SH NAME
2001-03-05 10:51:34 -05:00
curl_easy_cleanup - End a libcurl session
2000-05-22 15:02:54 -04:00
.SH SYNOPSIS
2001-03-05 10:51:34 -05:00
.B #include <curl/curl.h>
2000-05-22 15:02:54 -04:00
.sp
2001-06-21 05:39:19 -04:00
.BI "void curl_easy_cleanup(CURL *" handle ");"
2000-05-22 15:02:54 -04: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 10:51:34 -05: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-22 15:02:54 -04:00
.SH RETURN VALUE
None
.SH "SEE ALSO"
.BR curl_easy_init "(3), "
.SH BUGS
Surely there are some, you tell me!