[libc-commits] [libc] [libc][docs] Add sys/time page to the status of implementations docs (PR #123000)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Jan 15 15:48:06 PST 2025


================
@@ -0,0 +1,9 @@
+functions:
+  select:
+    in-latest-posix: ''
+  utimes:
+    in-latest-posix: ''
+
+macros:
+  FD_SETSIZE:
+    in-latest-posix: ''
----------------
nickdesaulniers wrote:

> The <sys/time.h> header shall define the following as described in <sys/select.h>: FD_CLR() FD_ISSET() FD_SET() FD_ZERO() FD_SETSIZE

I take this to mean that including sys/time includes sys/select indirectly.  Therefore, sys/time.h itself isn't providing the definition of FD_SETSIZE; sys/select.h is.

So FD_SETSIZE can be removed here from sys/time.h.

https://github.com/llvm/llvm-project/pull/123000


More information about the libc-commits mailing list