1 /* $NetBSD: pipe.S,v 1.1 2014/09/03 19:34:26 matt Exp $ */
5 #if defined(LIBC_SCCS) && !defined(lint)
6 __RCSID("$NetBSD: pipe.S,v 1.1 2014/09/03 19:34:26 matt Exp $")
7 #endif /* LIBC_SCCS && !lint */
10 WEAK_ALIAS(pipe, _pipe)
14 l.or r5,r3,r0 # save pointer
15 _DOSYSCALL(pipe) # assume, that r5 is kept
16 l.bf _C_LABEL(__cerror)
18 l.sw 0(r5),r11 # success, store fds
21 l.jr lr # and return 0