CURLMINFO_XFERS_RUNNING(3) Introduction to Library Functions
CURLMINFO_XFERS_RUNNING - Number of easy handles currently running
#include <curl/curl.h>
CURLMcode curl_multi_get_offt(CURLM *handle, CURLMINFO_XFERS_RUNNING,
curl_off_t *pvalue);
The number of easy handles currently running, e.g. where the transfer
has started but not finished yet.
n/a
This functionality affects all supported protocols
int main(void)
{
CURLM *m = curl_multi_init();
curl_off_t value;
curl_multi_get_offt(m, CURLMINFO_XFERS_RUNNING, &value);
}
Added in curl 8.16.0
curl_multi_get_offt(3) returns a CURLMcode indicating success or
error.
CURLM_OK (0) means everything was OK, non-zero means an error
occurred, see libcurl-errors(3).
CURLMINFO_XFERS_CURRENT(3), CURLMINFO_XFERS_PENDING(3)
libcurl 2026-01-08 CURLMINFO_XFERS_RUNNING(3)
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(3) returns a CURLMcode indicating success or
error.
CURLM_OK (0) means everything was OK, non-zero means an error
occurred, see libcurl-errors(3).
SEE ALSO
CURLMINFO_XFERS_CURRENT(3), CURLMINFO_XFERS_PENDING(3)
libcurl 2026-01-08 CURLMINFO_XFERS_RUNNING(3)