Annotation of MiNT/src/atarierr.h, revision 1.1

1.1     ! root        1: /*
        !             2: 
        !             3: Copyright 1990,1991 Eric R. Smith. All rights reserved.
        !             4: 
        !             5: */
        !             6: 
        !             7: 
        !             8: 
        !             9: #ifndef _atarierr_h
        !            10: 
        !            11: #define _atarierr_h
        !            12: 
        !            13: 
        !            14: 
        !            15: #define        E_OK    0
        !            16: 
        !            17: 
        !            18: 
        !            19: /* BIOS errors */
        !            20: 
        !            21: 
        !            22: 
        !            23: #ifdef ERROR
        !            24: 
        !            25: #undef ERROR
        !            26: 
        !            27: #endif
        !            28: 
        !            29: 
        !            30: 
        !            31: #define ERROR  -1              /* generic error */
        !            32: 
        !            33: #define EDRVNR -2              /* drive not ready */
        !            34: 
        !            35: #define EUNCMD -3              /* unknown command */
        !            36: 
        !            37: #define E_CRC  -4              /* crc error */
        !            38: 
        !            39: #define EBADRQ -5              /* bad request */
        !            40: 
        !            41: #define E_SEEK -6              /* seek error */
        !            42: 
        !            43: #define EMEDIA -7              /* unknown media */
        !            44: 
        !            45: #define ESECNF -8              /* sector not found */
        !            46: 
        !            47: #define EPAPER -9              /* out of paper */
        !            48: 
        !            49: #define EWRITF -10             /* write fault */
        !            50: 
        !            51: #define EREADF -11             /* read fault */
        !            52: 
        !            53: 
        !            54: 
        !            55: #define EWRPRO -13             /* device write protected */
        !            56: 
        !            57: #define E_CHNG -14             /* media change detected */
        !            58: 
        !            59: #define EUNDEV -15             /* unknown device */
        !            60: 
        !            61: #define EBADSF -16             /* bad sectors on format */
        !            62: 
        !            63: #define EOTHER -17             /* insert other disk request */
        !            64: 
        !            65: 
        !            66: 
        !            67: /* GEMDOS errors */
        !            68: 
        !            69: 
        !            70: 
        !            71: #define EINVFN -32             /* invalid function */
        !            72: 
        !            73: #define EFILNF -33             /* file not found */
        !            74: 
        !            75: #define EPTHNF -34             /* path not found */
        !            76: 
        !            77: #define ENHNDL -35             /* no more handles */
        !            78: 
        !            79: #define EACCDN -36             /* access denied */
        !            80: 
        !            81: #define EIHNDL -37             /* invalid handle */
        !            82: 
        !            83: #define ENSMEM -39             /* insufficient memory */
        !            84: 
        !            85: #define EIMBA  -40             /* invalid memory block address */
        !            86: 
        !            87: #define EDRIVE -46             /* invalid drive specification */
        !            88: 
        !            89: #define EXDEV  -48             /* cross device rename */
        !            90: 
        !            91: #define ENMFIL -49             /* no more files (from fsnext) */
        !            92: 
        !            93: #define ELOCKED        -58             /* record is locked already */
        !            94: 
        !            95: #define ENSLOCK        -59             /* invalid lock removal request */
        !            96: 
        !            97: #define ERANGE -64             /* range error */
        !            98: 
        !            99: #define EINTRN -65             /* internal error */
        !           100: 
        !           101: #define EPLFMT -66             /* invalid program load format */
        !           102: 
        !           103: #define ENOEXEC EPLFMT
        !           104: 
        !           105: #define EGSBF  -67             /* memory block growth failure */
        !           106: 
        !           107: 
        !           108: 
        !           109: #define ENAMETOOLONG ERANGE    /* a filename component is too long */
        !           110: 
        !           111: #define ELOOP -80              /* too many symbolic links */
        !           112: 
        !           113: 
        !           114: 
        !           115: /* this isn't really an error at all, just an indication to the kernel
        !           116: 
        !           117:  * that a mount point may have been crossed
        !           118: 
        !           119:  */
        !           120: 
        !           121: 
        !           122: 
        !           123: #define EMOUNT -200
        !           124: 
        !           125: 
        !           126: 
        !           127: extern int mint_errno;
        !           128: 
        !           129: 
        !           130: 
        !           131: #ifndef error
        !           132: 
        !           133: #define error(x)       ((long)x)
        !           134: 
        !           135: #endif
        !           136: 
        !           137: 
        !           138: 
        !           139: #endif /* _atarierr_h */
        !           140: 

unix.superglobalmegacorp.com

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