summaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_multi_wait.3
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2015-04-22 10:25:34 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2015-04-22 10:25:34 +0200
commit7b1fa5a0c5daf3831b9857c8fa678aaa6679d618 (patch)
treefd89ac2d30f1dcf60c769ec994177e1ae09fa3fa /docs/libcurl/curl_multi_wait.3
parenta8501fab9f2f579a6951c1cfcbc8f60b3d39af7f (diff)
Imported Upstream version 7.42.0
Diffstat (limited to 'docs/libcurl/curl_multi_wait.3')
-rw-r--r--docs/libcurl/curl_multi_wait.310
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/libcurl/curl_multi_wait.3 b/docs/libcurl/curl_multi_wait.3
index 21ade930..a76fba36 100644
--- a/docs/libcurl/curl_multi_wait.3
+++ b/docs/libcurl/curl_multi_wait.3
@@ -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
.\" * you should have received as part of this distribution. The terms
@@ -33,9 +33,9 @@ CURLMcode curl_multi_wait(CURLM *multi_handle,
int *numfds);
.ad
.SH DESCRIPTION
-This function polls on all file descriptors used by the curl easy handles
-contained in the given multi handle set. It will block until activity is
-detected on at least one of the handles or \fItimeout_ms\fP has passed.
+\fIcurl_multi_wait(3)\fP polls all file descriptors used by the curl easy
+handles contained in the given multi handle set. It will block until activity
+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
shorter expiry time than \fItimeout_ms\fP, that shorter time will be used
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
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
number can include both libcurl internal descriptors as well as descriptors
provided in \fIextra_fds\fP.