1 /* $NetBSD: pipe.S,v 1.2 1998/05/25 15:28:03 ws Exp $ */ 2 3 #include "SYS.h" 4 5 ENTRY(pipe) 6 mr 5, 3 # save pointer 7 li 0,SYS_pipe 8 sc # assume, that r5 is kept 9 bso 1f 10 stw 3,0(5) # success, store fds 11 stw 4,4(5) 12 li 3,0 13 blr # and return 0 14 1: 15 b cerror 16
Indexes created Thu Oct 02 01:09:59 GMT 2025