summaryrefslogtreecommitdiff
path: root/src/unistd/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/pipe.h')
-rw-r--r--src/unistd/pipe.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/unistd/pipe.h b/src/unistd/pipe.h
new file mode 100644
index 000000000000..0e20bb49c058
--- /dev/null
+++ b/src/unistd/pipe.h
@@ -0,0 +1,18 @@
+//===-- Implementation header for pipe --------------------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_UNISTD_PIPE_H
+#define LLVM_LIBC_SRC_UNISTD_PIPE_H
+
+namespace LIBC_NAMESPACE {
+
+int pipe(int pipefd[2]);
+
+} // namespace LIBC_NAMESPACE
+
+#endif // LLVM_LIBC_SRC_UNISTD_PIPE_H