Annotation of 43BSDTahoe/ucb/dbx/cerror.iris.s, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1983 Regents of the University of California.
        !             3:  * All rights reserved.  The Berkeley software License Agreement
        !             4:  * specifies the terms and conditions for redistribution.
        !             5:  *
        !             6:  *     @(#)cerror.iris.s       5.1 (Berkeley) 1/12/88
        !             7:  *
        !             8:  * static char rcsid[] = "$Header: cerror.s,v 1.2 87/03/25 19:32:31 donn Exp $";
        !             9:  *
        !            10:  * modified version of cerror
        !            11:  *
        !            12:  * The idea is that every time an error occurs in a system call
        !            13:  * I want a special function "syserr" called.  This function will
        !            14:  * either print a message and exit or do nothing depending on
        !            15:  * defaults and use of "onsyserr".
        !            16:  */
        !            17: 
        !            18: .comm  _errno,4
        !            19: 
        !            20: .globl cerror
        !            21: cerror:
        !            22:        movl    d0,_errno
        !            23:        jbsr    _syserr         /* new code */
        !            24:        moveq   #-1,d0
        !            25:        rts
        !            26: 
        !            27: .globl __mycerror              /* clumsy way to get this loaded */
        !            28: 
        !            29: __mycerror:
        !            30:        rts

unix.superglobalmegacorp.com

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