git: 9front

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