home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 145_01 / errno.h < prev    next >
Text File  |  1979-12-31  |  1KB  |  35 lines

  1. /*    error return definitions for math functions
  2. */
  3.  
  4. extern int errno;        /* contains the error indicator */
  5.  
  6. #define EDOM 33            /* arg not in domain of function */
  7. #define ERANGE 34        /* result too large */
  8.  
  9. /*    error return definitions for system function calls
  10. */
  11.  
  12. #define EFNUM 1            /* invalid function number */
  13. #define ENOENT 2        /* File not found */
  14. #define EPNFOUND 3        /* Path not found */
  15. #define EMFILES 4        /* Too many open files (no handles left) */
  16. #define ENACCESS 5        /* Access denied */
  17. #define EHANDLE    6        /* Invalid Handle */
  18. #define ECNTLBLK 7        /* Memory Control Block Destroyed */
  19. #define ENOMEM 8        /* Insufficient memory */
  20. #define EMBA 9            /* Invalid memory block address */
  21. #define EENV 10            /* Invalid Environment */
  22. #define EFORMAT 11        /* Invalid Format */
  23. #define ECODE 12        /* Invalid access code */
  24. #define EDATA 13        /* Invalid Data */
  25. #define EDRIVE 15        /* Invalid drive was specified */
  26. #define ECDIR 16        /* Attempt to remove the current directory */
  27. #define EDEVICE 17        /* Not same device */
  28. #define EFILES 18        /* No more files */
  29.  
  30. /* CI-C86 I/O error codes
  31. */
  32.  
  33. #define EFULDSK 119        /* Full disk */
  34. #define ESKCDEV    120        /* Seek on Charcter Device */
  35.