diff --git a/docs/libcurl/curl_multi_wait.3 b/docs/libcurl/curl_multi_wait.3 index 9250a77eb..e91c360bf 100644 --- a/docs/libcurl/curl_multi_wait.3 +++ b/docs/libcurl/curl_multi_wait.3 @@ -30,7 +30,7 @@ CURLMcode curl_multi_wait(CURLM *multi_handle, struct curl_waitfd extra_fds[], unsigned int extra_nfds, int timeout_ms, - int *ret); + int *numfds); .ad .SH DESCRIPTION This function polls on all file descriptors used by the curl easy handles @@ -40,7 +40,7 @@ detected on at least one of the handles or \fItimeout_ms\fP has passed. 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 \fIret\fI is supplied, it will be populated with the +On completion, if \fInumfds\fI is supplied, it will be populated with the number of file descriptors on which interesting events occured. This function is encouraged to be used instead of select(3) when using the