From 253a32e2f9ff1cbb8edbe7c79834a678daebeb93 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 9 Feb 2019 13:14:01 -0500 Subject: merge POSIX.1-1988/1990 --- src/unistd/pipe.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/unistd/pipe.c (limited to 'src/unistd/pipe.c') diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c new file mode 100644 index 00000000..0ceb1181 --- /dev/null +++ b/src/unistd/pipe.c @@ -0,0 +1,14 @@ +#include "stddef.h" +#include "sys/types.h" +#include +#include "nonstd/assert.h" +#include "nonstd/syscall.h" + +int pipe(int fildes[2]) +{ + ASSERT_NONNULL(fildes); + SC(int, fildes); +} +/* +POSIX(1) +*/ -- cgit v1.2.1