error.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. extern char Enoerror[]; /* no error */
  2. extern char Emount[]; /* inconsistent mount */
  3. extern char Eunmount[]; /* not mounted */
  4. extern char Eismtpt[]; /* is a mount point */
  5. extern char Eunion[]; /* not in union */
  6. extern char Emountrpc[]; /* mount rpc error */
  7. extern char Eshutdown[]; /* device shut down */
  8. extern char Enocreate[]; /* mounted directory forbids creation */
  9. extern char Enonexist[]; /* file does not exist */
  10. extern char Eexist[]; /* file already exists */
  11. extern char Ebadsharp[]; /* unknown device in # filename */
  12. extern char Enotdir[]; /* not a directory */
  13. extern char Eisdir[]; /* file is a directory */
  14. extern char Ebadchar[]; /* bad character in file name */
  15. extern char Efilename[]; /* file name syntax */
  16. extern char Eperm[]; /* permission denied */
  17. extern char Ebadusefd[]; /* inappropriate use of fd */
  18. extern char Ebadarg[]; /* bad arg in system call */
  19. extern char Einuse[]; /* device or object already in use */
  20. extern char Eio[]; /* i/o error */
  21. extern char Etoobig[]; /* read or write too large */
  22. extern char Etoosmall[]; /* read or write too small */
  23. extern char Enoport[]; /* network port not available */
  24. extern char Ehungup[]; /* i/o on hungup channel */
  25. extern char Ebadctl[]; /* bad process or channel control request */
  26. extern char Enodev[]; /* no free devices */
  27. extern char Eprocdied[]; /* process exited */
  28. extern char Enochild[]; /* no living children */
  29. extern char Eioload[]; /* i/o error in demand load */
  30. extern char Enovmem[]; /* virtual memory allocation failed */
  31. extern char Ebadfd[]; /* fd out of range or not open */
  32. extern char Enofd[]; /* no free file descriptors */
  33. extern char Eisstream[]; /* seek on a stream */
  34. extern char Ebadexec[]; /* exec header invalid */
  35. extern char Etimedout[]; /* connection timed out */
  36. extern char Econrefused[]; /* connection refused */
  37. extern char Econinuse[]; /* connection in use */
  38. extern char Eintr[]; /* interrupted */
  39. extern char Enomem[]; /* kernel allocate failed */
  40. extern char Enoswap[]; /* swap space full */
  41. extern char Esoverlap[]; /* segments overlap */
  42. extern char Emouseset[]; /* mouse type already set */
  43. extern char Eshort[]; /* i/o count too small */
  44. extern char Egreg[]; /* jmk added reentrancy for threads */
  45. extern char Ebadspec[]; /* bad attach specifier */
  46. extern char Enoreg[]; /* process has no saved registers */
  47. extern char Enoattach[]; /* mount/attach disallowed */
  48. extern char Eshortstat[]; /* stat buffer too small */
  49. extern char Ebadstat[]; /* malformed stat buffer */
  50. extern char Enegoff[]; /* negative i/o offset */
  51. extern char Ecmdargs[]; /* wrong #args in control message */
  52. extern char Ebadip[]; /* bad ip address syntax */