errs.h 367 B

12345678910111213141516
  1. /* Various error codes used by decoder
  2. * and my own routines... It's okay
  3. * for you to define whatever you want,
  4. * as long as it's negative... It will be
  5. * returned intact up the various subroutine
  6. * levels...
  7. */
  8. #define OUT_OF_MEMORY -10
  9. #define BAD_CODE_SIZE -20
  10. #define READ_ERROR -1
  11. #define WRITE_ERROR -2
  12. #define OPEN_ERROR -3
  13. #define CREATE_ERROR -4