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

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Mar 12 11:05:20 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?
----------------
michaelrj-google wrote:

That header is the reason I added this comment. The reason I don't think it's actually usable is because it provides the kernel definition for `epoll_event` instead of the library definition, see https://man7.org/linux/man-pages/man3/epoll_event.3type.html.

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


More information about the libc-commits mailing list