Annotation of researchv9/libc/nsys/getpid.s, revision 1.1

1.1     ! root        1: # getpid -- get process ID
        !             2: 
        !             3:        getpid = 20
        !             4: .globl _getpid
        !             5: 
        !             6: _getpid:
        !             7:        linkw   a6,#0
        !             8:        pea     getpid
        !             9:        trap    #0
        !            10:        unlk    a6
        !            11:        rts
        !            12: 
        !            13: .globl _getppid
        !            14: 
        !            15: _getppid:
        !            16:        linkw   a6,#0
        !            17:        pea     getpid
        !            18:        trap    #0
        !            19:        movl    d1,d0
        !            20:        unlk    a6
        !            21:        rts

unix.superglobalmegacorp.com

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