Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
2df9ae916120212442201bbf30271a1170e508cf
/
.
/
src
/
unistd
/
pipe.c
blob: d07b8d24ae3b1f55126700e64994ab55d453fb16 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"syscall.h"
int
pipe
(
int
fd
[
2
])
{
#ifdef
SYS_pipe
return
syscall
(
SYS_pipe
,
fd
);
#else
return
syscall
(
SYS_pipe2
,
fd
,
0
);
#endif
}