12345678910111213141516171819202122 |
- #include <sys/syscall.h>
- #include <unistd.h>
- #if defined __NR_pipe2 && !defined __NR_pipe
- int pipe(int filedes[2])
- {
- return pipe2(filedes, 0);
- }
- #else
- _syscall1(int, pipe, int *, filedes)
- #endif
- libc_hidden_def(pipe)
|