Revert "mips64: time64 for n32 ABI breaks a lot of tests, disable it for now"
[uclibc-ng.git] / libc / sysdeps / linux / common / pipe.c
blobd0809f074e1f6a5a1df5f765e3657b19a01e9261
1 /*
2 * pipe() for uClibc
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.
7 */
9 #include <sys/syscall.h>
10 #include <unistd.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 */
19 #else
20 _syscall1(int, pipe, int *, filedes)
21 #endif
22 libc_hidden_def(pipe)