git: 9front

ref: a47f5ba52df3850d858c9dad94e1afe1f362f91c
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;
}