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.
19 __asm__ __volatile__ (
26 : "r" ((long) __NR_pipe),
28 "i" (__SH_SYSCALL_TRAP_BASE + 3)
29 : "cc", "memory", "r1", "r3", "r4");
30 if ((unsigned long)(__res) >= (unsigned long)(-125)) {