File:  [MW Coherent from dump] / coherent / b / lib / libc / sys / i386 / pipe.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:35 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

//////////
/ libc/sys/i386/pipe.s
/ Copyright (c) Ciaran O'Donnell, Bievres (FRANCE), 1991.
//////////

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

        .text
	.globl	pipe
	.globl	.cerror

pipe:
	movl	$42,%eax
	lcall	$0x7,$0
	jc	.cerror

	movl	4(%esp),%ecx		
	movl	%eax,(%ecx)		/ fd[0] = fd1
	movl	%edx,4(%ecx)		/ fd[2] = fd2;
	subl	%eax,%eax
	ret				/ return 0

/ end of libc/sys/i386/pipe.s

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.