CURLMINFO_XFERS_RUNNING explained
Name
CURLMINFO_XFERS_RUNNING - Number of easy handles currently running
Synopsis
#include <curl/curl.h> CURLMcode curl_multi_get_offt(CURLM *handle, CURLMINFO_XFERS_RUNNING, curl_off_t *pvalue);
Description
The number of easy handles currently running, e.g. where the transfer has started but not finished yet.
Default
n/a
Protocols
This functionality affects all supported protocols
Example
int main(void) { CURLM *m = curl_multi_init(); curl_off_t value; curl_multi_get_offt(m, CURLMINFO_XFERS_RUNNING, &value); }
Availability
Added in curl 8.16.0
Return value
curl_multi_get_offt returns a CURLMcode indicating success or error.
CURLM_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors.
See also
CURLMINFO_XFERS_CURRENT(3), CURLMINFO_XFERS_PENDING(3)
This HTML page was made with roffit.