[libc-commits] [libc] [libc][POSIX][poll.h] implement poll (PR #125118)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Jan 30 15:35:02 PST 2025


================
@@ -0,0 +1,15 @@
+add_entrypoint_object(
+  poll
+  SRCS
+    poll.cpp
+  HDRS
+    ../poll.h
+  DEPENDS
+    libc.hdr.types.nfds_t
+    libc.hdr.types.struct_pollfd
+    libc.hdr.types.struct_timespec
+    libc.include.poll
----------------
nickdesaulniers wrote:

This is not correct. Instead, I should put this line exactly in libc/config/linux/{arch}/headers.txt.

via https://github.com/llvm/llvm-project/issues/125102#issuecomment-2625933083

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


More information about the libc-commits mailing list