CURLMINFO_XFERS_DONE(3)
π CURLMINFO_XFERS_DONE(3) π
ok so real talk, bestie β this page lives in the Library Functions Manual section, and it's all about CURLMINFO_XFERS_DONE. say it with me one time. iconic. periodt.
β¨ NAME β¨
CURLMINFO_XFERS_DONE β the number of finished-but-not-yet-processed easy handles π
β¨ SYNOPSIS β¨
#include <curl/curl.h>
CURLMcode curl_multi_get_offt(CURLM *handle, CURLMINFO_XFERS_DONE,
curl_off_t *pvalue);
β¨ DESCRIPTION β¨
okay so. this is the count of easy handles that are currently finished but have not yet been processed via curl_multi_info_read(3). like they're done done, results sitting there, just nobody's come to pick them up yet. the way that queue just waits ππ
β¨ DEFAULT β¨
n/a β literally nothing, there's no default, bestie, it's a read π«Ά
β¨ PROTOCOLS β¨
this functionality affects all supported protocols. all of them. every single one. ππ
β¨ EXAMPLE β¨
int main(void)
{
CURLM *m = curl_multi_init();
curl_off_t value;
curl_multi_get_offt(m, CURLMINFO_XFERS_DONE, &value);
}
short, sweet, ate and left no crumbs π
β¨ AVAILABILITY β¨
added in curl 8.16.0 β (so if you're on something older, vibe check your version first π¦)
β¨ RETURN VALUE β¨
curl_multi_get_offt(3) returns a CURLMcode β that's the "did it work tho" code.
CURLM_OK (0) means everything was OK π. anything non-zero means an error occurred π β go see libcurl-errors(3) for the tea. iykyk.
β¨ SEE ALSO β¨
ngl, those two above are the sibling icons of this page β go read them too, bestie, don't leave them on read π
ok that's the whole page, you're so welcome π β this masterpiece is brought to you by libcurl, dated 2026-10-25, and it's called CURLMINFO_XFERS_DONE(3) in case you forgot already, mwah πΈπ§ββοΈ
π¦ where this page comes from
- alpine 3.23: curl-doc 8.23.0-r0 Β· curl
- alpine 3.24: curl-doc 8.23.0-r0 Β· curl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms