git: 9front

ref: ce5aa6c86476d8aab853cf7f18d75af5d2baf2fe
dir: /sys/src/libc/9sys/getpid.c/

View raw version
#include	<u.h>
#include	<libc.h>
#include	<tos.h>

int
getpid(void)
{
	return _tos->pid;
}