Annotation of 43BSD/ucb/pascal/pdx/cerror.vax, revision 1.1.1.1

1.1       root        1: # Copyright (c) 1982 Regents of the University of California
                      2: #
                      3: # static char sccsid[] = "@(#)cerror.s 1.3 9/2/82";
                      4: #
                      5: # modified version of cerror
                      6: #
                      7: # The idea is that every time an error occurs in a system call
                      8: # I want a special function "syserr" called.  This function will
                      9: # either print a message and exit or do nothing depending on
                     10: # defaults and use of "onsyserr".
                     11: #
                     12: 
                     13: .globl cerror
                     14: .comm  _errno,4
                     15: 
                     16: cerror:
                     17:        movl    r0,_errno
                     18:        calls   $0,_syserr      # new code
                     19:        mnegl   $1,r0
                     20:        ret
                     21: 
                     22: .globl __mycerror              # clumsy way to get this loaded
                     23: 
                     24: __mycerror:
                     25:        .word   0
                     26:        ret

unix.superglobalmegacorp.com

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