大龙的博客

常用链接

统计

最新评论

linux系统错误表

  1. #define EPERM 1        /* Not super-user */
  2. #define ENOENT 2       /* No such file or directory */
  3. #define ESRCH 3         /* No such process */
  4. #define EINTR 4             /* Interrupted system call */
  5. #define EIO 5               /* I/O error */
  6. #define ENXIO 6             /* No such device or address */
  7. #define E2BIG 7              /* Arg list too long */
  8. #define ENOEXEC 8          /* Exec format error */
  9. #define EBADF 9            /* Bad file number */
  10. #define ECHILD 10         /* No children */
  11. #define EAGAIN 11        /* No more processes */
  12. #define ENOMEM 12      /* Not enough core */
  13. #define EACCES 13       / * Permission denied */
  14. #define EFAULT 14        /* Bad address */
  15. #define ENOTBLK 15      /* Block device required */
  16. #define EBUSY 16         /* Mount device busy */
  17. #define EEXIST 17          /* File exists */
  18. #define EXDEV 18         /* Cross-device link */
  19. #define ENODEV 19      /* No such device */
  20. #define ENOTDIR 20        /* Not a directory */
  21. #define EISDIR 21            /* Is a directory */
  22. #define EINVAL 22          /* Invalid argument */
  23. #define ENFILE 23         /* Too many open files in system */
  24. #define EMFILE 24        /* Too many open files */
  25. #define ENOTTY 25        /* Not a typewriter */
  26. #define ETXTBSY 26      /* Text file busy */
  27. #define EFBIG 27          /* File too large */
  28. #define ENOSPC 28         /* No space left on device */
  29. #define ESPIPE 29          /* Illegal seek */
  30. #define EROFS 30         /* Read only file system */
  31. #define EMLINK 31         /* Too many links */
  32. #define EPIPE 32          /* Broken pipe */
  33. #define EDOM 33         /* Math arg out of domain of func */
  34. #define ERANGE 34     /* Math result not representable */
  35. #define ENOMSG 35      /* No message of desired type */
  36. #define EIDRM 36         /* Identifier removed */
  37. #define ECHRNG 37        /* Channel number out of range */
  38. #define EL2NSYNC 38       /* Level 2 not synchronized */
  39. #define EL3HLT 39        /* Level 3 halted */
  40. #define EL3RST 40      /* Level 3 reset */
  41. #define ELNRNG 41      /* Link number out of range */
  42. #define EUNATCH 42       /* Protocol driver not attached */
  43. #define ENOCSI 43       /* No CSI structure available */
  44. #define EL2HLT 44      /* Level 2 halted */
  45. #define EDEADLK 45     /* Deadlock condition */
  46. #define ENOLCK 46        /* No record locks available */
  47. #define EBADE 50          /* Invalid exchange */
  48. #define EBADR 51        /* Invalid request descriptor */
  49. #define EXFULL 52        /* Exchange full */
  50. #define ENOANO 53       /* No anode */
  51. #define EBADRQC 54         /* Invalid request code */
  52. #define EBADSLT 55         /* Invalid slot */
  53. #define EDEADLOCK 56        /* File locking deadlock error */
  54. #define EBFONT 57           /* Bad font file fmt */
  55. #define ENOSTR 60         /* Device not a stream */
  56. #define ENODATA 61         /* No data (for no delay io) */
  57. #define ETIME 62           /* Timer expired */
  58. #define ENOSR 63         /* Out of streams resources */
  59. #define ENONET 64         /* Machine is not on the network */
  60. #define ENOPKG 65        /* Package not installed */
  61. #define EREMOTE 66           /* The object is remote */
  62. #define ENOLINK 67            /* The link has been severed */
  63. #define EADV 68               /* Advertise error */
  64. #define ESRMNT 69          /* Srmount error */
  65. #define ECOMM 70           /* Communication error on send */
  66. #define EPROTO 71        /* Protocol error */
  67. #define EMULTIHOP 74      /* Multihop attempted */
  68. #define ELBIN 75               /* Inode is remote (not really error) */
  69. #define EDOTDOT 76         /* Cross mount point (not really error) */
  70. #define EBADMSG 77           /* Trying to read unreadable message */
  71. #define EFTYPE 79           /* Inappropriate file type or format */
  72. #define ENOTUNIQ 80          /* Given log. name not unique */
  73. #define EBADFD 81              /* f.d. invalid for this operation */
  74. #define EREMCHG 82            /* Remote address changed */
  75. #define ELIBACC 83            /* Can't access a needed shared lib */
  76. #define ELIBBAD 84          /* Accessing a corrupted shared lib */
  77. #define ELIBSCN 85          /* .lib section in a.out corrupted */
  78. #define ELIBMAX 86           /* Attempting to link in too many libs */
  79. #define ELIBEXEC 87           /* Attempting to exec a shared library */
  80. #define ENOSYS 88           /* Function not implemented */
  81. #define ENMFILE 89         /* No more files */
  82. #define ENOTEMPTY 90        /* Directory not empty */
  83. #define ENAMETOOLONG 91         /* File or path name too long */
  84. #define ELOOP 92                       /* Too many symbolic links */
  85. #define EOPNOTSUPP 95         /* Operation not supported on transport endpoint */
  86. #define EPFNOSUPPORT 96          /* Protocol family not supported */
  87. #define ECONNRESET 104             /* Connection reset by peer */
  88. #define ENOBUFS 105          /* No buffer space available */
  89. #define EAFNOSUPPORT 106            /* Address family not supported by protocol family */
  90. #define EPROTOTYPE 107           /* Protocol wrong type for socket */
  91. #define ENOTSOCK 108                /* Socket operation on non-socket */
  92. #define ENOPROTOOPT 109            /* Protocol not available */
  93. #define ESHUTDOWN 110         /* Can't send after socket shutdown */
  94. #define ECONNREFUSED 111           /* Connection refused */
  95. #define EADDRINUSE 112              /* Address already in use */
  96. #define ECONNABORTED 113                   /* Connection aborted */
  97. #define ENETUNREACH 114          /* Network is unreachable */
  98. #define ENETDOWN 115                  /* Network interface is not configured */
  99. #define ETIMEDOUT 116            /* Connection timed out */
  100. #define EHOSTDOWN 117          /* Host is down */
  101. #define EHOSTUNREACH 118      /* Host is unreachable */
  102. #define EINPROGRESS 119           /* Connection already in progress */
  103. #define EALREADY 120            /* Socket already connected */
  104. #define EDESTADDRREQ 121          /* Destination address required */
  105. #define EMSGSIZE 122            /* Message too long */
  106. #define EPROTONOSUPPORT 123         /* Unknown protocol */
  107. #define ESOCKTNOSUPPORT 124       /* Socket type not supported */
  108. #define EADDRNOTAVAIL 125                /* Address not available */
  109. #define ENETRESET 126
  110. #define EISCONN 127             /* Socket is already connected */
  111. #define ENOTCONN 128           /* Socket is not connected */
  112. #define ETOOMANYREFS 129
  113. #define EPROCLIM 130
  114. #define EUSERS 131
  115. #define EDQUOT 132
  116. #define ESTALE 133
  117. #define ENOTSUP 134        /* Not supported */
  118. #define ENOMEDIUM 135        /* No medium (in tape drive) */
  119. #define ENOSHARE 136        /* No such host or network path */
  120. #define ECASECLASH 137      /* Filename exists with different case */
  121. #define EILSEQ 138
  122. #define EOVERFLOW 139       /* Value too large for defined data type */

posted on 2009-06-06 16:01 大龙 阅读(537) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理