curl_multi_init

Syntax

#include <curl/curl.h>

CURLM *curl_multi_init( );

Parameters

None.

Return Values

Handle to a multi curl session. If this function returns NULL, an issue occurred and the other curl functions cannot be used.

Description

This function returns a CURLM handle to be used as input to all the other multi-functions, occasionally referred to as a 'multi handle' in the documentation. This init call must have a corresponding call to curl_multi_cleanup when the operation is complete.

Do Not Call From

None.

See Also

HTTP Client Library (libcurl)
libcurl API Functions
libcurl Error Codes
curl_multi_cleanup
curl_global_init
curl_easy_init

Revision History

2013/09/18 Conversion
2013/05/08 Automated cleanup pass.
2012/05/04 Initial version.


CONFIDENTIAL