2.9BSD/usr/src/lib/c/sys/getpid.s

Compare this file to the similar file:
Show the results in this format:

/ pid	= getpid();

.globl	_getpid

_getpid:
	mov	r5,-(sp)
	mov	sp,r5
	sys	getpid
	mov	(sp)+,r5
	rts	pc