Annotation of xinu/sys/getpid.c, revision 1.1

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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.