[libc-commits] [libc] [libc] pipe(2) linux syscall wrapper and unittest (PR #85514)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Apr 23 14:43:47 PDT 2024


================
@@ -0,0 +1,93 @@
+//===-- Unittests for pipe2 -----------------------------------------------===//
+//
+// 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 "include/llvm-libc-macros/linux/fcntl-macros.h"
+#include "include/llvm-libc-macros/linux/watch-queue-macros.h"
----------------
michaelrj-google wrote:

The way we interact with public headers changed since this patch was written. The short version is we're now using proxy headers in `/hdr/` instead of including the types from `include` directly. You can see an example of this in the patch that adds `pipe`: https://github.com/llvm/llvm-project/pull/84587/files#diff-0d107f2b3067e045736b456ccc6d3523aedade072afc031562b9103cb1972805

Sorry about the delay and the changing design, but this should be the final change needed before landing.

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


More information about the libc-commits mailing list