Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fork.S « sysvi386 « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c9b60035eb4133eca4e0000c684dcf7b601d6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	.globl	_fork
	.globl	fork
_fork:
fork:
	movl	$2, %eax
	lcall	$7,$0
	jb	_cerror
	testl	%edx, %edx
	je	bye
	xorl	%eax,%eax
bye:
	ret