4.1cBSD/usr/src/lib/libc/sys/getpid.c

/* getpid.c 4.1 82/12/04 */

#include "SYS.h"

SYSCALL(getpid)
	ret		# pid = getpid();