git: 9front

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