git: 9front

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