diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-10-20 09:52:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-20 09:52:22 +0200 |
commit | 7b60ee458a885b3ff1affed754538ba713aab1c1 (patch) | |
tree | 95cf06effeb6c942d2c0fcc899b6d9a094f2b617 | |
parent | 87881d1ab78744df8300f313f703489ecfc23da8 (diff) | |
download | curl-7b60ee458a885b3ff1affed754538ba713aab1c1.tar.gz |
fixup the "Typical usage" as well
-rw-r--r-- | docs/libcurl/curl_multi_perform.3 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/libcurl/curl_multi_perform.3 b/docs/libcurl/curl_multi_perform.3 index 424106f4e..563a8a1ae 100644 --- a/docs/libcurl/curl_multi_perform.3 +++ b/docs/libcurl/curl_multi_perform.3 @@ -78,11 +78,10 @@ individual transfers may have occurred even when this function returns \fICURLM_OK\fP. Use \fIcurl_multi_info_read(3)\fP to figure out how individual transfers did. .SH "TYPICAL USAGE" -Most applications will use \fIcurl_multi_fdset(3)\fP to get the multi_handle's -file descriptors, and \fIcurl_multi_timeout(3)\fP to get a suitable timeout -period, then it'll wait for action on the file descriptors using -\fBselect(3)\fP. As soon as one or more file descriptor is ready, -\fIcurl_multi_perform(3)\fP gets called. +Most applications will use \fIcurl_multi_poll(3)\fP to to wait for libcurl +activity on any of the ongoing transfers. As soon as one or more file +descriptor has activity or the function times out, the application calls +\fIcurl_multi_perform(3)\fP. .SH "SEE ALSO" .BR curl_multi_cleanup "(3), " curl_multi_init "(3), " .BR curl_multi_wait "(3), " curl_multi_add_handle "(3), " |