Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
curl_multi_cleanup(3) | libcurl | curl_multi_cleanup(3) |
NAME
curl_multi_cleanup - close down a multi sessionDESCRIPTION
Cleans up and removes a whole multi stack. It does not free or touch any individual easy handles in any way - they still need to be closed individually, using the usual curl_easy_cleanup(3) way. The order of cleaning up should be:EXAMPLE
int main(void)
{
CURLM *multi = curl_multi_init();
/* when the multi transfer is done ... */
/* remove all easy handles, then: */
curl_multi_cleanup(multi);
}
AVAILABILITY
Added in 7.9.6RETURN VALUE
CURLMcode type, general libcurl multi interface error code. On success, CURLM_OK is returned.SEE ALSO
curl_easy_cleanup(3), curl_multi_get_handles(3), curl_easy_init(3), curl_multi_init(3)December 4, 2023 | libcurl 8.5.0 |