#include <curl/curl.h> CURLMcode curl_multi_cleanup( CURLM *multi_handle );
|multi_handle||Pointer to a multi handle.|
If the operation was successful,
CURLM_OK is returned. Otherwise, a specific
CURLM libcurl Error Code is returned.
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
curl_easy_cleanup process. The order of cleaning up should be as follows.
curl_multi_remove_handlebefore any easy handles are cleaned up.
curl_easy_cleanupcan now be called independently since the easy handle is no longer connected to the multi handle.
curl_multi_cleanupshould be called when all easy handles are removed.
2013/05/08 Automated cleanup pass.
2012/05/04 Initial version.