shithub: front

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