[libc-commits] [libc] [llvm] [libc] Have sys/time.h carry sys/select.h (PR #241696)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Thu Nov 12 21:49:30 PST 2026
================
@@ -0,0 +1,22 @@
+# This file has declarations that appear both in <sys/select.h> and in
----------------
vonosmas wrote:
I would prefer if it's not "declarations that are both here and there", but is a more narrow set -
declarations from `<sys/select.h>` that, according to POSIX, shall also be defined in
`<sys/time.h>`. And then actually follow the manual:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_time.h.html#tag_14_68
For example, it mandates presence of more `FD_` macro than you have here.
Conversely, `time_t` and `suseconds_t` types should be present in each of sys/time.yaml and sys/select.yaml separately, etc.
https://github.com/llvm/llvm-project/pull/241696
More information about the libc-commits
mailing list