summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/getpid.s
blob: 6d19dffc93dbd91717d9ef2488e9eda5b5bf0014 (plain)
1
2
3
4
5
6
7
8
9

	.globl	_getpid
	.globl	getpid
_getpid:
getpid:
	movl	$0x14, %eax
	lcall	$7,$0
	jb	_cerror
	ret