USG_PG3/usr/source/clib5/pipe.s

Compare this file to the similar file:
Show the results in this format:

/ pipe -- C library

/	pipe(f)
/	int f[2];

.globl	_pipe, cerror, csv, cret

pipe = 42.

_pipe:
	jsr	r5,csv
	sys	pipe
	bec	1f
	jmp	cerror
1:
	mov	4(r5),r2
	mov	r0,(r2)+
	mov	r1,(r2)
	clr	r0
	jmp	cret