shithub: front

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