V6/usr/source/s4/getpid.s

Find at most related files.
including files from this version of Unix.

/ getpid -- get process ID

getpid	= 20.

.globl	_getpid

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