File:  [MW Coherent from dump] / coherent / b / lib / libc / sys / i386 / fork.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/fork.s
/ Copyright (c) Ciaran O'Donnell, Bievres (FRANCE), 1991.
//////////

	.globl	fork
	.globl	.cerror

fork:
	movl	$2,%eax
	lcall	$0x7,$0
	jc	.cerror
	orl	%edx,%edx
	jz	?L0				/ return pid	(parent)
	xorl	%eax,%eax			/ return 0	(child)
?L0:
	orl	%eax,%eax
	ret

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

unix.superglobalmegacorp.com

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