[libc-commits] [libc] [libc] pipe(2) linux syscall wrapper and unittest (PR #85514)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Mar 18 09:16:04 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>]
----------------
nickdesaulniers wrote:
Yeah, this isn't right. Just trying to build, I observe the build failure:
```
llvm-project/build/projects/libc/include/unistd.h:65:11: error: unknown type name '__pipe2fd_array_t'
65 | int pipe2(__pipe2fd_array_t, int) __NOEXCEPT;
| ^
```
https://github.com/llvm/llvm-project/pull/85514
More information about the libc-commits
mailing list