diff options
Diffstat (limited to 'vendor/modernc.org/libc/errno')
| -rw-r--r-- | vendor/modernc.org/libc/errno/capi_freebsd_arm.go | 5 | ||||
| -rw-r--r-- | vendor/modernc.org/libc/errno/capi_openbsd_arm64.go | 5 | ||||
| -rw-r--r-- | vendor/modernc.org/libc/errno/errno_freebsd_arm.go | 157 | ||||
| -rw-r--r-- | vendor/modernc.org/libc/errno/errno_openbsd_arm64.go | 142 | 
4 files changed, 309 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/errno/capi_freebsd_arm.go b/vendor/modernc.org/libc/errno/capi_freebsd_arm.go new file mode 100644 index 000000000..01fe67e9a --- /dev/null +++ b/vendor/modernc.org/libc/errno/capi_freebsd_arm.go @@ -0,0 +1,5 @@ +// 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_freebsd_arm.go -pkgname errno', DO NOT EDIT. + +package errno + +var CAPI = map[string]struct{}{} diff --git a/vendor/modernc.org/libc/errno/capi_openbsd_arm64.go b/vendor/modernc.org/libc/errno/capi_openbsd_arm64.go new file mode 100644 index 000000000..d81a2a189 --- /dev/null +++ b/vendor/modernc.org/libc/errno/capi_openbsd_arm64.go @@ -0,0 +1,5 @@ +// 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_openbsd_amd64.go -pkgname errno', DO NOT EDIT. + +package errno + +var CAPI = map[string]struct{}{} diff --git a/vendor/modernc.org/libc/errno/errno_freebsd_arm.go b/vendor/modernc.org/libc/errno/errno_freebsd_arm.go new file mode 100644 index 000000000..6e7b898ba --- /dev/null +++ b/vendor/modernc.org/libc/errno/errno_freebsd_arm.go @@ -0,0 +1,157 @@ +// 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_freebsd_arm.go -pkgname errno', DO NOT EDIT. + +package errno + +import ( +	"math" +	"reflect" +	"sync/atomic" +	"unsafe" +) + +var _ = math.Pi +var _ reflect.Kind +var _ atomic.Value +var _ unsafe.Pointer + +const ( +	E2BIG              = 7  // errno.h:57:1: +	EACCES             = 13 // errno.h:64:1: +	EADDRINUSE         = 48 // errno.h:112:1: +	EADDRNOTAVAIL      = 49 // errno.h:113:1: +	EAFNOSUPPORT       = 47 // errno.h:111:1: +	EAGAIN             = 35 // errno.h:94:1: +	EALREADY           = 37 // errno.h:98:1: +	EAUTH              = 80 // errno.h:161:1: +	EBADF              = 9  // errno.h:59:1: +	EBADMSG            = 89 // errno.h:173:1: +	EBADRPC            = 72 // errno.h:149:1: +	EBUSY              = 16 // errno.h:69:1: +	ECANCELED          = 85 // errno.h:166:1: +	ECAPMODE           = 94 // errno.h:180:1: +	ECHILD             = 10 // errno.h:60:1: +	ECONNABORTED       = 53 // errno.h:119:1: +	ECONNREFUSED       = 61 // errno.h:127:1: +	ECONNRESET         = 54 // errno.h:120:1: +	EDEADLK            = 11 // errno.h:61:1: +	EDESTADDRREQ       = 39 // errno.h:102:1: +	EDOM               = 33 // errno.h:90:1: +	EDOOFUS            = 88 // errno.h:170:1: +	EDQUOT             = 69 // errno.h:144:1: +	EEXIST             = 17 // errno.h:70:1: +	EFAULT             = 14 // errno.h:65:1: +	EFBIG              = 27 // errno.h:82:1: +	EFTYPE             = 79 // errno.h:160:1: +	EHOSTDOWN          = 64 // errno.h:135:1: +	EHOSTUNREACH       = 65 // errno.h:136:1: +	EIDRM              = 82 // errno.h:163:1: +	EILSEQ             = 86 // errno.h:167:1: +	EINPROGRESS        = 36 // errno.h:97:1: +	EINTEGRITY         = 97 // errno.h:183:1: +	EINTR              = 4  // errno.h:54:1: +	EINVAL             = 22 // errno.h:75:1: +	EIO                = 5  // errno.h:55:1: +	EISCONN            = 56 // errno.h:122:1: +	EISDIR             = 21 // errno.h:74:1: +	ELAST              = 97 // errno.h:187:1: +	ELOOP              = 62 // errno.h:129:1: +	EMFILE             = 24 // errno.h:77:1: +	EMLINK             = 31 // errno.h:86:1: +	EMSGSIZE           = 40 // errno.h:103:1: +	EMULTIHOP          = 90 // errno.h:174:1: +	ENAMETOOLONG       = 63 // errno.h:131:1: +	ENEEDAUTH          = 81 // errno.h:162:1: +	ENETDOWN           = 50 // errno.h:116:1: +	ENETRESET          = 52 // errno.h:118:1: +	ENETUNREACH        = 51 // errno.h:117:1: +	ENFILE             = 23 // errno.h:76:1: +	ENOATTR            = 87 // errno.h:168:1: +	ENOBUFS            = 55 // errno.h:121:1: +	ENODEV             = 19 // errno.h:72:1: +	ENOENT             = 2  // errno.h:52:1: +	ENOEXEC            = 8  // errno.h:58:1: +	ENOLCK             = 77 // errno.h:156:1: +	ENOLINK            = 91 // errno.h:175:1: +	ENOMEM             = 12 // errno.h:63:1: +	ENOMSG             = 83 // errno.h:164:1: +	ENOPROTOOPT        = 42 // errno.h:105:1: +	ENOSPC             = 28 // errno.h:83:1: +	ENOSYS             = 78 // errno.h:157:1: +	ENOTBLK            = 15 // errno.h:67:1: +	ENOTCAPABLE        = 93 // errno.h:179:1: +	ENOTCONN           = 57 // errno.h:123:1: +	ENOTDIR            = 20 // errno.h:73:1: +	ENOTEMPTY          = 66 // errno.h:138:1: +	ENOTRECOVERABLE    = 95 // errno.h:181:1: +	ENOTSOCK           = 38 // errno.h:101:1: +	ENOTSUP            = 45 // errno.h:109:1: +	ENOTTY             = 25 // errno.h:78:1: +	ENXIO              = 6  // errno.h:56:1: +	EOPNOTSUPP         = 45 // errno.h:108:1: +	EOVERFLOW          = 84 // errno.h:165:1: +	EOWNERDEAD         = 96 // errno.h:182:1: +	EPERM              = 1  // errno.h:51:1: +	EPFNOSUPPORT       = 46 // errno.h:110:1: +	EPIPE              = 32 // errno.h:87:1: +	EPROCLIM           = 67 // errno.h:142:1: +	EPROCUNAVAIL       = 76 // errno.h:153:1: +	EPROGMISMATCH      = 75 // errno.h:152:1: +	EPROGUNAVAIL       = 74 // errno.h:151:1: +	EPROTO             = 92 // errno.h:176:1: +	EPROTONOSUPPORT    = 43 // errno.h:106:1: +	EPROTOTYPE         = 41 // errno.h:104:1: +	ERANGE             = 34 // errno.h:91:1: +	EREMOTE            = 71 // errno.h:148:1: +	EROFS              = 30 // errno.h:85:1: +	ERPCMISMATCH       = 73 // errno.h:150:1: +	ESHUTDOWN          = 58 // errno.h:124:1: +	ESOCKTNOSUPPORT    = 44 // errno.h:107:1: +	ESPIPE             = 29 // errno.h:84:1: +	ESRCH              = 3  // errno.h:53:1: +	ESTALE             = 70 // errno.h:147:1: +	ETIMEDOUT          = 60 // errno.h:126:1: +	ETOOMANYREFS       = 59 // errno.h:125:1: +	ETXTBSY            = 26 // errno.h:80:1: +	EUSERS             = 68 // errno.h:143:1: +	EWOULDBLOCK        = 35 // errno.h:96:1: +	EXDEV              = 18 // errno.h:71:1: +	X_ERRNO_T_DEFINED  = 0  // errno.h:203:1: +	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: +	X_ILP32            = 1  // <predefined>:1:1: +	X_Nonnull          = 0  // cdefs.h:790:1: +	X_Null_unspecified = 0  // cdefs.h:792:1: +	X_Nullable         = 0  // cdefs.h:791:1: +	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: +	X_SYS_ERRNO_H_     = 0  // errno.h:41:1: +	Unix               = 1  // <predefined>:367:1: +) + +type Ptrdiff_t = int32 /* <builtin>:3:26 */ + +type Size_t = uint32 /* <builtin>:9:23 */ + +type Wchar_t = uint32 /* <builtin>:15:24 */ + +type X__builtin_va_list = uintptr /* <builtin>:46:14 */ +type X__float128 = float64        /* <builtin>:47:21 */ + +// 11 was EAGAIN + +// math software + +// non-blocking and interrupt i/o + +// ipc/network software -- argument errors + +// ipc/network software -- operational errors + +// should be rearranged + +// quotas & mush + +// Network File System + +// ISO/IEC 9899:2011 K.3.2.2 +type Errno_t = int32 /* errno.h:204:13 */ + +var _ uint8 /* gen.c:2:13: */ diff --git a/vendor/modernc.org/libc/errno/errno_openbsd_arm64.go b/vendor/modernc.org/libc/errno/errno_openbsd_arm64.go new file mode 100644 index 000000000..12d66db04 --- /dev/null +++ b/vendor/modernc.org/libc/errno/errno_openbsd_arm64.go @@ -0,0 +1,142 @@ +// 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_openbsd_amd64.go -pkgname errno', DO NOT EDIT. + +package errno + +import ( +	"math" +	"reflect" +	"sync/atomic" +	"unsafe" +) + +var _ = math.Pi +var _ reflect.Kind +var _ atomic.Value +var _ unsafe.Pointer + +const ( +	E2BIG              = 7  // errno.h:48:1: +	EACCES             = 13 // errno.h:55:1: +	EADDRINUSE         = 48 // errno.h:103:1: +	EADDRNOTAVAIL      = 49 // errno.h:104:1: +	EAFNOSUPPORT       = 47 // errno.h:102:1: +	EAGAIN             = 35 // errno.h:83:1: +	EALREADY           = 37 // errno.h:86:1: +	EAUTH              = 80 // errno.h:155:1: +	EBADF              = 9  // errno.h:50:1: +	EBADMSG            = 92 // errno.h:170:1: +	EBADRPC            = 72 // errno.h:143:1: +	EBUSY              = 16 // errno.h:60:1: +	ECANCELED          = 88 // errno.h:166:1: +	ECHILD             = 10 // errno.h:51:1: +	ECONNABORTED       = 53 // errno.h:110:1: +	ECONNREFUSED       = 61 // errno.h:120:1: +	ECONNRESET         = 54 // errno.h:111:1: +	EDEADLK            = 11 // errno.h:52:1: +	EDESTADDRREQ       = 39 // errno.h:90:1: +	EDOM               = 33 // errno.h:79:1: +	EDQUOT             = 69 // errno.h:137:1: +	EEXIST             = 17 // errno.h:61:1: +	EFAULT             = 14 // errno.h:56:1: +	EFBIG              = 27 // errno.h:71:1: +	EFTYPE             = 79 // errno.h:154:1: +	EHOSTDOWN          = 64 // errno.h:127:1: +	EHOSTUNREACH       = 65 // errno.h:129:1: +	EIDRM              = 89 // errno.h:167:1: +	EILSEQ             = 84 // errno.h:160:1: +	EINPROGRESS        = 36 // errno.h:85:1: +	EINTR              = 4  // errno.h:45:1: +	EINVAL             = 22 // errno.h:66:1: +	EIO                = 5  // errno.h:46:1: +	EIPSEC             = 82 // errno.h:157:1: +	EISCONN            = 56 // errno.h:113:1: +	EISDIR             = 21 // errno.h:65:1: +	ELAST              = 95 // errno.h:175:1: +	ELOOP              = 62 // errno.h:122:1: +	EMEDIUMTYPE        = 86 // errno.h:163:1: +	EMFILE             = 24 // errno.h:68:1: +	EMLINK             = 31 // errno.h:75:1: +	EMSGSIZE           = 40 // errno.h:91:1: +	ENAMETOOLONG       = 63 // errno.h:123:1: +	ENEEDAUTH          = 81 // errno.h:156:1: +	ENETDOWN           = 50 // errno.h:107:1: +	ENETRESET          = 52 // errno.h:109:1: +	ENETUNREACH        = 51 // errno.h:108:1: +	ENFILE             = 23 // errno.h:67:1: +	ENOATTR            = 83 // errno.h:158:1: +	ENOBUFS            = 55 // errno.h:112:1: +	ENODEV             = 19 // errno.h:63:1: +	ENOENT             = 2  // errno.h:43:1: +	ENOEXEC            = 8  // errno.h:49:1: +	ENOLCK             = 77 // errno.h:150:1: +	ENOMEDIUM          = 85 // errno.h:162:1: +	ENOMEM             = 12 // errno.h:54:1: +	ENOMSG             = 90 // errno.h:168:1: +	ENOPROTOOPT        = 42 // errno.h:93:1: +	ENOSPC             = 28 // errno.h:72:1: +	ENOSYS             = 78 // errno.h:151:1: +	ENOTBLK            = 15 // errno.h:58:1: +	ENOTCONN           = 57 // errno.h:114:1: +	ENOTDIR            = 20 // errno.h:64:1: +	ENOTEMPTY          = 66 // errno.h:130:1: +	ENOTRECOVERABLE    = 93 // errno.h:171:1: +	ENOTSOCK           = 38 // errno.h:89:1: +	ENOTSUP            = 91 // errno.h:169:1: +	ENOTTY             = 25 // errno.h:69:1: +	ENXIO              = 6  // errno.h:47:1: +	EOPNOTSUPP         = 45 // errno.h:98:1: +	EOVERFLOW          = 87 // errno.h:165:1: +	EOWNERDEAD         = 94 // errno.h:172:1: +	EPERM              = 1  // errno.h:42:1: +	EPFNOSUPPORT       = 46 // errno.h:100:1: +	EPIPE              = 32 // errno.h:76:1: +	EPROCLIM           = 67 // errno.h:134:1: +	EPROCUNAVAIL       = 76 // errno.h:147:1: +	EPROGMISMATCH      = 75 // errno.h:146:1: +	EPROGUNAVAIL       = 74 // errno.h:145:1: +	EPROTO             = 95 // errno.h:173:1: +	EPROTONOSUPPORT    = 43 // errno.h:94:1: +	EPROTOTYPE         = 41 // errno.h:92:1: +	ERANGE             = 34 // errno.h:80:1: +	EREMOTE            = 71 // errno.h:142:1: +	EROFS              = 30 // errno.h:74:1: +	ERPCMISMATCH       = 73 // errno.h:144:1: +	ESHUTDOWN          = 58 // errno.h:116:1: +	ESOCKTNOSUPPORT    = 44 // errno.h:96:1: +	ESPIPE             = 29 // errno.h:73:1: +	ESRCH              = 3  // errno.h:44:1: +	ESTALE             = 70 // errno.h:140:1: +	ETIMEDOUT          = 60 // errno.h:119:1: +	ETOOMANYREFS       = 59 // errno.h:117:1: +	ETXTBSY            = 26 // errno.h:70:1: +	EUSERS             = 68 // errno.h:135:1: +	EWOULDBLOCK        = 35 // errno.h:84:1: +	EXDEV              = 18 // errno.h:62:1: +	X_ERRNO_H_         = 0  // errno.h:40:1: +	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: +	X_LP64             = 1  // <predefined>:1:1: +	X_MACHINE_CDEFS_H_ = 0  // cdefs.h:9:1: +	X_RET_PROTECTOR    = 1  // <predefined>:2:1: +	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: +	Unix               = 1  // <predefined>:340:1: +) + +type Ptrdiff_t = int64 /* <builtin>:3:26 */ + +type Size_t = uint64 /* <builtin>:9:23 */ + +type Wchar_t = int32 /* <builtin>:15:24 */ + +type X__int128_t = struct { +	Flo int64 +	Fhi int64 +} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 +type X__uint128_t = struct { +	Flo uint64 +	Fhi uint64 +} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 + +type X__builtin_va_list = uintptr /* <builtin>:46:14 */ +type X__float128 = float64        /* <builtin>:47:21 */ + +var _ int8 /* gen.c:2:13: */  | 
