libcurl Manual curl_multi_cleanup(3)
NAME
curl_multi_cleanup - close down a multi session
SYNOPSIS
#include
CURLMcode curl_multi_cleanup( CURLM *multi_handle );
DESCRIPTION
Cleans up and removes a whole multi stack. It does not freeor touch any individual easy handles in any way - they still
need to be closed individually, using the usualcurl_easy_cleanup(3) way. The order of cleaning up should
be:1 - curl_multi_remove_handle(3) before any easy handles are
cleaned up2 - curl_easy_cleanup(3) can now be called independently
since the easy handle is no longer connected to the multi handle3 - curl_multi_cleanup(3) should be called when all easy
handles are removed RETURN VALUE CURLMcode type, general libcurl multi interface error code.SEE ALSO
curl_multi_init(3),curl_easy_cleanup(3),curl_easy_init(3)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | web/curl ||____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTESSource for C-URL is available on http://opensolaris.org.
libcurl 7.9.5 Last change: 1 March 2002 1