[libc-commits] [libc] [libc] Implement posix_close in unistd (PR #240024)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Sun Nov 8 19:23:51 PST 2026
================
@@ -20,4 +20,8 @@
#endif // LIBC_FULL_BUILD
+#ifndef POSIX_CLOSE_RESTART
+#define POSIX_CLOSE_RESTART 0
+#endif
+
----------------
vonosmas wrote:
This should only be defined in overlay mode, as for full-build mode we know we provide it in our `unistd-macros.h`. Also, add a comment that you provide this macro in case system libc headers don't do that.
https://github.com/llvm/llvm-project/pull/240024
More information about the libc-commits
mailing list