home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / dev / adev11.lha / ADev11 / include / errno.i < prev    next >
Encoding:
Text File  |  1994-03-02  |  1.5 KB  |  44 lines

  1. *
  2. * The following symbols are the error codes returned by the UNIX system
  3. * functions.  Typically, a UNIX function returns -1 when an error occurs,
  4. * and the global integer named errno contains one of these values.
  5. *
  6.  
  7. EOSERR     EQM     #-1    ; Operating system error
  8.  
  9. EPERM     EQM    #1    ; User is not owner
  10. ENOENT     EQM    #2    ; No such file or directory
  11. ESRCH     EQM    #3    ; No such process
  12. EINTR     EQM    #4    ; Interrupted system call
  13. EIO     EQM    #5    ; I/O error
  14. ENXIO     EQM    #6    ; No such device or address
  15. E2BIG     EQM    #7    ; Arg list is too long
  16. ENOEXEC EQM    #8    ; Exec format error
  17. EBADF     EQM    #9    ; Bad file number
  18. ECHILD     EQM    #10    ; No child process
  19. EAGAIN     EQM    #11    ; No more processes allowed
  20. ENOMEM     EQM    #12    ; No memory available
  21. EACCES     EQM    #13    ; Access denied
  22. EFAULT     EQM    #14    ; Bad address
  23. ENOTBLK EQM    #15    ; Bulk device required
  24. EBUSY     EQM    #16    ; Resource is busy
  25. EEXIST     EQM    #17    ; File already exists
  26. EXDEV     EQM    #18    ; Cross-device link
  27. ENODEV     EQM    #19    ; No such device
  28. ENOTDIR EQM    #20    ; Not a directory
  29. EISDIR     EQM    #21    ; Is a directory
  30. EINVAL     EQM    #22    ; Invalid argument
  31. ENFILE     EQM    #23    ; No more files (units) allowed
  32. EMFILE     EQM    #24    ; No more files (units) allowed for this process
  33. ENOTTY     EQM    #25    ; Not a terminal
  34. ETXTBSY EQM    #26    ; Text file is busy
  35. EFBIG     EQM    #27    ; File is too large
  36. ENOSPC     EQM    #28    ; No space left
  37. ESPIPE     EQM    #29    ; Seek issued to pipe
  38. EROFS     EQM    #30    ; Read-only file system
  39. EMLINK     EQM    #31    ; Too many links
  40. EPIPE     EQM    #32    ; Broken pipe
  41. EDOM     EQM    #33    ; Math function argument error
  42. ERANGE     EQM    #34    ; Math function result is out of range
  43.  
  44.