mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
curl_multi_wait.3: clarify numfds being used if not NULL
This commit is contained in:
parent
bc860548c2
commit
29aa9a37cc
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -33,9 +33,9 @@ CURLMcode curl_multi_wait(CURLM *multi_handle,
|
|||||||
int *numfds);
|
int *numfds);
|
||||||
.ad
|
.ad
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function polls on all file descriptors used by the curl easy handles
|
\fIcurl_multi_wait(3)\fP polls all file descriptors used by the curl easy
|
||||||
contained in the given multi handle set. It will block until activity is
|
handles contained in the given multi handle set. It will block until activity
|
||||||
detected on at least one of the handles or \fItimeout_ms\fP has passed.
|
is detected on at least one of the handles or \fItimeout_ms\fP has passed.
|
||||||
Alternatively, if the multi handle has a pending internal timeout that has a
|
Alternatively, if the multi handle has a pending internal timeout that has a
|
||||||
shorter expiry time than \fItimeout_ms\fP, that shorter time will be used
|
shorter expiry time than \fItimeout_ms\fP, that shorter time will be used
|
||||||
instead to make sure timeout accuracy is reasonably kept.
|
instead to make sure timeout accuracy is reasonably kept.
|
||||||
@ -43,7 +43,7 @@ instead to make sure timeout accuracy is reasonably kept.
|
|||||||
The calling application may pass additional curl_waitfd structures which are
|
The calling application may pass additional curl_waitfd structures which are
|
||||||
similar to \fIpoll(2)\fP's pollfd structure to be waited on in the same call.
|
similar to \fIpoll(2)\fP's pollfd structure to be waited on in the same call.
|
||||||
|
|
||||||
On completion, if \fInumfds\fP is supplied, it will be populated with the
|
On completion, if \fInumfds\fP is non-NULL, it will be populated with the
|
||||||
total number of file descriptors on which interesting events occured. This
|
total number of file descriptors on which interesting events occured. This
|
||||||
number can include both libcurl internal descriptors as well as descriptors
|
number can include both libcurl internal descriptors as well as descriptors
|
||||||
provided in \fIextra_fds\fP.
|
provided in \fIextra_fds\fP.
|
||||||
|
Loading…
Reference in New Issue
Block a user