home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / exec / errors.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  769b  |  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 40.15
  6. **
  7. **    Standard Device IO Errors (returned in io_Error)
  8. **
  9. **    (C) Copyright 1985-1993 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.