4 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
6 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
9 #include <sys/syscall.h>
13 #if defined __NR_pipe2 && !defined __NR_pipe
14 int pipe(int filedes
[2])
16 return pipe2(filedes
, 0);
18 /* If both are defined then use the pipe syscall */
20 _syscall1(int, pipe
, int *, filedes
)