1 /* vi: set sw=4 ts=4: */
3 * pipe syscall for uClibc sh
5 * Copyright (C) 2001 Lineo, <davidm@lineo.com>
6 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
8 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
15 libc_hidden_proto(pipe)
20 __asm__ __volatile__ (
27 : "r" ((long) __NR_pipe),
29 "i" (__SH_SYSCALL_TRAP_BASE + 3)
30 : "cc", "memory", "r1", "r3", "r4");
31 if ((unsigned long)(__res) >= (unsigned long)(-125)) {