shithub: riscv

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