projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix access by setjmp and longjmp to __hwcap on arm built as thumb2
[musl]
/
src
/
unistd
/
pipe.c
diff --git
a/src/unistd/pipe.c
b/src/unistd/pipe.c
index
36c6f13
..
d07b8d2
100644
(file)
--- a/
src/unistd/pipe.c
+++ b/
src/unistd/pipe.c
@@
-3,5
+3,9
@@
int pipe(int fd[2])
{
+#ifdef SYS_pipe
return syscall(SYS_pipe, fd);
+#else
+ return syscall(SYS_pipe2, fd, 0);
+#endif
}