[libc-commits] [libc] [llvm] [libc] add remaining epoll functions, pipe (PR #84587)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Mar 12 12:45:26 PDT 2024


================
@@ -0,0 +1,38 @@
+//===-- Macros defined in sys/epoll.h header file -------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_MACROS_LINUX_SYS_EPOLL_MACROS_H
+#define LLVM_LIBC_MACROS_LINUX_SYS_EPOLL_MACROS_H
+
+#include "llvm-libc-macros/linux/fcntl-macros.h"
+
+// TODO: Do we need to define these?
----------------
nickdesaulniers wrote:

That's glibc's definition, which indeed seems subtly different from the kernel's (as is noted in that man page).  I think alluding to this issue in this comment would be better than the todo.

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


More information about the libc-commits mailing list