errno_linux_amd64.go (9254B)
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_linux_amd64.go -pkgname errno', DO NOT EDIT. 2 3 package errno 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 ) 11 12 var _ = math.Pi 13 var _ reflect.Kind 14 var _ atomic.Value 15 var _ unsafe.Pointer 16 17 const ( 18 E2BIG = 7 // errno-base.h:11:1: 19 EACCES = 13 // errno-base.h:17:1: 20 EADDRINUSE = 98 // errno.h:81:1: 21 EADDRNOTAVAIL = 99 // errno.h:82:1: 22 EADV = 68 // errno.h:51:1: 23 EAFNOSUPPORT = 97 // errno.h:80:1: 24 EAGAIN = 11 // errno-base.h:15:1: 25 EALREADY = 114 // errno.h:97:1: 26 EBADE = 52 // errno.h:33:1: 27 EBADF = 9 // errno-base.h:13:1: 28 EBADFD = 77 // errno.h:60:1: 29 EBADMSG = 74 // errno.h:57:1: 30 EBADR = 53 // errno.h:34:1: 31 EBADRQC = 56 // errno.h:37:1: 32 EBADSLT = 57 // errno.h:38:1: 33 EBFONT = 59 // errno.h:42:1: 34 EBUSY = 16 // errno-base.h:20:1: 35 ECANCELED = 125 // errno.h:109:1: 36 ECHILD = 10 // errno-base.h:14:1: 37 ECHRNG = 44 // errno.h:25:1: 38 ECOMM = 70 // errno.h:53:1: 39 ECONNABORTED = 103 // errno.h:86:1: 40 ECONNREFUSED = 111 // errno.h:94:1: 41 ECONNRESET = 104 // errno.h:87:1: 42 EDEADLK = 35 // errno.h:7:1: 43 EDEADLOCK = 35 // errno.h:40:1: 44 EDESTADDRREQ = 89 // errno.h:72:1: 45 EDOM = 33 // errno-base.h:37:1: 46 EDOTDOT = 73 // errno.h:56:1: 47 EDQUOT = 122 // errno.h:105:1: 48 EEXIST = 17 // errno-base.h:21:1: 49 EFAULT = 14 // errno-base.h:18:1: 50 EFBIG = 27 // errno-base.h:31:1: 51 EHOSTDOWN = 112 // errno.h:95:1: 52 EHOSTUNREACH = 113 // errno.h:96:1: 53 EHWPOISON = 133 // errno.h:121:1: 54 EIDRM = 43 // errno.h:24:1: 55 EILSEQ = 84 // errno.h:67:1: 56 EINPROGRESS = 115 // errno.h:98:1: 57 EINTR = 4 // errno-base.h:8:1: 58 EINVAL = 22 // errno-base.h:26:1: 59 EIO = 5 // errno-base.h:9:1: 60 EISCONN = 106 // errno.h:89:1: 61 EISDIR = 21 // errno-base.h:25:1: 62 EISNAM = 120 // errno.h:103:1: 63 EKEYEXPIRED = 127 // errno.h:111:1: 64 EKEYREJECTED = 129 // errno.h:113:1: 65 EKEYREVOKED = 128 // errno.h:112:1: 66 EL2HLT = 51 // errno.h:32:1: 67 EL2NSYNC = 45 // errno.h:26:1: 68 EL3HLT = 46 // errno.h:27:1: 69 EL3RST = 47 // errno.h:28:1: 70 ELIBACC = 79 // errno.h:62:1: 71 ELIBBAD = 80 // errno.h:63:1: 72 ELIBEXEC = 83 // errno.h:66:1: 73 ELIBMAX = 82 // errno.h:65:1: 74 ELIBSCN = 81 // errno.h:64:1: 75 ELNRNG = 48 // errno.h:29:1: 76 ELOOP = 40 // errno.h:21:1: 77 EMEDIUMTYPE = 124 // errno.h:108:1: 78 EMFILE = 24 // errno-base.h:28:1: 79 EMLINK = 31 // errno-base.h:35:1: 80 EMSGSIZE = 90 // errno.h:73:1: 81 EMULTIHOP = 72 // errno.h:55:1: 82 ENAMETOOLONG = 36 // errno.h:8:1: 83 ENAVAIL = 119 // errno.h:102:1: 84 ENETDOWN = 100 // errno.h:83:1: 85 ENETRESET = 102 // errno.h:85:1: 86 ENETUNREACH = 101 // errno.h:84:1: 87 ENFILE = 23 // errno-base.h:27:1: 88 ENOANO = 55 // errno.h:36:1: 89 ENOBUFS = 105 // errno.h:88:1: 90 ENOCSI = 50 // errno.h:31:1: 91 ENODATA = 61 // errno.h:44:1: 92 ENODEV = 19 // errno-base.h:23:1: 93 ENOENT = 2 // errno-base.h:6:1: 94 ENOEXEC = 8 // errno-base.h:12:1: 95 ENOKEY = 126 // errno.h:110:1: 96 ENOLCK = 37 // errno.h:9:1: 97 ENOLINK = 67 // errno.h:50:1: 98 ENOMEDIUM = 123 // errno.h:107:1: 99 ENOMEM = 12 // errno-base.h:16:1: 100 ENOMSG = 42 // errno.h:23:1: 101 ENONET = 64 // errno.h:47:1: 102 ENOPKG = 65 // errno.h:48:1: 103 ENOPROTOOPT = 92 // errno.h:75:1: 104 ENOSPC = 28 // errno-base.h:32:1: 105 ENOSR = 63 // errno.h:46:1: 106 ENOSTR = 60 // errno.h:43:1: 107 ENOSYS = 38 // errno.h:18:1: 108 ENOTBLK = 15 // errno-base.h:19:1: 109 ENOTCONN = 107 // errno.h:90:1: 110 ENOTDIR = 20 // errno-base.h:24:1: 111 ENOTEMPTY = 39 // errno.h:20:1: 112 ENOTNAM = 118 // errno.h:101:1: 113 ENOTRECOVERABLE = 131 // errno.h:117:1: 114 ENOTSOCK = 88 // errno.h:71:1: 115 ENOTSUP = 95 // errno.h:30:1: 116 ENOTTY = 25 // errno-base.h:29:1: 117 ENOTUNIQ = 76 // errno.h:59:1: 118 ENXIO = 6 // errno-base.h:10:1: 119 EOPNOTSUPP = 95 // errno.h:78:1: 120 EOVERFLOW = 75 // errno.h:58:1: 121 EOWNERDEAD = 130 // errno.h:116:1: 122 EPERM = 1 // errno-base.h:5:1: 123 EPFNOSUPPORT = 96 // errno.h:79:1: 124 EPIPE = 32 // errno-base.h:36:1: 125 EPROTO = 71 // errno.h:54:1: 126 EPROTONOSUPPORT = 93 // errno.h:76:1: 127 EPROTOTYPE = 91 // errno.h:74:1: 128 ERANGE = 34 // errno-base.h:38:1: 129 EREMCHG = 78 // errno.h:61:1: 130 EREMOTE = 66 // errno.h:49:1: 131 EREMOTEIO = 121 // errno.h:104:1: 132 ERESTART = 85 // errno.h:68:1: 133 ERFKILL = 132 // errno.h:119:1: 134 EROFS = 30 // errno-base.h:34:1: 135 ESHUTDOWN = 108 // errno.h:91:1: 136 ESOCKTNOSUPPORT = 94 // errno.h:77:1: 137 ESPIPE = 29 // errno-base.h:33:1: 138 ESRCH = 3 // errno-base.h:7:1: 139 ESRMNT = 69 // errno.h:52:1: 140 ESTALE = 116 // errno.h:99:1: 141 ESTRPIPE = 86 // errno.h:69:1: 142 ETIME = 62 // errno.h:45:1: 143 ETIMEDOUT = 110 // errno.h:93:1: 144 ETOOMANYREFS = 109 // errno.h:92:1: 145 ETXTBSY = 26 // errno-base.h:30:1: 146 EUCLEAN = 117 // errno.h:100:1: 147 EUNATCH = 49 // errno.h:30:1: 148 EUSERS = 87 // errno.h:70:1: 149 EWOULDBLOCK = 11 // errno.h:22:1: 150 EXDEV = 18 // errno-base.h:22:1: 151 EXFULL = 54 // errno.h:35:1: 152 X_ASM_GENERIC_ERRNO_BASE_H = 0 // errno-base.h:3:1: 153 X_ASM_GENERIC_ERRNO_H = 0 // errno.h:3:1: 154 X_ATFILE_SOURCE = 1 // features.h:342:1: 155 X_BITS_ERRNO_H = 1 // errno.h:20:1: 156 X_DEFAULT_SOURCE = 1 // features.h:227:1: 157 X_ERRNO_H = 1 // errno.h:23:1: 158 X_FEATURES_H = 1 // features.h:19:1: 159 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 160 X_LP64 = 1 // <predefined>:284:1: 161 X_POSIX_C_SOURCE = 200809 // features.h:281:1: 162 X_POSIX_SOURCE = 1 // features.h:279:1: 163 X_STDC_PREDEF_H = 1 // <predefined>:162:1: 164 X_SYS_CDEFS_H = 1 // cdefs.h:19:1: 165 Linux = 1 // <predefined>:231:1: 166 Unix = 1 // <predefined>:177:1: 167 ) 168 169 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 170 171 type Size_t = uint64 /* <builtin>:9:23 */ 172 173 type Wchar_t = int32 /* <builtin>:15:24 */ 174 175 type X__int128_t = struct { 176 Flo int64 177 Fhi int64 178 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 179 type X__uint128_t = struct { 180 Flo uint64 181 Fhi uint64 182 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 183 184 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 185 type X__float128 = float64 /* <builtin>:47:21 */ 186 187 var _ int8 /* gen.c:2:13: */