home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / cbm / nduk-v39.lha / V39 / include / exec / errors.h < prev    next >
C/C++ Source or Header  |  1992-09-24  |  770b  |  22 lines

  1. #ifndef    EXEC_ERRORS_H
  2. #define    EXEC_ERRORS_H
  3. /*
  4. **    $VER: errors.h 39.0 (15.10.91)
  5. **    Includes Release 39.108
  6. **
  7. **    Standard Device IO Errors (returned in io_Error)
  8. **
  9. **    (C) Copyright 1985-1992 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #define IOERR_OPENFAIL     (-1) /* device/unit failed to open */
  14. #define IOERR_ABORTED     (-2) /* request terminated early [after AbortIO()] */
  15. #define IOERR_NOCMD     (-3) /* command not supported by device */
  16. #define IOERR_BADLENGTH     (-4) /* not a valid length (usually IO_LENGTH) */
  17. #define IOERR_BADADDRESS (-5) /* invalid address (misaligned or bad range) */
  18. #define IOERR_UNITBUSY     (-6) /* device opens ok, but requested unit is busy */
  19. #define IOERR_SELFTEST     (-7) /* hardware failed self-test */
  20.  
  21. #endif    /* EXEC_ERRORS_H */
  22.