1
0

errno.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. #define EPERM 1
  2. #define ENOENT 2
  3. #define ESRCH 3
  4. #define EINTR 4
  5. #define EIO 5
  6. #define ENXIO 6
  7. #define E2BIG 7
  8. #define ENOEXEC 8
  9. #define EBADF 9
  10. #define ECHILD 10
  11. #define EAGAIN 11
  12. #define ENOMEM 12
  13. #define EACCES 13
  14. #define EFAULT 14
  15. #define ENOTBLK 15
  16. #define EBUSY 16
  17. #define EEXIST 17
  18. #define EXDEV 18
  19. #define ENODEV 19
  20. #define ENOTDIR 20
  21. #define EISDIR 21
  22. #define EINVAL 22
  23. #define ENFILE 23
  24. #define EMFILE 24
  25. #define ENOTTY 25
  26. #define ETXTBSY 26
  27. #define EFBIG 27
  28. #define ENOSPC 28
  29. #define ESPIPE 29
  30. #define EROFS 30
  31. #define EMLINK 31
  32. #define EPIPE 32
  33. #define EDOM 33
  34. #define ERANGE 34
  35. #define ENOMSG 35
  36. #define EIDRM 36
  37. #define ECHRNG 37
  38. #define EL2NSYNC 38
  39. #define EL3HLT 39
  40. #define EL3RST 40
  41. #define ELNRNG 41
  42. #define EUNATCH 42
  43. #define ENOCSI 43
  44. #define EL2HLT 44
  45. #define EDEADLK 45
  46. #define ENOLCK 46
  47. #define EBADE 50
  48. #define EBADR 51
  49. #define EXFULL 52
  50. #define ENOANO 53
  51. #define EBADRQC 54
  52. #define EBADSLT 55
  53. #define EDEADLOCK 56
  54. #define EBFONT 59
  55. #define ENOSTR 60
  56. #define ENODATA 61
  57. #define ETIME 62
  58. #define ENOSR 63
  59. #define ENONET 64
  60. #define ENOPKG 65
  61. #define EREMOTE 66
  62. #define ENOLINK 67
  63. #define EADV 68
  64. #define ESRMNT 69
  65. #define ECOMM 70
  66. #define EPROTO 71
  67. #define EDOTDOT 73
  68. #define EMULTIHOP 74
  69. #define EBADMSG 77
  70. #define ENAMETOOLONG 78
  71. #define EOVERFLOW 79
  72. #define ENOTUNIQ 80
  73. #define EBADFD 81
  74. #define EREMCHG 82
  75. #define ELIBACC 83
  76. #define ELIBBAD 84
  77. #define ELIBSCN 85
  78. #define ELIBMAX 86
  79. #define ELIBEXEC 87
  80. #define EILSEQ 88
  81. #define ENOSYS 89
  82. #define ELOOP 90
  83. #define ERESTART 91
  84. #define ESTRPIPE 92
  85. #define ENOTEMPTY 93
  86. #define EUSERS 94
  87. #define ENOTSOCK 95
  88. #define EDESTADDRREQ 96
  89. #define EMSGSIZE 97
  90. #define EPROTOTYPE 98
  91. #define ENOPROTOOPT 99
  92. #define EPROTONOSUPPORT 120
  93. #define ESOCKTNOSUPPORT 121
  94. #define EOPNOTSUPP 122
  95. #define ENOTSUP EOPNOTSUPP
  96. #define EPFNOSUPPORT 123
  97. #define EAFNOSUPPORT 124
  98. #define EADDRINUSE 125
  99. #define EADDRNOTAVAIL 126
  100. #define ENETDOWN 127
  101. #define ENETUNREACH 128
  102. #define ENETRESET 129
  103. #define ECONNABORTED 130
  104. #define ECONNRESET 131
  105. #define ENOBUFS 132
  106. #define EISCONN 133
  107. #define ENOTCONN 134
  108. #define EUCLEAN 135
  109. #define ENOTNAM 137
  110. #define ENAVAIL 138
  111. #define EISNAM 139
  112. #define EREMOTEIO 140
  113. #define ESHUTDOWN 143
  114. #define ETOOMANYREFS 144
  115. #define ETIMEDOUT 145
  116. #define ECONNREFUSED 146
  117. #define EHOSTDOWN 147
  118. #define EHOSTUNREACH 148
  119. #define EWOULDBLOCK EAGAIN
  120. #define EALREADY 149
  121. #define EINPROGRESS 150
  122. #define ESTALE 151
  123. #define ECANCELED 158
  124. #define ENOMEDIUM 159
  125. #define EMEDIUMTYPE 160
  126. #define ENOKEY 161
  127. #define EKEYEXPIRED 162
  128. #define EKEYREVOKED 163
  129. #define EKEYREJECTED 164
  130. #define EOWNERDEAD 165
  131. #define ENOTRECOVERABLE 166
  132. #define ERFKILL 167
  133. #define EHWPOISON 168
  134. #define EDQUOT 1133