mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
8c1d9378ac
- generate AVAILABILITY manpage sections automatically - for consistent wording - allows us to double-check against other documumentation (symbols-in-versions etc) - enables proper automation/scripting based on this data - lots of them were wrong or missing in the manpages - several of them repeated (sometimes mismatching) backend support info Add test 1488 to verify "added-in" version numbers against symbols-in-versions. Closes #14217
1.4 KiB
1.4 KiB
c | SPDX-License-Identifier | Title | Section | Source | See-also | Protocol | Added-in | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | curl_multi_socket_all | 3 | libcurl |
|
|
7.15.4 |
NAME
curl_multi_socket_all - reads/writes available data for all easy handles
SYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_socket_all(CURLM *multi_handle,
int *running_handles);
DESCRIPTION
This function is deprecated. Do not use. See curl_multi_socket_action(3) instead.
At return, the integer running_handles points to contains the number of still running easy handles within the multi handle. When this number reaches zero, all transfers are complete/done.
Force libcurl to (re-)check all its internal sockets and transfers instead of just a single one by calling curl_multi_socket_all(3). Note that there should not be any reason to use this function.
EXAMPLE
int main(void)
{
int running;
int rc;
CURLM *multi;
rc = curl_multi_socket_all(multi, &running);
}
RETURN VALUE
CURLMcode type, general libcurl multi interface error code.
The return code is for the whole multi stack. Problems still might have occurred on individual transfers even when one of these functions return OK.