[libc-commits] [libc] [libc] [unistd] implement pipe2 syscall wrapper (PR #114474)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri Nov 1 14:59:59 PDT 2024
================
@@ -287,6 +287,23 @@ def Linux : StandardSpec<"Linux"> {
]
>;
+
+ HeaderSpec UniStd = HeaderSpec<
+ "unistd.h",
+ [], // Macros
+ [],
+ [], // Enumerations
+ [
+ FunctionSpec<
+ "pipe2",
+ RetValSpec<IntType>,
+ [ArgSpec<IntPtr>] //TODO: make this int[2]
----------------
nickdesaulniers wrote:
@petrhosek is working on removing the old headergen implementation; we expect it to all go away imminently. So mistakes in the existing TD files are not pressing.
https://github.com/llvm/llvm-project/pull/114474
More information about the libc-commits
mailing list