git: 9front

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