4.1cBSD/usr/src/usr.lib/libU77/getpid_.c

/*
char id_getpid[] = "@(#)getpid_.c	1.1";
 *
 * get process id
 *
 * calling sequence:
 *	integer getpid, pid
 *	pid = getpid()
 * where:
 *	pid will be the current process id
 */

long getpid_()
{
	return((long)getpid());
}