shithub: front

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