998 B
998 B
| c | SPDX-License-Identifier | Title | Section | Source | See-also | Protocol | Added-in | |||
|---|---|---|---|---|---|---|---|---|---|---|
| Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | CURLMINFO_XFERS_DONE | 3 | libcurl |
|
|
8.16.0 |
NAME
CURLMINFO_XFERS_DONE - Number of finished unprocessed easy handles
SYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_get_offt(CURLM *handle, CURLMINFO_XFERS_DONE,
curl_off_t *pvalue);
DESCRIPTION
The number of easy handles currently finished, but not yet processed via curl_multi_info_read(3).
DEFAULT
n/a
%PROTOCOLS%
EXAMPLE
int main(void)
{
CURLM *m = curl_multi_init();
curl_off_t value;
curl_multi_get_offt(m, CURLMINFO_XFERS_DONE, &value);
}
%AVAILABILITY%
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).