shithub: front

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