|
|
Xinu for VAX
/* getpid.c - getpid */
#include <conf.h>
#include <kernel.h>
#include <proc.h>
/*------------------------------------------------------------------------
* getpid -- get the process id of currently executing process
*------------------------------------------------------------------------
*/
SYSCALL getpid()
{
return(currpid);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.