1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

docs: add more references to curl_multi_poll

Fixes #4643
Closes #4652
This commit is contained in:
Daniel Stenberg 2019-11-28 15:56:12 +01:00
parent cc4cf93e52
commit bc64377ff8
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 4 additions and 3 deletions

View File

@ -49,7 +49,8 @@ number can include both libcurl internal descriptors as well as descriptors
provided in \fIextra_fds\fP. provided in \fIextra_fds\fP.
If no extra file descriptors are provided and libcurl has no file descriptor 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 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 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 .SH AVAILABILITY
This function was added in libcurl 7.28.0. This function was added in libcurl 7.28.0.
.SH "SEE ALSO" .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) ",

View File

@ -85,7 +85,7 @@ returns back to the calling application.
Your application extracts info from libcurl about when it would like to get 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 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 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 \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 select() or poll() calls in order to get to know when the transfers in the