git: 9front

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