]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: add more references to curl_multi_poll
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Nov 2019 14:56:12 +0000 (15:56 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Nov 2019 21:29:18 +0000 (22:29 +0100)
Fixes #4643
Closes #4652

docs/libcurl/curl_multi_wait.3
docs/libcurl/libcurl-multi.3

index 9ff4651c7a95aea2d1e38de307365f64ef2453ef..c1ae14fd1c527d3f31be2aa1f2ecb83dc8d67371 100644 (file)
@@ -49,7 +49,8 @@ number can include both libcurl internal descriptors as well as descriptors
 provided in \fIextra_fds\fP.
 
 If no extra file descriptors are provided and libcurl has no file descriptor
-to offer to wait for, this function will return immediately.
+to offer to wait for, this function will return immediately. (Try
+\fIcurl_multi_poll(3)\fP instead if you rather avoid this behavior.)
 
 This function is encouraged to be used instead of select(3) when using the
 multi interface to allow applications to easier circumvent the common problem
@@ -119,4 +120,4 @@ CURLMcode type, general libcurl multi interface error code. See
 .SH AVAILABILITY
 This function was added in libcurl 7.28.0.
 .SH "SEE ALSO"
-.BR curl_multi_fdset "(3), " curl_multi_perform "(3)"
+.BR curl_multi_fdset "(3), " curl_multi_perform "(3)", curl_multi_poll "(3) ",
index 5d7c27b95b6ea624d757af7dba9486933e9eb21c..4674abdce73ecb77d4220c567866901affb70726 100644 (file)
@@ -85,7 +85,7 @@ returns back to the calling application.
 
 Your application extracts info from libcurl about when it would like to get
 invoked to transfer data or do other work. The most convenient way is to use
-\fIcurl_multi_wait(3)\fP that will help you wait until the application should
+\fIcurl_multi_poll(3)\fP that will help you wait until the application should
 call libcurl again. The older API to accomplish the same thing is
 \fIcurl_multi_fdset(3)\fP that extracts fd_sets from libcurl to use in
 select() or poll() calls in order to get to know when the transfers in the