summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/wait.s
blob: 1ae8b0c6b994575905cbeb3dabe8042722f0c4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
	.globl	_wait
	.globl	wait
_wait:
wait:	
	movl	$0x7, %eax
	lcall	$7,$0
	jb	_cerror
	movl	4(%esp), %ecx
	testl	%ecx, %ecx
	je	bye
	movl	%edx, (%ecx)
bye:
	ret