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

via libc-commits libc-commits at lists.llvm.org
Mon Mar 18 09:44:03 PDT 2024


================
@@ -264,6 +266,20 @@ def Linux : StandardSpec<"Linux"> {
       ]
   >;
 
+  HeaderSpec UniStd = HeaderSpec<
+    "unistd.h",
+    [], // Macros
+    [Pipe2fdArrayT], // Types
+    [], // Enumerations
+    [
+        FunctionSpec<
+          "pipe2",
+          RetValSpec<IntType>,
+          [ArgSpec<Pipe2fdArrayT>, ArgSpec<IntType>]
----------------
muffpy wrote:

I did that. I tried to copy the cmake flags used by buildkite too but it just refuses to create a test for pipe2 in my local setup. Not sure why. Please don't mind if I create extra commits here to test any changes 🙏.

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


More information about the libc-commits mailing list