shithub: front

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