curl_multi_init(3) [minix man page]
curl_multi_init(3) libcurl Manual curl_multi_init(3) NAME
curl_multi_init - create a multi handle SYNOPSIS
#include <curl/curl.h> CURLM *curl_multi_init( ); DESCRIPTION
This function returns a CURLM handle to be used as input to all the other multi-functions, sometimes referred to as a multi handle in some places in the documentation. This init call MUST have a corresponding call to curl_multi_cleanup(3) when the operation is complete. RETURN VALUE
If this function returns NULL, something went wrong and you cannot use the other curl functions. SEE ALSO
curl_multi_cleanup(3),curl_global_init(3),curl_easy_init(3) libcurl 7.9.5 1 March 2002 curl_multi_init(3)
Check Out this Related Man Page
curl_multi_cleanup(3) libcurl Manual curl_multi_cleanup(3) NAME
curl_multi_cleanup - close down a multi session SYNOPSIS
#include <curl/curl.h> CURLMcode curl_multi_cleanup( CURLM *multi_handle ); DESCRIPTION
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: 1 - curl_multi_remove_handle(3) before any easy handles are cleaned up 2 - curl_easy_cleanup(3) can now be called independently since the easy handle is no longer connected to the multi handle 3 - 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) libcurl 7.9.5 1 March 2002 curl_multi_cleanup(3)