|
|
1.1 ! root 1: /* getpid.c - getpid */ ! 2: ! 3: #include <conf.h> ! 4: #include <kernel.h> ! 5: #include <proc.h> ! 6: ! 7: /*------------------------------------------------------------------------ ! 8: * getpid -- get the process id of currently executing process ! 9: *------------------------------------------------------------------------ ! 10: */ ! 11: SYSCALL getpid() ! 12: { ! 13: return(currpid); ! 14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.