errno_illumos_amd64.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_illumos_amd64.go -pkgname errno', DO NOT EDIT.
  2. package errno
  3. import (
  4. "math"
  5. "reflect"
  6. "sync/atomic"
  7. "unsafe"
  8. )
  9. var _ = math.Pi
  10. var _ reflect.Kind
  11. var _ atomic.Value
  12. var _ unsafe.Pointer
  13. const (
  14. E2BIG = 7 // errno.h:57:1:
  15. EACCES = 13 // errno.h:63:1:
  16. EADDRINUSE = 125 // errno.h:173:1:
  17. EADDRNOTAVAIL = 126 // errno.h:174:1:
  18. EADV = 68 // errno.h:128:1:
  19. EAFNOSUPPORT = 124 // errno.h:171:1:
  20. EAGAIN = 11 // errno.h:61:1:
  21. EALREADY = 149 // errno.h:193:1:
  22. EBADE = 50 // errno.h:104:1:
  23. EBADF = 9 // errno.h:59:1:
  24. EBADFD = 81 // errno.h:143:1:
  25. EBADMSG = 77 // errno.h:139:1:
  26. EBADR = 51 // errno.h:105:1:
  27. EBADRQC = 54 // errno.h:108:1:
  28. EBADSLT = 55 // errno.h:109:1:
  29. EBFONT = 57 // errno.h:112:1:
  30. EBUSY = 16 // errno.h:66:1:
  31. ECANCELED = 47 // errno.h:97:1:
  32. ECHILD = 10 // errno.h:60:1:
  33. ECHRNG = 37 // errno.h:87:1:
  34. ECOMM = 70 // errno.h:131:1:
  35. ECONNABORTED = 130 // errno.h:180:1:
  36. ECONNREFUSED = 146 // errno.h:189:1:
  37. ECONNRESET = 131 // errno.h:181:1:
  38. EDEADLK = 45 // errno.h:95:1:
  39. EDEADLOCK = 56 // errno.h:110:1:
  40. EDESTADDRREQ = 96 // errno.h:163:1:
  41. EDOM = 33 // errno.h:83:1:
  42. EDQUOT = 49 // errno.h:101:1:
  43. EEXIST = 17 // errno.h:67:1:
  44. EFAULT = 14 // errno.h:64:1:
  45. EFBIG = 27 // errno.h:77:1:
  46. EHOSTDOWN = 147 // errno.h:190:1:
  47. EHOSTUNREACH = 148 // errno.h:191:1:
  48. EIDRM = 36 // errno.h:86:1:
  49. EILSEQ = 88 // errno.h:152:1:
  50. EINPROGRESS = 150 // errno.h:194:1:
  51. EINTR = 4 // errno.h:54:1:
  52. EINVAL = 22 // errno.h:72:1:
  53. EIO = 5 // errno.h:55:1:
  54. EISCONN = 133 // errno.h:183:1:
  55. EISDIR = 21 // errno.h:71:1:
  56. EL2HLT = 44 // errno.h:94:1:
  57. EL2NSYNC = 38 // errno.h:88:1:
  58. EL3HLT = 39 // errno.h:89:1:
  59. EL3RST = 40 // errno.h:90:1:
  60. ELIBACC = 83 // errno.h:147:1:
  61. ELIBBAD = 84 // errno.h:148:1:
  62. ELIBEXEC = 87 // errno.h:151:1:
  63. ELIBMAX = 86 // errno.h:150:1:
  64. ELIBSCN = 85 // errno.h:149:1:
  65. ELNRNG = 41 // errno.h:91:1:
  66. ELOCKUNMAPPED = 72 // errno.h:135:1:
  67. ELOOP = 90 // errno.h:154:1:
  68. EMFILE = 24 // errno.h:74:1:
  69. EMLINK = 31 // errno.h:81:1:
  70. EMSGSIZE = 97 // errno.h:164:1:
  71. EMULTIHOP = 74 // errno.h:138:1:
  72. ENAMETOOLONG = 78 // errno.h:140:1:
  73. ENETDOWN = 127 // errno.h:176:1:
  74. ENETRESET = 129 // errno.h:178:1:
  75. ENETUNREACH = 128 // errno.h:177:1:
  76. ENFILE = 23 // errno.h:73:1:
  77. ENOANO = 53 // errno.h:107:1:
  78. ENOBUFS = 132 // errno.h:182:1:
  79. ENOCSI = 43 // errno.h:93:1:
  80. ENODATA = 61 // errno.h:120:1:
  81. ENODEV = 19 // errno.h:69:1:
  82. ENOENT = 2 // errno.h:52:1:
  83. ENOEXEC = 8 // errno.h:58:1:
  84. ENOLCK = 46 // errno.h:96:1:
  85. ENOLINK = 67 // errno.h:127:1:
  86. ENOMEM = 12 // errno.h:62:1:
  87. ENOMSG = 35 // errno.h:85:1:
  88. ENONET = 64 // errno.h:124:1:
  89. ENOPKG = 65 // errno.h:125:1:
  90. ENOPROTOOPT = 99 // errno.h:166:1:
  91. ENOSPC = 28 // errno.h:78:1:
  92. ENOSR = 63 // errno.h:122:1:
  93. ENOSTR = 60 // errno.h:119:1:
  94. ENOSYS = 89 // errno.h:153:1:
  95. ENOTACTIVE = 73 // errno.h:137:1:
  96. ENOTBLK = 15 // errno.h:65:1:
  97. ENOTCONN = 134 // errno.h:184:1:
  98. ENOTDIR = 20 // errno.h:70:1:
  99. ENOTEMPTY = 93 // errno.h:157:1:
  100. ENOTRECOVERABLE = 59 // errno.h:116:1:
  101. ENOTSOCK = 95 // errno.h:162:1:
  102. ENOTSUP = 48 // errno.h:98:1:
  103. ENOTTY = 25 // errno.h:75:1:
  104. ENOTUNIQ = 80 // errno.h:142:1:
  105. ENXIO = 6 // errno.h:56:1:
  106. EOPNOTSUPP = 122 // errno.h:169:1:
  107. EOVERFLOW = 79 // errno.h:141:1:
  108. EOWNERDEAD = 58 // errno.h:115:1:
  109. EPERM = 1 // errno.h:51:1:
  110. EPFNOSUPPORT = 123 // errno.h:170:1:
  111. EPIPE = 32 // errno.h:82:1:
  112. EPROTO = 71 // errno.h:132:1:
  113. EPROTONOSUPPORT = 120 // errno.h:167:1:
  114. EPROTOTYPE = 98 // errno.h:165:1:
  115. ERANGE = 34 // errno.h:84:1:
  116. EREMCHG = 82 // errno.h:144:1:
  117. EREMOTE = 66 // errno.h:126:1:
  118. ERESTART = 91 // errno.h:155:1:
  119. EROFS = 30 // errno.h:80:1:
  120. ESHUTDOWN = 143 // errno.h:186:1:
  121. ESOCKTNOSUPPORT = 121 // errno.h:168:1:
  122. ESPIPE = 29 // errno.h:79:1:
  123. ESRCH = 3 // errno.h:53:1:
  124. ESRMNT = 69 // errno.h:129:1:
  125. ESTALE = 151 // errno.h:197:1:
  126. ESTRPIPE = 92 // errno.h:156:1:
  127. ETIME = 62 // errno.h:121:1:
  128. ETIMEDOUT = 145 // errno.h:188:1:
  129. ETOOMANYREFS = 144 // errno.h:187:1:
  130. ETXTBSY = 26 // errno.h:76:1:
  131. EUNATCH = 42 // errno.h:92:1:
  132. EUSERS = 94 // errno.h:158:1:
  133. EWOULDBLOCK = 11 // errno.h:192:1:
  134. EXDEV = 18 // errno.h:68:1:
  135. EXFULL = 52 // errno.h:106:1:
  136. X_ERRNO_H = 0 // errno.h:33:1:
  137. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  138. X_LP64 = 1 // <predefined>:286:1:
  139. X_SYS_ERRNO_H = 0 // errno.h:41:1:
  140. Sun = 1 // <predefined>:172:1:
  141. Unix = 1 // <predefined>:175:1:
  142. )
  143. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  144. type Size_t = uint64 /* <builtin>:9:23 */
  145. type Wchar_t = int32 /* <builtin>:15:24 */
  146. type X__int128_t = struct {
  147. Flo int64
  148. Fhi int64
  149. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  150. type X__uint128_t = struct {
  151. Flo uint64
  152. Fhi uint64
  153. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  154. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  155. type X__float128 = float64 /* <builtin>:47:21 */
  156. // ANSI C++ requires that errno be a macro
  157. var _ int8 /* gen.c:2:13: */