CURLMINFO_XFERS_ADDED(3)
π
CURLMINFO_XFERS_ADDED(3) β the curl_multi_get_offt offt constant, bestie β¨
okay so this is a page from the Library Functions Manual, and it's about CURLMINFO_XFERS_ADDED β like, the whole point is counting every single easy handle that ever got added. yes bestie, ever. π
β¨ NAME β¨
CURLMINFO_XFERS_ADDED β the cumulative number of all easy handles added π
πΈ SYNOPSIS πΈ
#include <curl/curl.h>
CURLMcode curl_multi_get_offt(CURLM *handle, CURLMINFO_XFERS_ADDED,
curl_off_t *pvalue);
π¦ DESCRIPTION π¦
So the vibe here is: the cumulative number of all easy handles added to the multi, ever. Not "right now", not "at the moment" β ever. It's a running total that just keeps going up like your screen time π.
And the way that this includes internal handles added for tasks β like resolving via DoH, for example β periodt. So those sneaky little internal ones count too, no cap. π
if you're actually trying to find the current number of easy handles the multi is managing right now, that is NOT this. go use CURLMINFO_XFERS_CURRENT(3) instead, bestie π«Ά
π DEFAULT π
n/a
(literally nothing, it's giving "no default needed" π)
π PROTOCOLS π
This functionality affects all supported protocols β¨ β every single one, we love an inclusive icon.
π EXAMPLE π
int main(void)
{
CURLM *m = curl_multi_init();
curl_off_t value;
curl_multi_get_offt(m, CURLMINFO_XFERS_ADDED, &value);
}
look at her go π
β AVAILABILITY β
Added in curl 8.16.0 β so if you're on something older, she is not there yet, sorry π₯²
π₯ 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 β go check libcurl-errors(3) for the tea π.
πΈ SEE ALSO πΈ
and that's the whole page, bestie π this iconic little number came to you from libcurl, dated 2026-10-25, and it's filed under CURLMINFO_XFERS_ADDED(3) β mwah, mwah, go count some handles π§β¨
π¦ 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