.\" generated by cd2nroff 0.1 from CURLMINFO_XFERS_PENDING.md .TH CURLMINFO_XFERS_PENDING 3 "2025-09-10" libcurl .SH NAME CURLMINFO_XFERS_PENDING \- Number of easy handles waiting to start .SH SYNOPSIS .nf #include CURLMcode curl_multi_get_offt(CURLM *handle, CURLMINFO_XFERS_PENDING, curl_off_t *pvalue); .fi .SH DESCRIPTION The number of current easy handles waiting to start. An added transfer might become pending for various reasons: a connection limit forces it to wait, resolving DNS is not finished or it is not clear if an existing, matching connection may allow multiplexing (HTTP/2 or HTTP/3). .SH DEFAULT n/a .SH PROTOCOLS This functionality affects all supported protocols .SH EXAMPLE .nf int main(void) { CURLM *m = curl_multi_init(); curl_off_t value; curl_multi_get_offt(m, CURLMINFO_XFERS_PENDING, &value); } .fi .SH AVAILABILITY Added in curl 8.16.0 .SH RETURN VALUE \fIcurl_multi_get_offt(3)\fP returns a CURLMcode indicating success or error. CURLM_OK (0) means everything was OK, non\-zero means an error occurred, see \fIlibcurl\-errors(3)\fP. .SH SEE ALSO .BR CURLMINFO_XFERS_CURRENT (3), .BR CURLMINFO_XFERS_RUNNING (3)