From: Daniel Stenberg Date: Sat, 13 Jan 2024 22:18:20 +0000 (+0100) Subject: curl_multi_fdset.3: remove mention of null pointer support X-Git-Tag: curl-8_6_0~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=beb2283746878a0a0bbed042abdd90bdd4d35e0f;p=thirdparty%2Fcurl.git curl_multi_fdset.3: remove mention of null pointer support ... since this funtion has not supported null pointer fd_set arguments since at least 2006. (That's when I stopped my git blame journey) Fixes #12691 Reported-by: sfan5 on github Closes #12692 --- diff --git a/docs/libcurl/curl_multi_fdset.3 b/docs/libcurl/curl_multi_fdset.3 index 8a3ae965a6..0afbe9a3cc 100644 --- a/docs/libcurl/curl_multi_fdset.3 +++ b/docs/libcurl/curl_multi_fdset.3 @@ -42,17 +42,17 @@ select() on, but be sure to \fIFD_ZERO\fP them before calling this function as otherwise remove any others. The \fIcurl_multi_perform(3)\fP function should be called as soon as one of them is ready to be read from or written to. -If the \fIread_fd_set\fP argument is not a null pointer, it points to an -object of type \fBfd_set\fP that on returns specifies the file descriptors to -be checked for being ready to read. +The \fIread_fd_set\fP argument should point to an object of type \fBfd_set\fP +that on returns specifies the file descriptors to be checked for being ready +to read. -If the \fIwrite_fd_set\fP argument is not a null pointer, it points to an -object of type \fBfd_set\fP that on return specifies the file descriptors to -be checked for being ready to write. +The \fIwrite_fd_set\fP argument should point to an object of type \fBfd_set\fP +that on return specifies the file descriptors to be checked for being ready to +write. -If the \fIexc_fd_set\fP argument is not a null pointer, it points to an object -of type \fBfd_set\fP that on return specifies the file descriptors to be -checked for error conditions pending. +The \fIexc_fd_set\fP argument should point to an object of type \fBfd_set\fP +that on return specifies the file descriptors to be checked for error +conditions. If no file descriptors are set by libcurl, \fImax_fd\fP contain -1 when this function returns. Otherwise it contains the highest descriptor number libcurl