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

1.1     ! root        1: # C library -- limits
        !             2: 
        !             3: # Control limit structures
        !             4: 
        !             5: # limits(lp, select)
        !             6: # struct lnode *lp;
        !             7: # int select;
        !             8: 
        !             9: #  0 - return own limit struct in *lnode
        !            10: #  1 - return limit struct of lnode->l_uid in *lnode
        !            11: #  2 - return all active limit structs in array lnode
        !            12: #  3 - (root only) set up new limit struct from *lnode
        !            13: #  4 - (init only) wait for a dead process, and return limit, proc struct
        !            14: #  5 - (root only) change limits fields in active lnode
        !            15: #  6 - (root only) get dead group's limit struct
        !            16: 
        !            17:        limits = 127
        !            18: 
        !            19: .globl _limits
        !            20: .globl cerror
        !            21: 
        !            22: _limits:
        !            23:        linkw   a6,#0
        !            24:        pea     limits
        !            25:        trap    #0
        !            26:        bcs     error
        !            27:        unlk    a6
        !            28:        rts
        !            29: error:
        !            30:        jmp     cerror

unix.superglobalmegacorp.com

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