---
name: "CURLMINFO_XFERS_ADDED"
section: "3"
platform: "linux"
package: "curl"
version: "8.23.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/CURLMINFO_XFERS_ADDED"
---

# CURLMINFO\_XFERS\_ADDED(3)

Cumulative number of all easy handles added

## NAME

CURLMINFO\_XFERS\_ADDED - 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

The cumulative number of all easy handles added to the multi, ever. This includes internal handles added for tasks (like resolving via DoH, for example).

For the current number of easy handles managed by the multi, use *[CURLMINFO\_XFERS\_CURRENT(3)](/CURLMINFO_XFERS_CURRENT/3.md)*.

## 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_ADDED, &value);
}
```

## AVAILABILITY

Added in curl 8.16.0

## RETURN VALUE

*[curl\_multi\_get\_offt(3)](/curl_multi_get_offt/3.md)* returns a CURLMcode indicating success or error.

CURLM\_OK (0) means everything was OK, non-zero means an error occurred, see *[libcurl-errors(3)](/libcurl-errors/3.md)*.

## SEE ALSO

[**CURLMINFO\_XFERS\_CURRENT**(3)](/CURLMINFO_XFERS_CURRENT/3.md), [**CURLMINFO\_XFERS\_DONE**(3)](/CURLMINFO_XFERS_DONE/3.md), [**CURLMINFO\_XFERS\_RUNNING**(3)](/CURLMINFO_XFERS_RUNNING/3.md)
