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 EDEADLK 35
  36. #define ENAMETOOLONG 36
  37. #define ENOLCK 37
  38. #define ENOSYS 38
  39. #define ENOTEMPTY 39
  40. #define ELOOP 40
  41. #define EWOULDBLOCK EAGAIN
  42. #define ENOMSG 42
  43. #define EIDRM 43
  44. #define ECHRNG 44
  45. #define EL2NSYNC 45
  46. #define EL3HLT 46
  47. #define EL3RST 47
  48. #define ELNRNG 48
  49. #define EUNATCH 49
  50. #define ENOCSI 50
  51. #define EL2HLT 51
  52. #define EBADE 52
  53. #define EBADR 53
  54. #define EXFULL 54
  55. #define ENOANO 55
  56. #define EBADRQC 56
  57. #define EBADSLT 57
  58. #define EDEADLOCK EDEADLK
  59. #define EBFONT 59
  60. #define ENOSTR 60
  61. #define ENODATA 61
  62. #define ETIME 62
  63. #define ENOSR 63
  64. #define ENONET 64
  65. #define ENOPKG 65
  66. #define EREMOTE 66
  67. #define ENOLINK 67
  68. #define EADV 68
  69. #define ESRMNT 69
  70. #define ECOMM 70
  71. #define EPROTO 71
  72. #define EMULTIHOP 72
  73. #define EDOTDOT 73
  74. #define EBADMSG 74
  75. #define EOVERFLOW 75
  76. #define ENOTUNIQ 76
  77. #define EBADFD 77
  78. #define EREMCHG 78
  79. #define ELIBACC 79
  80. #define ELIBBAD 80
  81. #define ELIBSCN 81
  82. #define ELIBMAX 82
  83. #define ELIBEXEC 83
  84. #define EILSEQ 84
  85. #define ERESTART 85
  86. #define ESTRPIPE 86
  87. #define EUSERS 87
  88. #define ENOTSOCK 88
  89. #define EDESTADDRREQ 89
  90. #define EMSGSIZE 90
  91. #define EPROTOTYPE 91
  92. #define ENOPROTOOPT 92
  93. #define EPROTONOSUPPORT 93
  94. #define ESOCKTNOSUPPORT 94
  95. #define EOPNOTSUPP 95
  96. #define ENOTSUP EOPNOTSUPP
  97. #define EPFNOSUPPORT 96
  98. #define EAFNOSUPPORT 97
  99. #define EADDRINUSE 98
  100. #define EADDRNOTAVAIL 99
  101. #define ENETDOWN 100
  102. #define ENETUNREACH 101
  103. #define ENETRESET 102
  104. #define ECONNABORTED 103
  105. #define ECONNRESET 104
  106. #define ENOBUFS 105
  107. #define EISCONN 106
  108. #define ENOTCONN 107
  109. #define ESHUTDOWN 108
  110. #define ETOOMANYREFS 109
  111. #define ETIMEDOUT 110
  112. #define ECONNREFUSED 111
  113. #define EHOSTDOWN 112
  114. #define EHOSTUNREACH 113
  115. #define EALREADY 114
  116. #define EINPROGRESS 115
  117. #define ESTALE 116
  118. #define EUCLEAN 117
  119. #define ENOTNAM 118
  120. #define ENAVAIL 119
  121. #define EISNAM 120
  122. #define EREMOTEIO 121
  123. #define EDQUOT 122
  124. #define ENOMEDIUM 123
  125. #define EMEDIUMTYPE 124
  126. #define ECANCELED 125
  127. #define ENOKEY 126
  128. #define EKEYEXPIRED 127
  129. #define EKEYREVOKED 128
  130. #define EKEYREJECTED 129
  131. #define EOWNERDEAD 130
  132. #define ENOTRECOVERABLE 131
  133. #define ERFKILL 132
  134. #define EHWPOISON 133