git: 9front

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