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

Michael Jones via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 14:05:07 PDT 2024


================
@@ -0,0 +1,38 @@
+//===---------- Linux implementation of the epoll_create function ---------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/sys/epoll/epoll_create.h"
+
+#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
+#include "src/__support/common.h"
+#include "src/errno/libc_errno.h"
+#include <sys/syscall.h> // For syscall numbers.
----------------
michaelrj-google wrote:

It's marked as a generated header right now, but it doesn't appear to actually need to be. We should look into moving it to /include/ at some point.

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


More information about the llvm-commits mailing list