home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / MIDICOM.LZH / MC_UTILS / MC_XFS / ATARIERR.H next >
C/C++ Source or Header  |  1991-11-20  |  2KB  |  57 lines

  1. #ifndef _atarierr_h
  2. #define _atarierr_h
  3.  
  4. #define    E_OK    0
  5.  
  6. /* BIOS errors */
  7.  
  8. #define ERROR    -1        /* generic error */
  9. #define EDRVNR    -2        /* drive not ready */
  10. #define EUNCMD    -3        /* unknown command */
  11. #define E_CRC    -4        /* crc error */
  12. #define EBADRQ    -5        /* bad request */
  13. #define E_SEEK    -6        /* seek error */
  14. #define EMEDIA    -7        /* unknown media */
  15. #define ESECNF    -8        /* sector not found */
  16. #define EPAPER    -9        /* out of paper */
  17. #define EWRITF    -10        /* write fault */
  18. #define EREADF    -11        /* read fault */
  19.  
  20. #define EWRPRO    -13        /* device write protected */
  21. #define E_CHNG    -14        /* media change detected */
  22. #define EUNDEV    -15        /* unknown device */
  23. #define EBADSF    -16        /* bad sectors on format */
  24. #define EOTHER    -17        /* insert other disk request */
  25.  
  26. /* GEMDOS errors */
  27.  
  28. #define EINVFN    -32        /* invalid function */
  29. #define EFILNF    -33        /* file not found */
  30. #define EPTHNF    -34        /* path not found */
  31. #define ENHNDL    -35        /* no more handles */
  32. #define EACCDN    -36        /* access denied */
  33. #define EIHNDL    -37        /* invalid handle */
  34. #define ENSMEM    -39        /* insufficient memory */
  35. #define EIMBA    -40        /* invalid memory block address */
  36. #define EDRIVE    -46        /* invalid drive specification */
  37. #define EXDEV    -48        /* cross device rename */
  38. #define ENMFIL    -49        /* no more files (from fsnext) */
  39. #define ELOCKED    -58        /* record is locked already */
  40. #define ENSLOCK    -59        /* invalid lock removal request */
  41. #define ERANGE    -64        /* range error */
  42. #define EINTRN    -65        /* internal error */
  43. #define EPLFMT    -66        /* invalid program load format */
  44. #define ENOEXEC EPLFMT
  45. #define EGSBF    -67        /* memory block growth failure */
  46.  
  47. #define ENAMETOOLONG ERANGE    /* a filename component is too long */
  48. #define ELOOP -80        /* too many symbolic links */
  49.  
  50. /* this isn't really an error at all, just an indication to the kernel
  51.  * that a mount point may have been crossed
  52.  */
  53.  
  54. #define EMOUNT    -200
  55.  
  56. #endif /* _atarierr_h */
  57.