shithub: front

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