chore(deps): Update sqlite dependencies

This commit is contained in:
TwiN committed 2022-12-01 20:19:56 -05:00
1 parent 080563bd4f
commit cdec353744
564 files changed
+583632 -1166555

No files matched your search

+5 -2
View File
@@ -1,5 +1,8 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_darwin_amd64.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set_overflow": {},
"__sigbits": {},
}
+5 -2
View File
@@ -1,5 +1,8 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set_overflow": {},
"__sigbits": {},
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_freebsd_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_freebsd_amd64.go -pkgname signal', DO NOT EDIT.
package signal
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT.
package signal
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_netbsd_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_netbsd_amd64.go -pkgname signal', DO NOT EDIT.
package signal
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_windows_386.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_windows_386.go -pkgname signal', DO NOT EDIT.
package signal
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_windows_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal\gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal\signal_windows_amd64.go -pkgname signal', DO NOT EDIT.
package signal
+253 -253
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_darwin_amd64.go -pkgname signal', DO NOT EDIT.
package signal
@@ -15,157 +15,157 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BUS_ADRALN = 1
BUS_ADRERR = 2
BUS_NOOP = 0
BUS_OBJERR = 3
CLD_CONTINUED = 6
CLD_DUMPED = 3
CLD_EXITED = 1
CLD_KILLED = 2
CLD_NOOP = 0
CLD_STOPPED = 5
CLD_TRAPPED = 4
FPE_FLTDIV = 1
FPE_FLTINV = 5
FPE_FLTOVF = 2
FPE_FLTRES = 4
FPE_FLTSUB = 6
FPE_FLTUND = 3
FPE_INTDIV = 7
FPE_INTOVF = 8
FPE_NOOP = 0
FP_CHOP = 3
FP_PREC_24B = 0
FP_PREC_53B = 2
FP_PREC_64B = 3
FP_RND_DOWN = 1
FP_RND_NEAR = 0
FP_RND_UP = 2
FP_STATE_BYTES = 512
ILL_BADSTK = 8
ILL_COPROC = 7
ILL_ILLADR = 5
ILL_ILLOPC = 1
ILL_ILLOPN = 4
ILL_ILLTRP = 2
ILL_NOOP = 0
ILL_PRVOPC = 3
ILL_PRVREG = 6
MINSIGSTKSZ = 32768
NSIG = 32
POLL_ERR = 4
POLL_HUP = 6
POLL_IN = 1
POLL_MSG = 3
POLL_OUT = 2
POLL_PRI = 5
SA_64REGSET = 0x0200
SA_NOCLDSTOP = 0x0008
SA_NOCLDWAIT = 0x0020
SA_NODEFER = 0x0010
SA_ONSTACK = 0x0001
SA_RESETHAND = 0x0004
SA_RESTART = 0x0002
SA_SIGINFO = 0x0040
SA_USERSPACE_MASK = 127
SA_USERTRAMP = 0x0100
SEGV_ACCERR = 2
SEGV_MAPERR = 1
SEGV_NOOP = 0
SIGABRT = 6
SIGALRM = 14
SIGBUS = 10
SIGCHLD = 20
SIGCONT = 19
SIGEMT = 7
SIGEV_NONE = 0
SIGEV_SIGNAL = 1
SIGEV_THREAD = 3
SIGFPE = 8
SIGHUP = 1
SIGILL = 4
SIGINFO = 29
SIGINT = 2
SIGIO = 23
SIGIOT = 6
SIGKILL = 9
SIGPIPE = 13
SIGPROF = 27
SIGQUIT = 3
SIGSEGV = 11
SIGSTKSZ = 131072
SIGSTOP = 17
SIGSYS = 12
SIGTERM = 15
SIGTRAP = 5
SIGTSTP = 18
SIGTTIN = 21
SIGTTOU = 22
SIGURG = 16
SIGUSR1 = 30
SIGUSR2 = 31
SIGVTALRM = 26
SIGWINCH = 28
SIGXCPU = 24
SIGXFSZ = 25
SIG_BLOCK = 1
SIG_SETMASK = 3
SIG_UNBLOCK = 2
SI_ASYNCIO = 0x10004
SI_MESGQ = 0x10005
SI_QUEUE = 0x10002
SI_TIMER = 0x10003
SI_USER = 0x10001
SS_DISABLE = 0x0004
SS_ONSTACK = 0x0001
SV_INTERRUPT = 2
SV_NOCLDSTOP = 8
SV_NODEFER = 16
SV_ONSTACK = 1
SV_RESETHAND = 4
SV_SIGINFO = 64
TRAP_BRKPT = 1
TRAP_TRACE = 2
X_BSD_I386__TYPES_H_ = 0
X_BSD_MACHINE_SIGNAL_H_ = 0
X_BSD_MACHINE_TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_I386_SIGNAL_H_ = 1
X_INT16_T = 0
X_INT32_T = 0
X_INT64_T = 0
X_INT8_T = 0
X_INTPTR_T = 0
X_LP64 = 1
X_MACHTYPES_H_ = 0
X_MACH_I386__STRUCTS_H_ = 0
X_MACH_MACHINE__STRUCTS_H_ = 0
X_MCONTEXT_T = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PID_T = 0
X_PTHREAD_ATTR_T = 0
X_PTHREAD_T = 0
X_SIGSET_T = 0
X_SIZE_T = 0
X_SYS_SIGNAL_H_ = 0
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
X_UID_T = 0
X_UINTPTR_T = 0
X_USER_SIGNAL_H = 0
X_U_INT16_T = 0
X_U_INT32_T = 0
X_U_INT64_T = 0
X_U_INT8_T = 0
BUS_ADRALN = 1 // signal.h:241:1:
BUS_ADRERR = 2 // signal.h:242:1:
BUS_NOOP = 0 // signal.h:239:1:
BUS_OBJERR = 3 // signal.h:243:1:
CLD_CONTINUED = 6 // signal.h:258:1:
CLD_DUMPED = 3 // signal.h:255:1:
CLD_EXITED = 1 // signal.h:253:1:
CLD_KILLED = 2 // signal.h:254:1:
CLD_NOOP = 0 // signal.h:251:1:
CLD_STOPPED = 5 // signal.h:257:1:
CLD_TRAPPED = 4 // signal.h:256:1:
FPE_FLTDIV = 1 // signal.h:221:1:
FPE_FLTINV = 5 // signal.h:225:1:
FPE_FLTOVF = 2 // signal.h:222:1:
FPE_FLTRES = 4 // signal.h:224:1:
FPE_FLTSUB = 6 // signal.h:226:1:
FPE_FLTUND = 3 // signal.h:223:1:
FPE_INTDIV = 7 // signal.h:227:1:
FPE_INTOVF = 8 // signal.h:228:1:
FPE_NOOP = 0 // signal.h:219:1:
FP_CHOP = 3 // _structs.h:112:1:
FP_PREC_24B = 0 // _structs.h:103:1:
FP_PREC_53B = 2 // _structs.h:104:1:
FP_PREC_64B = 3 // _structs.h:105:1:
FP_RND_DOWN = 1 // _structs.h:110:1:
FP_RND_NEAR = 0 // _structs.h:109:1:
FP_RND_UP = 2 // _structs.h:111:1:
FP_STATE_BYTES = 512 // _structs.h:276:1:
ILL_BADSTK = 8 // signal.h:215:1:
ILL_COPROC = 7 // signal.h:214:1:
ILL_ILLADR = 5 // signal.h:212:1:
ILL_ILLOPC = 1 // signal.h:208:1:
ILL_ILLOPN = 4 // signal.h:211:1:
ILL_ILLTRP = 2 // signal.h:209:1:
ILL_NOOP = 0 // signal.h:206:1:
ILL_PRVOPC = 3 // signal.h:210:1:
ILL_PRVREG = 6 // signal.h:213:1:
MINSIGSTKSZ = 32768 // signal.h:340:1:
NSIG = 32 // signal.h:79:1:
POLL_ERR = 4 // signal.h:264:1:
POLL_HUP = 6 // signal.h:266:1:
POLL_IN = 1 // signal.h:261:1:
POLL_MSG = 3 // signal.h:263:1:
POLL_OUT = 2 // signal.h:262:1:
POLL_PRI = 5 // signal.h:265:1:
SA_64REGSET = 0x0200 // signal.h:308:1:
SA_NOCLDSTOP = 0x0008 // signal.h:301:1:
SA_NOCLDWAIT = 0x0020 // signal.h:303:1:
SA_NODEFER = 0x0010 // signal.h:302:1:
SA_ONSTACK = 0x0001 // signal.h:298:1:
SA_RESETHAND = 0x0004 // signal.h:300:1:
SA_RESTART = 0x0002 // signal.h:299:1:
SA_SIGINFO = 0x0040 // signal.h:304:1:
SA_USERSPACE_MASK = 127 // signal.h:314:1:
SA_USERTRAMP = 0x0100 // signal.h:306:1:
SEGV_ACCERR = 2 // signal.h:235:1:
SEGV_MAPERR = 1 // signal.h:234:1:
SEGV_NOOP = 0 // signal.h:232:1:
SIGABRT = 6 // signal.h:89:1:
SIGALRM = 14 // signal.h:102:1:
SIGBUS = 10 // signal.h:98:1:
SIGCHLD = 20 // signal.h:108:1:
SIGCONT = 19 // signal.h:107:1:
SIGEMT = 7 // signal.h:94:1:
SIGEV_NONE = 0 // signal.h:164:1:
SIGEV_SIGNAL = 1 // signal.h:165:1:
SIGEV_THREAD = 3 // signal.h:166:1:
SIGFPE = 8 // signal.h:96:1:
SIGHUP = 1 // signal.h:84:1:
SIGILL = 4 // signal.h:87:1:
SIGINFO = 29 // signal.h:120:1:
SIGINT = 2 // signal.h:85:1:
SIGIO = 23 // signal.h:112:1:
SIGIOT = 6 // signal.h:93:1:
SIGKILL = 9 // signal.h:97:1:
SIGPIPE = 13 // signal.h:101:1:
SIGPROF = 27 // signal.h:117:1:
SIGQUIT = 3 // signal.h:86:1:
SIGSEGV = 11 // signal.h:99:1:
SIGSTKSZ = 131072 // signal.h:341:1:
SIGSTOP = 17 // signal.h:105:1:
SIGSYS = 12 // signal.h:100:1:
SIGTERM = 15 // signal.h:103:1:
SIGTRAP = 5 // signal.h:88:1:
SIGTSTP = 18 // signal.h:106:1:
SIGTTIN = 21 // signal.h:109:1:
SIGTTOU = 22 // signal.h:110:1:
SIGURG = 16 // signal.h:104:1:
SIGUSR1 = 30 // signal.h:122:1:
SIGUSR2 = 31 // signal.h:123:1:
SIGVTALRM = 26 // signal.h:116:1:
SIGWINCH = 28 // signal.h:119:1:
SIGXCPU = 24 // signal.h:114:1:
SIGXFSZ = 25 // signal.h:115:1:
SIG_BLOCK = 1 // signal.h:319:1:
SIG_SETMASK = 3 // signal.h:321:1:
SIG_UNBLOCK = 2 // signal.h:320:1:
SI_ASYNCIO = 0x10004 // signal.h:327:1:
SI_MESGQ = 0x10005 // signal.h:328:1:
SI_QUEUE = 0x10002 // signal.h:325:1:
SI_TIMER = 0x10003 // signal.h:326:1:
SI_USER = 0x10001 // signal.h:324:1:
SS_DISABLE = 0x0004 // signal.h:339:1:
SS_ONSTACK = 0x0001 // signal.h:338:1:
SV_INTERRUPT = 2 // signal.h:355:1:
SV_NOCLDSTOP = 8 // signal.h:358:1:
SV_NODEFER = 16 // signal.h:357:1:
SV_ONSTACK = 1 // signal.h:354:1:
SV_RESETHAND = 4 // signal.h:356:1:
SV_SIGINFO = 64 // signal.h:359:1:
TRAP_BRKPT = 1 // signal.h:246:1:
TRAP_TRACE = 2 // signal.h:247:1:
X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1:
X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_I386_SIGNAL_H_ = 1 // signal.h:34:1:
X_INT16_T = 0 // _int16_t.h:29:1:
X_INT32_T = 0 // _int32_t.h:29:1:
X_INT64_T = 0 // _int64_t.h:29:1:
X_INT8_T = 0 // _int8_t.h:29:1:
X_INTPTR_T = 0 // _intptr_t.h:29:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHTYPES_H_ = 0 // types.h:67:1:
X_MACH_I386__STRUCTS_H_ = 0 // _structs.h:33:1:
X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1:
X_MCONTEXT_T = 0 // _mcontext.h:202:1:
X_Nonnull = 0 // cdefs.h:243:1:
X_Null_unspecified = 0 // cdefs.h:246:1:
X_Nullable = 0 // cdefs.h:240:1:
X_PID_T = 0 // _pid_t.h:29:1:
X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
X_PTHREAD_T = 0 // _pthread_t.h:29:1:
X_SIGSET_T = 0 // _sigset_t.h:29:1:
X_SIZE_T = 0 // _size_t.h:29:1:
X_SYS_SIGNAL_H_ = 0 // signal.h:70:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
X_UID_T = 0 // _uid_t.h:29:1:
X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
X_USER_SIGNAL_H = 0 // signal.h:59:1:
X_U_INT16_T = 0 // _u_int16_t.h:29:1:
X_U_INT32_T = 0 // _u_int32_t.h:29:1:
X_U_INT64_T = 0 // _u_int64_t.h:29:1:
X_U_INT8_T = 0 // _u_int8_t.h:29:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -186,6 +186,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
//
// @APPLE_LICENSE_HEADER_START@
@@ -314,6 +316,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@@ -790,8 +799,8 @@ type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:79:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
@@ -1300,15 +1309,6 @@ type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
//
// @APPLE_LICENSE_HEADER_START@
@@ -2297,8 +2297,8 @@ type X__darwin_i386_thread_state = struct {
// This structure should be double-word aligned for performance
type X__darwin_fp_control = struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
} /* _structs.h:92:1 */
type X__darwin_fp_control_t = X__darwin_fp_control /* _structs.h:117:28 */
@@ -2306,8 +2306,8 @@ type X__darwin_fp_control_t = X__darwin_fp_control /* _structs.h:117:28 */
// Status word.
type X__darwin_fp_status = struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
} /* _structs.h:150:1 */
type X__darwin_fp_status_t = X__darwin_fp_status /* _structs.h:167:27 */
@@ -2338,12 +2338,12 @@ type X__darwin_opmask_reg = struct{ F__opmask_reg [8]int8 } /* _structs.h:259:1
type X__darwin_i386_float_state = struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -2403,12 +2403,12 @@ type X__darwin_i386_float_state = struct {
type X__darwin_i386_avx_state = struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -2477,12 +2477,12 @@ type X__darwin_i386_avx_state = struct {
type X__darwin_i386_avx512_state = struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -2645,12 +2645,12 @@ type X__darwin_x86_thread_full_state64 = struct {
type X__darwin_x86_float_state64 = struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -2718,12 +2718,12 @@ type X__darwin_x86_float_state64 = struct {
type X__darwin_x86_avx_state64 = struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -2808,12 +2808,12 @@ type X__darwin_x86_avx_state64 = struct {
type X__darwin_x86_avx512_state64 = struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -2983,12 +2983,12 @@ type X__darwin_mcontext32 = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3074,12 +3074,12 @@ type X__darwin_mcontext_avx32 = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3174,12 +3174,12 @@ type X__darwin_mcontext_avx512_32 = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3295,12 +3295,12 @@ type X__darwin_mcontext64 = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3364,7 +3364,7 @@ type X__darwin_mcontext64 = struct {
F__fpu_rsrv4 [96]int8
F__fpu_reserved1 int32
}
_ [4]byte
F__ccgo_pad1 [4]byte
} /* _mcontext.h:97:1 */
type X__darwin_mcontext64_full = struct {
@@ -3406,12 +3406,12 @@ type X__darwin_mcontext64_full = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3475,7 +3475,7 @@ type X__darwin_mcontext64_full = struct {
F__fpu_rsrv4 [96]int8
F__fpu_reserved1 int32
}
_ [4]byte
F__ccgo_pad1 [4]byte
} /* _mcontext.h:105:1 */
type X__darwin_mcontext_avx64 = struct {
@@ -3511,12 +3511,12 @@ type X__darwin_mcontext_avx64 = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3597,7 +3597,7 @@ type X__darwin_mcontext_avx64 = struct {
F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
}
_ [4]byte
F__ccgo_pad1 [4]byte
} /* _mcontext.h:113:1 */
type X__darwin_mcontext_avx64_full = struct {
@@ -3639,12 +3639,12 @@ type X__darwin_mcontext_avx64_full = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3725,7 +3725,7 @@ type X__darwin_mcontext_avx64_full = struct {
F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
}
_ [4]byte
F__ccgo_pad1 [4]byte
} /* _mcontext.h:121:1 */
type X__darwin_mcontext_avx512_64 = struct {
@@ -3761,12 +3761,12 @@ type X__darwin_mcontext_avx512_64 = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -3887,7 +3887,7 @@ type X__darwin_mcontext_avx512_64 = struct {
F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
}
_ [4]byte
F__ccgo_pad1 [4]byte
} /* _mcontext.h:130:1 */
type X__darwin_mcontext_avx512_64_full = struct {
@@ -3929,12 +3929,12 @@ type X__darwin_mcontext_avx512_64_full = struct {
F__fs struct {
F__fpu_reserved [2]int32
F__fpu_fcw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
}
F__fpu_fsw struct {
_ [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
F__ccgo_pad1 [0]uint16
F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
}
F__fpu_ftw X__uint8_t
F__fpu_rsrv1 X__uint8_t
@@ -4055,7 +4055,7 @@ type X__darwin_mcontext_avx512_64_full = struct {
F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
}
_ [4]byte
F__ccgo_pad1 [4]byte
} /* _mcontext.h:138:1 */
type Mcontext_t = uintptr /* _mcontext.h:204:33 */
@@ -4231,10 +4231,10 @@ type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
type X__darwin_sigaltstack = struct {
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
} /* _sigaltstack.h:42:1 */
type Stack_t = X__darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack
@@ -4434,10 +4434,10 @@ type X__darwin_ucontext = struct {
Fuc_onstack int32
Fuc_sigmask X__darwin_sigset_t
Fuc_stack struct {
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
}
Fuc_link uintptr
Fuc_mcsize X__darwin_size_t
@@ -4605,18 +4605,18 @@ type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
type Sigval = struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
} /* signal.h:158:1 */
type Sigevent = struct {
Fsigev_notify int32
Fsigev_signo int32
Fsigev_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
Fsigev_notify_function uintptr
Fsigev_notify_attributes uintptr
@@ -4631,9 +4631,9 @@ type X__siginfo = struct {
Fsi_status int32
Fsi_addr uintptr
Fsi_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
Fsi_band int64
F__pad [7]uint64
@@ -4709,9 +4709,9 @@ type Sigvec = struct {
// Structure used in sigstack call.
type Sigstack = struct {
Fss_sp uintptr
Fss_onstack int32
_ [4]byte
Fss_sp uintptr
Fss_onstack int32
F__ccgo_pad1 [4]byte
} /* signal.h:367:1 */
// Copyright (c) 2003-2013 Apple Inc. All rights reserved.
+285 -293
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT.
package signal
@@ -15,184 +15,187 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BUS_ADRALN = 1
BUS_ADRERR = 2
BUS_NOOP = 0
BUS_OBJERR = 3
CLD_CONTINUED = 6
CLD_DUMPED = 3
CLD_EXITED = 1
CLD_KILLED = 2
CLD_NOOP = 0
CLD_STOPPED = 5
CLD_TRAPPED = 4
FPE_FLTDIV = 1
FPE_FLTINV = 5
FPE_FLTOVF = 2
FPE_FLTRES = 4
FPE_FLTSUB = 6
FPE_FLTUND = 3
FPE_INTDIV = 7
FPE_INTOVF = 8
FPE_NOOP = 0
ILL_BADSTK = 8
ILL_COPROC = 7
ILL_ILLADR = 5
ILL_ILLOPC = 1
ILL_ILLOPN = 4
ILL_ILLTRP = 2
ILL_NOOP = 0
ILL_PRVOPC = 3
ILL_PRVREG = 6
MAC_OS_VERSION_11_0 = 110000
MAC_OS_X_VERSION_10_0 = 1000
MAC_OS_X_VERSION_10_1 = 1010
MAC_OS_X_VERSION_10_10 = 101000
MAC_OS_X_VERSION_10_10_2 = 101002
MAC_OS_X_VERSION_10_10_3 = 101003
MAC_OS_X_VERSION_10_11 = 101100
MAC_OS_X_VERSION_10_11_2 = 101102
MAC_OS_X_VERSION_10_11_3 = 101103
MAC_OS_X_VERSION_10_11_4 = 101104
MAC_OS_X_VERSION_10_12 = 101200
MAC_OS_X_VERSION_10_12_1 = 101201
MAC_OS_X_VERSION_10_12_2 = 101202
MAC_OS_X_VERSION_10_12_4 = 101204
MAC_OS_X_VERSION_10_13 = 101300
MAC_OS_X_VERSION_10_13_1 = 101301
MAC_OS_X_VERSION_10_13_2 = 101302
MAC_OS_X_VERSION_10_13_4 = 101304
MAC_OS_X_VERSION_10_14 = 101400
MAC_OS_X_VERSION_10_14_1 = 101401
MAC_OS_X_VERSION_10_14_4 = 101404
MAC_OS_X_VERSION_10_14_6 = 101406
MAC_OS_X_VERSION_10_15 = 101500
MAC_OS_X_VERSION_10_15_1 = 101501
MAC_OS_X_VERSION_10_16 = 101600
MAC_OS_X_VERSION_10_2 = 1020
MAC_OS_X_VERSION_10_3 = 1030
MAC_OS_X_VERSION_10_4 = 1040
MAC_OS_X_VERSION_10_5 = 1050
MAC_OS_X_VERSION_10_6 = 1060
MAC_OS_X_VERSION_10_7 = 1070
MAC_OS_X_VERSION_10_8 = 1080
MAC_OS_X_VERSION_10_9 = 1090
MINSIGSTKSZ = 32768
NSIG = 32
POLL_ERR = 4
POLL_HUP = 6
POLL_IN = 1
POLL_MSG = 3
POLL_OUT = 2
POLL_PRI = 5
SA_64REGSET = 0x0200
SA_NOCLDSTOP = 0x0008
SA_NOCLDWAIT = 0x0020
SA_NODEFER = 0x0010
SA_ONSTACK = 0x0001
SA_RESETHAND = 0x0004
SA_RESTART = 0x0002
SA_SIGINFO = 0x0040
SA_USERSPACE_MASK = 127
SA_USERTRAMP = 0x0100
SEGV_ACCERR = 2
SEGV_MAPERR = 1
SEGV_NOOP = 0
SIGABRT = 6
SIGALRM = 14
SIGBUS = 10
SIGCHLD = 20
SIGCONT = 19
SIGEMT = 7
SIGEV_NONE = 0
SIGEV_SIGNAL = 1
SIGEV_THREAD = 3
SIGFPE = 8
SIGHUP = 1
SIGILL = 4
SIGINFO = 29
SIGINT = 2
SIGIO = 23
SIGIOT = 6
SIGKILL = 9
SIGPIPE = 13
SIGPROF = 27
SIGQUIT = 3
SIGSEGV = 11
SIGSTKSZ = 131072
SIGSTOP = 17
SIGSYS = 12
SIGTERM = 15
SIGTRAP = 5
SIGTSTP = 18
SIGTTIN = 21
SIGTTOU = 22
SIGURG = 16
SIGUSR1 = 30
SIGUSR2 = 31
SIGVTALRM = 26
SIGWINCH = 28
SIGXCPU = 24
SIGXFSZ = 25
SIG_BLOCK = 1
SIG_SETMASK = 3
SIG_UNBLOCK = 2
SI_ASYNCIO = 0x10004
SI_MESGQ = 0x10005
SI_QUEUE = 0x10002
SI_TIMER = 0x10003
SI_USER = 0x10001
SS_DISABLE = 0x0004
SS_ONSTACK = 0x0001
SV_INTERRUPT = 2
SV_NOCLDSTOP = 8
SV_NODEFER = 16
SV_ONSTACK = 1
SV_RESETHAND = 4
SV_SIGINFO = 64
TRAP_BRKPT = 1
TRAP_TRACE = 2
X_ARM_SIGNAL_ = 1
X_BSD_ARM__TYPES_H_ = 0
X_BSD_MACHINE_SIGNAL_H_ = 0
X_BSD_MACHINE_TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_INT16_T = 0
X_INT32_T = 0
X_INT64_T = 0
X_INT8_T = 0
X_INTPTR_T = 0
X_LP64 = 1
X_MACHTYPES_H_ = 0
X_MACH_ARM__STRUCTS_H_ = 0
X_MACH_MACHINE__STRUCTS_H_ = 0
X_MCONTEXT_T = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PID_T = 0
X_PTHREAD_ATTR_T = 0
X_PTHREAD_T = 0
X_SIGSET_T = 0
X_SIZE_T = 0
X_SYS_SIGNAL_H_ = 0
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
X_UID_T = 0
X_UINTPTR_T = 0
X_USER_SIGNAL_H = 0
X_U_INT16_T = 0
X_U_INT32_T = 0
X_U_INT64_T = 0
X_U_INT8_T = 0
BUS_ADRALN = 1 // signal.h:241:1:
BUS_ADRERR = 2 // signal.h:242:1:
BUS_NOOP = 0 // signal.h:239:1:
BUS_OBJERR = 3 // signal.h:243:1:
CLD_CONTINUED = 6 // signal.h:258:1:
CLD_DUMPED = 3 // signal.h:255:1:
CLD_EXITED = 1 // signal.h:253:1:
CLD_KILLED = 2 // signal.h:254:1:
CLD_NOOP = 0 // signal.h:251:1:
CLD_STOPPED = 5 // signal.h:257:1:
CLD_TRAPPED = 4 // signal.h:256:1:
FPE_FLTDIV = 1 // signal.h:221:1:
FPE_FLTINV = 5 // signal.h:225:1:
FPE_FLTOVF = 2 // signal.h:222:1:
FPE_FLTRES = 4 // signal.h:224:1:
FPE_FLTSUB = 6 // signal.h:226:1:
FPE_FLTUND = 3 // signal.h:223:1:
FPE_INTDIV = 7 // signal.h:227:1:
FPE_INTOVF = 8 // signal.h:228:1:
FPE_NOOP = 0 // signal.h:219:1:
ILL_BADSTK = 8 // signal.h:215:1:
ILL_COPROC = 7 // signal.h:214:1:
ILL_ILLADR = 5 // signal.h:212:1:
ILL_ILLOPC = 1 // signal.h:208:1:
ILL_ILLOPN = 4 // signal.h:211:1:
ILL_ILLTRP = 2 // signal.h:209:1:
ILL_NOOP = 0 // signal.h:206:1:
ILL_PRVOPC = 3 // signal.h:210:1:
ILL_PRVREG = 6 // signal.h:213:1:
MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1:
MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1:
MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1:
MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1:
MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1:
MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1:
MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1:
MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1:
MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1:
MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1:
MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1:
MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1:
MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1:
MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1:
MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1:
MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1:
MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1:
MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1:
MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1:
MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1:
MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1:
MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1:
MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1:
MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1:
MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1:
MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1:
MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1:
MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1:
MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1:
MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1:
MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1:
MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1:
MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1:
MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1:
MINSIGSTKSZ = 32768 // signal.h:340:1:
NSIG = 32 // signal.h:79:1:
POLL_ERR = 4 // signal.h:264:1:
POLL_HUP = 6 // signal.h:266:1:
POLL_IN = 1 // signal.h:261:1:
POLL_MSG = 3 // signal.h:263:1:
POLL_OUT = 2 // signal.h:262:1:
POLL_PRI = 5 // signal.h:265:1:
SA_64REGSET = 0x0200 // signal.h:308:1:
SA_NOCLDSTOP = 0x0008 // signal.h:301:1:
SA_NOCLDWAIT = 0x0020 // signal.h:303:1:
SA_NODEFER = 0x0010 // signal.h:302:1:
SA_ONSTACK = 0x0001 // signal.h:298:1:
SA_RESETHAND = 0x0004 // signal.h:300:1:
SA_RESTART = 0x0002 // signal.h:299:1:
SA_SIGINFO = 0x0040 // signal.h:304:1:
SA_USERSPACE_MASK = 127 // signal.h:314:1:
SA_USERTRAMP = 0x0100 // signal.h:306:1:
SEGV_ACCERR = 2 // signal.h:235:1:
SEGV_MAPERR = 1 // signal.h:234:1:
SEGV_NOOP = 0 // signal.h:232:1:
SIGABRT = 6 // signal.h:89:1:
SIGALRM = 14 // signal.h:102:1:
SIGBUS = 10 // signal.h:98:1:
SIGCHLD = 20 // signal.h:108:1:
SIGCONT = 19 // signal.h:107:1:
SIGEMT = 7 // signal.h:94:1:
SIGEV_NONE = 0 // signal.h:164:1:
SIGEV_SIGNAL = 1 // signal.h:165:1:
SIGEV_THREAD = 3 // signal.h:166:1:
SIGFPE = 8 // signal.h:96:1:
SIGHUP = 1 // signal.h:84:1:
SIGILL = 4 // signal.h:87:1:
SIGINFO = 29 // signal.h:120:1:
SIGINT = 2 // signal.h:85:1:
SIGIO = 23 // signal.h:112:1:
SIGIOT = 6 // signal.h:93:1:
SIGKILL = 9 // signal.h:97:1:
SIGPIPE = 13 // signal.h:101:1:
SIGPROF = 27 // signal.h:117:1:
SIGQUIT = 3 // signal.h:86:1:
SIGSEGV = 11 // signal.h:99:1:
SIGSTKSZ = 131072 // signal.h:341:1:
SIGSTOP = 17 // signal.h:105:1:
SIGSYS = 12 // signal.h:100:1:
SIGTERM = 15 // signal.h:103:1:
SIGTRAP = 5 // signal.h:88:1:
SIGTSTP = 18 // signal.h:106:1:
SIGTTIN = 21 // signal.h:109:1:
SIGTTOU = 22 // signal.h:110:1:
SIGURG = 16 // signal.h:104:1:
SIGUSR1 = 30 // signal.h:122:1:
SIGUSR2 = 31 // signal.h:123:1:
SIGVTALRM = 26 // signal.h:116:1:
SIGWINCH = 28 // signal.h:119:1:
SIGXCPU = 24 // signal.h:114:1:
SIGXFSZ = 25 // signal.h:115:1:
SIG_BLOCK = 1 // signal.h:319:1:
SIG_SETMASK = 3 // signal.h:321:1:
SIG_UNBLOCK = 2 // signal.h:320:1:
SI_ASYNCIO = 0x10004 // signal.h:327:1:
SI_MESGQ = 0x10005 // signal.h:328:1:
SI_QUEUE = 0x10002 // signal.h:325:1:
SI_TIMER = 0x10003 // signal.h:326:1:
SI_USER = 0x10001 // signal.h:324:1:
SS_DISABLE = 0x0004 // signal.h:339:1:
SS_ONSTACK = 0x0001 // signal.h:338:1:
SV_INTERRUPT = 2 // signal.h:355:1:
SV_NOCLDSTOP = 8 // signal.h:358:1:
SV_NODEFER = 16 // signal.h:357:1:
SV_ONSTACK = 1 // signal.h:354:1:
SV_RESETHAND = 4 // signal.h:356:1:
SV_SIGINFO = 64 // signal.h:359:1:
TRAP_BRKPT = 1 // signal.h:246:1:
TRAP_TRACE = 2 // signal.h:247:1:
X_ARM_MACHTYPES_H_ = 0 // types.h:43:1:
X_ARM_SIGNAL_ = 1 // signal.h:10:1:
X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1:
X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
X_BSD_MACHINE__MCONTEXT_H_ = 0 // _mcontext.h:29:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_INT16_T = 0 // _int16_t.h:29:1:
X_INT32_T = 0 // _int32_t.h:29:1:
X_INT64_T = 0 // _int64_t.h:29:1:
X_INT8_T = 0 // _int8_t.h:29:1:
X_INTPTR_T = 0 // _intptr_t.h:29:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHTYPES_H_ = 0 // types.h:44:1:
X_MACH_ARM__STRUCTS_H_ = 0 // _structs.h:32:1:
X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1:
X_MCONTEXT_T = 0 // _mcontext.h:83:1:
X_Nonnull = 0 // cdefs.h:268:1:
X_Null_unspecified = 0 // cdefs.h:271:1:
X_Nullable = 0 // cdefs.h:265:1:
X_PID_T = 0 // _pid_t.h:29:1:
X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
X_PTHREAD_T = 0 // _pthread_t.h:29:1:
X_SIGSET_T = 0 // _sigset_t.h:29:1:
X_SIZE_T = 0 // _size_t.h:29:1:
X_SYS_SIGNAL_H_ = 0 // signal.h:70:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
X_UID_T = 0 // _uid_t.h:29:1:
X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
X_USER_SIGNAL_H = 0 // signal.h:59:1:
X_U_INT16_T = 0 // _u_int16_t.h:29:1:
X_U_INT32_T = 0 // _u_int32_t.h:29:1:
X_U_INT64_T = 0 // _u_int64_t.h:29:1:
X_U_INT8_T = 0 // _u_int8_t.h:29:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -213,6 +216,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
//
// @APPLE_LICENSE_HEADER_START@
@@ -341,6 +346,19 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __pure2 can be used for functions that are only a function of their scalar
// arguments (meaning they can't dereference pointers).
//
// __stateful_pure can be used for functions that have no side effects,
// but depend on the state of the memory.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@@ -617,6 +635,20 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
// used from other compilation units, but not other libraries or executables.
// We intentionally define to nothing pointer attributes which do not have an
// impact on the ABI. __indexable and __bidi_indexable are not defined because
// of the ABI incompatibility that makes the diagnostic preferable.
// Similarly, we intentionally define to nothing the
// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
// macros because they do not lead to an ABI incompatibility. However, we do not
// define the indexable and unsafe_indexable ones because the diagnostic is
// better than the silent ABI break.
// __unsafe_forge intrinsics are defined as regular C casts.
// decay operates normally; attribute is meaningless without pointer checks.
// Architecture validation for current SDK
// Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
@@ -764,17 +796,17 @@ type X__float128 = float64 /* <builtin>:47:21 */
// This header file contains integer types. It's intended to also contain
// flotaing point and other arithmetic types, as needed, later.
type X__int8_t = int8 /* _types.h:13:33 */
type X__uint8_t = uint8 /* _types.h:17:33 */
type X__int16_t = int16 /* _types.h:18:33 */
type X__uint16_t = uint16 /* _types.h:19:33 */
type X__int32_t = int32 /* _types.h:20:33 */
type X__uint32_t = uint32 /* _types.h:21:33 */
type X__int64_t = int64 /* _types.h:22:33 */
type X__uint64_t = uint64 /* _types.h:23:33 */
type X__int8_t = int8 /* _types.h:15:33 */
type X__uint8_t = uint8 /* _types.h:19:33 */
type X__int16_t = int16 /* _types.h:20:33 */
type X__uint16_t = uint16 /* _types.h:21:33 */
type X__int32_t = int32 /* _types.h:22:33 */
type X__uint32_t = uint32 /* _types.h:23:33 */
type X__int64_t = int64 /* _types.h:24:33 */
type X__uint64_t = uint64 /* _types.h:25:33 */
type X__darwin_intptr_t = int64 /* _types.h:25:33 */
type X__darwin_natural_t = uint32 /* _types.h:26:33 */
type X__darwin_intptr_t = int64 /* _types.h:27:33 */
type X__darwin_natural_t = uint32 /* _types.h:28:33 */
// The rune type below is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
@@ -792,33 +824,33 @@ type X__darwin_natural_t = uint32 /* _types.h:26:33 */
// wchar_t, and should also be able to hold all members of the largest
// character set plus one extra value (WEOF). wint_t must be at least 16 bits.
type X__darwin_ct_rune_t = int32 /* _types.h:46:33 */ // ct_rune_t
type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
} /* _types.h:55:3 */
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:57:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:57:33 */ // mbstate_t
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
type X__darwin_ptrdiff_t = int64 /* _types.h:60:33 */ // ptr1 - ptr2
type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
type X__darwin_size_t = uint64 /* _types.h:68:33 */ // sizeof()
type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
type X__darwin_va_list = X__builtin_va_list /* _types.h:74:33 */ // va_list
type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
type X__darwin_wchar_t = int32 /* _types.h:80:33 */ // wchar_t
type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:85:33 */ // rune_t
type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
type X__darwin_wint_t = int32 /* _types.h:88:33 */ // wint_t
type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
type X__darwin_clock_t = uint64 /* _types.h:93:33 */ // clock()
type X__darwin_socklen_t = X__uint32_t /* _types.h:94:33 */ // socklen_t (duh)
type X__darwin_ssize_t = int64 /* _types.h:95:33 */ // byte count or error
type X__darwin_time_t = int64 /* _types.h:96:33 */ // time()
type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock()
type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error
type X__darwin_time_t = int64 /* _types.h:98:33 */ // time()
// Type definitions; takes common type definitions that must be used
// in multiple header files due to [XSI], removes them from the system
@@ -1330,15 +1362,6 @@ type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
// Set up standard Mac OS X versions
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
//
// @APPLE_LICENSE_HEADER_START@
@@ -1379,7 +1402,7 @@ type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
// Evaluate to nothing for compilers that don't support availability.
// Swift compiler version
// Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
// Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
// Example:
//
// #if __swift_compiler_version_at_least(800, 2, 20)
@@ -1512,7 +1535,7 @@ type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
//
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
type Sig_atomic_t = int32 /* signal.h:15:13 */
type Sig_atomic_t = int32 /* signal.h:17:13 */
// Language spec sez we must list exactly one parameter, even though we
// actually supply three. Ugh!
@@ -1569,6 +1592,7 @@ type Sig_atomic_t = int32 /* signal.h:15:13 */
// limitations under the License.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
@@ -2135,7 +2159,7 @@ type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
type Register_t = Int64_t /* types.h:63:33 */
type Register_t = Int64_t /* types.h:66:33 */
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
//
@@ -2215,31 +2239,32 @@ type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
// limitations under the License.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
type Uintptr_t = uint64 /* _uintptr_t.h:34:33 */
// These types are used for reserving the largest possible size.
type User_addr_t = U_int64_t /* types.h:74:33 */
type User_size_t = U_int64_t /* types.h:75:33 */
type User_ssize_t = Int64_t /* types.h:76:33 */
type User_long_t = Int64_t /* types.h:77:33 */
type User_ulong_t = U_int64_t /* types.h:78:33 */
type User_time_t = Int64_t /* types.h:79:33 */
type User_off_t = Int64_t /* types.h:80:33 */
type User_addr_t = U_int64_t /* types.h:77:33 */
type User_size_t = U_int64_t /* types.h:78:33 */
type User_ssize_t = Int64_t /* types.h:79:33 */
type User_long_t = Int64_t /* types.h:80:33 */
type User_ulong_t = U_int64_t /* types.h:81:33 */
type User_time_t = Int64_t /* types.h:82:33 */
type User_off_t = Int64_t /* types.h:83:33 */
// This defines the size of syscall arguments after copying into the kernel:
type Syscall_arg_t = U_int64_t /* types.h:101:33 */
type Syscall_arg_t = U_int64_t /* types.h:104:33 */
type X__darwin_arm_exception_state = struct {
F__exception X__uint32_t
F__fsr X__uint32_t
F__far X__uint32_t
} /* _structs.h:39:1 */
} /* _structs.h:41:1 */
type X__darwin_arm_exception_state64 = struct {
F__far X__uint64_t
F__esr X__uint32_t
F__exception X__uint32_t
} /* _structs.h:57:1 */
} /* _structs.h:59:1 */
type X__darwin_arm_thread_state = struct {
F__r [13]X__uint32_t
@@ -2247,7 +2272,7 @@ type X__darwin_arm_thread_state = struct {
F__lr X__uint32_t
F__pc X__uint32_t
F__cpsr X__uint32_t
} /* _structs.h:75:1 */
} /* _structs.h:77:1 */
// By default, the pointer fields in the arm_thread_state64_t structure are
// opaque on the arm64e architecture and require the use of accessor macros.
@@ -2262,7 +2287,7 @@ type X__darwin_arm_thread_state64 = struct {
F__pc X__uint64_t
F__cpsr X__uint32_t
F__pad X__uint32_t
} /* _structs.h:134:1 */
} /* _structs.h:136:1 */
// Accessor macros for arm_thread_state64_t pointer fields
@@ -2281,28 +2306,21 @@ type X__darwin_arm_thread_state64 = struct {
type X__darwin_arm_vfp_state = struct {
F__r [64]X__uint32_t
F__fpscr X__uint32_t
} /* _structs.h:422:1 */
} /* _structs.h:433:1 */
type X__darwin_arm_neon_state64 = struct {
F__v [32]X__uint128_t
F__fpsr X__uint32_t
F__fpcr X__uint32_t
} /* _structs.h:441:1 */
} /* _structs.h:452:1 */
type X__darwin_arm_neon_state = struct {
F__v [16]X__uint128_t
F__fpsr X__uint32_t
F__fpcr X__uint32_t
} /* _structs.h:448:1 */
} /* _structs.h:459:1 */
type X__darwin_arm_amx_state_v1 = struct {
F__x [8][64]X__uint8_t
F__y [8][64]X__uint8_t
F__z [64][64]X__uint8_t
F__amx_state_t_el1 X__uint64_t
} /* _structs.h:512:1 */
type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:531:1 */
type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:523:1 */
// Debug State
@@ -2313,7 +2331,7 @@ type X__arm_legacy_debug_state = struct {
F__bcr [16]X__uint32_t
F__wvr [16]X__uint32_t
F__wcr [16]X__uint32_t
} /* _structs.h:568:1 */
} /* _structs.h:560:1 */
type X__darwin_arm_debug_state32 = struct {
F__bvr [16]X__uint32_t
@@ -2321,7 +2339,7 @@ type X__darwin_arm_debug_state32 = struct {
F__wvr [16]X__uint32_t
F__wcr [16]X__uint32_t
F__mdscr_el1 X__uint64_t
} /* _structs.h:591:1 */
} /* _structs.h:583:1 */
type X__darwin_arm_debug_state64 = struct {
F__bvr [16]X__uint64_t
@@ -2329,9 +2347,9 @@ type X__darwin_arm_debug_state64 = struct {
F__wvr [16]X__uint64_t
F__wcr [16]X__uint64_t
F__mdscr_el1 X__uint64_t
} /* _structs.h:601:1 */
} /* _structs.h:593:1 */
type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:633:1 */
type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:625:1 */
type X__darwin_mcontext32 = struct {
F__es struct {
@@ -2350,7 +2368,7 @@ type X__darwin_mcontext32 = struct {
F__r [64]X__uint32_t
F__fpscr X__uint32_t
}
} /* _mcontext.h:39:1 */
} /* _mcontext.h:41:1 */
type X__darwin_mcontext64 = struct {
F__es struct {
@@ -2372,9 +2390,9 @@ type X__darwin_mcontext64 = struct {
F__fpsr X__uint32_t
F__fpcr X__uint32_t
}
} /* _mcontext.h:62:1 */
} /* _mcontext.h:64:1 */
type Mcontext_t = uintptr /* _mcontext.h:83:33 */
type Mcontext_t = uintptr /* _mcontext.h:85:33 */
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
//
@@ -2547,10 +2565,10 @@ type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
type X__darwin_sigaltstack = struct {
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
} /* _sigaltstack.h:42:1 */
type Stack_t = X__darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack
@@ -2694,32 +2712,6 @@ type Stack_t = X__darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal
// limitations under the License.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
//
// This file contains Original Code and/or Modifications of Original Code
// as defined in and that are subject to the Apple Public Source License
// Version 2.0 (the 'License'). You may not use this file except in
// compliance with the License. The rights granted to you under the License
// may not be used to create, or enable the creation or redistribution of,
// unlawful or unlicensed copies of an Apple operating system, or to
// circumvent, violate, or enable the circumvention or violation of, any
// terms of an Apple operating system software license agreement.
//
// Please obtain a copy of the License at
// http://www.opensource.apple.com/apsl/ and read it before using this file.
//
// The Original Code and all software distributed under the License are
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
// Please see the License for the specific language governing rights and
// limitations under the License.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
//
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
@@ -2778,10 +2770,10 @@ type X__darwin_ucontext = struct {
Fuc_onstack int32
Fuc_sigmask X__darwin_sigset_t
Fuc_stack struct {
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size X__darwin_size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
}
Fuc_link uintptr
Fuc_mcsize X__darwin_size_t
@@ -2949,18 +2941,18 @@ type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
type Sigval = struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
} /* signal.h:158:1 */
type Sigevent = struct {
Fsigev_notify int32
Fsigev_signo int32
Fsigev_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
Fsigev_notify_function uintptr
Fsigev_notify_attributes uintptr
@@ -2975,9 +2967,9 @@ type X__siginfo = struct {
Fsi_status int32
Fsi_addr uintptr
Fsi_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
Fsi_band int64
F__pad [7]uint64
@@ -3053,9 +3045,9 @@ type Sigvec = struct {
// Structure used in sigstack call.
type Sigstack = struct {
Fss_sp uintptr
Fss_onstack int32
_ [4]byte
Fss_sp uintptr
Fss_onstack int32
F__ccgo_pad1 [4]byte
} /* signal.h:367:1 */
// Copyright (c) 2003-2013 Apple Inc. All rights reserved.
+188 -185
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_freebsd_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_freebsd_amd64.go -pkgname signal', DO NOT EDIT.
package signal
@@ -15,152 +15,152 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BUS_ADRALN = 1
BUS_ADRERR = 2
BUS_OBJERR = 3
BUS_OOMERR = 100
CLD_CONTINUED = 6
CLD_DUMPED = 3
CLD_EXITED = 1
CLD_KILLED = 2
CLD_STOPPED = 5
CLD_TRAPPED = 4
FPE_FLTDIV = 3
FPE_FLTINV = 7
FPE_FLTOVF = 4
FPE_FLTRES = 6
FPE_FLTSUB = 8
FPE_FLTUND = 5
FPE_INTDIV = 2
FPE_INTOVF = 1
ILL_BADSTK = 8
ILL_COPROC = 7
ILL_ILLADR = 3
ILL_ILLOPC = 1
ILL_ILLOPN = 2
ILL_ILLTRP = 4
ILL_PRVOPC = 5
ILL_PRVREG = 6
MINSIGSTKSZ = 2048
NSIG = 32
POLL_ERR = 4
POLL_HUP = 6
POLL_IN = 1
POLL_MSG = 3
POLL_OUT = 2
POLL_PRI = 5
SA_NOCLDSTOP = 0x0008
SA_NOCLDWAIT = 0x0020
SA_NODEFER = 0x0010
SA_ONSTACK = 0x0001
SA_RESETHAND = 0x0004
SA_RESTART = 0x0002
SA_SIGINFO = 0x0040
SEGV_ACCERR = 2
SEGV_MAPERR = 1
SEGV_PKUERR = 100
SIGABRT = 6
SIGALRM = 14
SIGBUS = 10
SIGCHLD = 20
SIGCONT = 19
SIGEMT = 7
SIGEV_KEVENT = 3
SIGEV_NONE = 0
SIGEV_SIGNAL = 1
SIGEV_THREAD = 2
SIGEV_THREAD_ID = 4
SIGFPE = 8
SIGHUP = 1
SIGILL = 4
SIGINFO = 29
SIGINT = 2
SIGIO = 23
SIGIOT = 6
SIGKILL = 9
SIGLIBRT = 33
SIGLWP = 32
SIGPIPE = 13
SIGPROF = 27
SIGQUIT = 3
SIGRTMAX = 126
SIGRTMIN = 65
SIGSEGV = 11
SIGSTKSZ = 34816
SIGSTOP = 17
SIGSYS = 12
SIGTERM = 15
SIGTHR = 32
SIGTRAP = 5
SIGTSTP = 18
SIGTTIN = 21
SIGTTOU = 22
SIGURG = 16
SIGUSR1 = 30
SIGUSR2 = 31
SIGVTALRM = 26
SIGWINCH = 28
SIGXCPU = 24
SIGXFSZ = 25
SIG_BLOCK = 1
SIG_SETMASK = 3
SIG_UNBLOCK = 2
SI_ASYNCIO = 0x10004
SI_KERNEL = 0x10006
SI_LWP = 0x10007
SI_MESGQ = 0x10005
SI_NOINFO = 0
SI_QUEUE = 0x10002
SI_TIMER = 0x10003
SI_UNDEFINED = 0
SI_USER = 0x10001
SS_DISABLE = 0x0004
SS_ONSTACK = 0x0001
SV_INTERRUPT = 2
SV_NOCLDSTOP = 8
SV_NODEFER = 16
SV_ONSTACK = 1
SV_RESETHAND = 4
SV_SIGINFO = 64
TRAP_BRKPT = 1
TRAP_CAP = 4
TRAP_DTRACE = 3
TRAP_TRACE = 2
X_FILE_OFFSET_BITS = 64
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MC_FLAG_MASK = 7
X_MC_FPFMT_NODEV = 0x10000
X_MC_FPFMT_XMM = 0x10002
X_MC_FPOWNED_FPU = 0x20001
X_MC_FPOWNED_NONE = 0x20000
X_MC_FPOWNED_PCB = 0x20002
X_MC_HASBASES = 0x2
X_MC_HASFPXSTATE = 0x4
X_MC_HASSEGS = 0x1
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PID_T_DECLARED = 0
X_PTHREAD_T_DECLARED = 0
X_SIGNAL_H_ = 0
X_SIGSET_T_DECLARED = 0
X_SIG_MAXSIG = 128
X_SIG_WORDS = 4
X_SIZE_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS_SIGNAL_H_ = 0
X_SYS__PTHREADTYPES_H_ = 0
X_SYS__SIGSET_H_ = 0
X_SYS__TIMESPEC_H_ = 0
X_SYS__TYPES_H_ = 0
X_SYS__UCONTEXT_H_ = 0
X_TIME_T_DECLARED = 0
X_UID_T_DECLARED = 0
X_X86_SIGNAL_H = 1
X_X86_UCONTEXT_H_ = 0
Unix = 1
BUS_ADRALN = 1 // signal.h:315:1:
BUS_ADRERR = 2 // signal.h:316:1:
BUS_OBJERR = 3 // signal.h:317:1:
BUS_OOMERR = 100 // signal.h:318:1:
CLD_CONTINUED = 6 // signal.h:350:1:
CLD_DUMPED = 3 // signal.h:346:1:
CLD_EXITED = 1 // signal.h:343:1:
CLD_KILLED = 2 // signal.h:344:1:
CLD_STOPPED = 5 // signal.h:349:1:
CLD_TRAPPED = 4 // signal.h:348:1:
FPE_FLTDIV = 3 // signal.h:329:1:
FPE_FLTINV = 7 // signal.h:333:1:
FPE_FLTOVF = 4 // signal.h:330:1:
FPE_FLTRES = 6 // signal.h:332:1:
FPE_FLTSUB = 8 // signal.h:334:1:
FPE_FLTUND = 5 // signal.h:331:1:
FPE_INTDIV = 2 // signal.h:328:1:
FPE_INTOVF = 1 // signal.h:327:1:
ILL_BADSTK = 8 // signal.h:312:1:
ILL_COPROC = 7 // signal.h:311:1:
ILL_ILLADR = 3 // signal.h:307:1:
ILL_ILLOPC = 1 // signal.h:305:1:
ILL_ILLOPN = 2 // signal.h:306:1:
ILL_ILLTRP = 4 // signal.h:308:1:
ILL_PRVOPC = 5 // signal.h:309:1:
ILL_PRVREG = 6 // signal.h:310:1:
MINSIGSTKSZ = 2048 // signal.h:432:1:
NSIG = 32 // signal.h:399:1:
POLL_ERR = 4 // signal.h:356:1:
POLL_HUP = 6 // signal.h:358:1:
POLL_IN = 1 // signal.h:353:1:
POLL_MSG = 3 // signal.h:355:1:
POLL_OUT = 2 // signal.h:354:1:
POLL_PRI = 5 // signal.h:357:1:
SA_NOCLDSTOP = 0x0008 // signal.h:386:1:
SA_NOCLDWAIT = 0x0020 // signal.h:394:1:
SA_NODEFER = 0x0010 // signal.h:393:1:
SA_ONSTACK = 0x0001 // signal.h:390:1:
SA_RESETHAND = 0x0004 // signal.h:392:1:
SA_RESTART = 0x0002 // signal.h:391:1:
SA_SIGINFO = 0x0040 // signal.h:395:1:
SEGV_ACCERR = 2 // signal.h:322:1:
SEGV_MAPERR = 1 // signal.h:321:1:
SEGV_PKUERR = 100 // signal.h:324:1:
SIGABRT = 6 // signal.h:81:1:
SIGALRM = 14 // signal.h:99:1:
SIGBUS = 10 // signal.h:91:1:
SIGCHLD = 20 // signal.h:109:1:
SIGCONT = 19 // signal.h:108:1:
SIGEMT = 7 // signal.h:84:1:
SIGEV_KEVENT = 3 // signal.h:222:1:
SIGEV_NONE = 0 // signal.h:218:1:
SIGEV_SIGNAL = 1 // signal.h:219:1:
SIGEV_THREAD = 2 // signal.h:220:1:
SIGEV_THREAD_ID = 4 // signal.h:223:1:
SIGFPE = 8 // signal.h:86:1:
SIGHUP = 1 // signal.h:71:1:
SIGILL = 4 // signal.h:77:1:
SIGINFO = 29 // signal.h:124:1:
SIGINT = 2 // signal.h:73:1:
SIGIO = 23 // signal.h:114:1:
SIGIOT = 6 // signal.h:83:1:
SIGKILL = 9 // signal.h:88:1:
SIGLIBRT = 33 // signal.h:133:1:
SIGLWP = 32 // signal.h:132:1:
SIGPIPE = 13 // signal.h:98:1:
SIGPROF = 27 // signal.h:120:1:
SIGQUIT = 3 // signal.h:75:1:
SIGRTMAX = 126 // signal.h:137:1:
SIGRTMIN = 65 // signal.h:136:1:
SIGSEGV = 11 // signal.h:93:1:
SIGSTKSZ = 34816 // signal.h:433:1:
SIGSTOP = 17 // signal.h:106:1:
SIGSYS = 12 // signal.h:95:1:
SIGTERM = 15 // signal.h:101:1:
SIGTHR = 32 // signal.h:131:1:
SIGTRAP = 5 // signal.h:79:1:
SIGTSTP = 18 // signal.h:107:1:
SIGTTIN = 21 // signal.h:110:1:
SIGTTOU = 22 // signal.h:111:1:
SIGURG = 16 // signal.h:103:1:
SIGUSR1 = 30 // signal.h:127:1:
SIGUSR2 = 31 // signal.h:128:1:
SIGVTALRM = 26 // signal.h:119:1:
SIGWINCH = 28 // signal.h:123:1:
SIGXCPU = 24 // signal.h:117:1:
SIGXFSZ = 25 // signal.h:118:1:
SIG_BLOCK = 1 // signal.h:501:1:
SIG_SETMASK = 3 // signal.h:503:1:
SIG_UNBLOCK = 2 // signal.h:502:1:
SI_ASYNCIO = 0x10004 // signal.h:408:1:
SI_KERNEL = 0x10006 // signal.h:412:1:
SI_LWP = 0x10007 // signal.h:413:1:
SI_MESGQ = 0x10005 // signal.h:410:1:
SI_NOINFO = 0 // signal.h:403:1:
SI_QUEUE = 0x10002 // signal.h:405:1:
SI_TIMER = 0x10003 // signal.h:406:1:
SI_UNDEFINED = 0 // signal.h:416:1:
SI_USER = 0x10001 // signal.h:404:1:
SS_DISABLE = 0x0004 // signal.h:431:1:
SS_ONSTACK = 0x0001 // signal.h:430:1:
SV_INTERRUPT = 2 // signal.h:459:1:
SV_NOCLDSTOP = 8 // signal.h:462:1:
SV_NODEFER = 16 // signal.h:461:1:
SV_ONSTACK = 1 // signal.h:458:1:
SV_RESETHAND = 4 // signal.h:460:1:
SV_SIGINFO = 64 // signal.h:463:1:
TRAP_BRKPT = 1 // signal.h:337:1:
TRAP_CAP = 4 // signal.h:340:1:
TRAP_DTRACE = 3 // signal.h:339:1:
TRAP_TRACE = 2 // signal.h:338:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_MC_FLAG_MASK = 7 // ucontext.h:104:1:
X_MC_FPFMT_NODEV = 0x10000 // ucontext.h:145:1:
X_MC_FPFMT_XMM = 0x10002 // ucontext.h:146:1:
X_MC_FPOWNED_FPU = 0x20001 // ucontext.h:149:1:
X_MC_FPOWNED_NONE = 0x20000 // ucontext.h:148:1:
X_MC_FPOWNED_PCB = 0x20002 // ucontext.h:150:1:
X_MC_HASBASES = 0x2 // ucontext.h:102:1:
X_MC_HASFPXSTATE = 0x4 // ucontext.h:103:1:
X_MC_HASSEGS = 0x1 // ucontext.h:101:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_PID_T_DECLARED = 0 // signal.h:61:1:
X_PTHREAD_T_DECLARED = 0 // _pthreadtypes.h:68:1:
X_SIGNAL_H_ = 0 // signal.h:36:1:
X_SIGSET_T_DECLARED = 0 // signal.h:165:1:
X_SIG_MAXSIG = 128 // _sigset.h:47:1:
X_SIG_WORDS = 4 // _sigset.h:46:1:
X_SIZE_T_DECLARED = 0 // signal.h:57:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_SIGNAL_H_ = 0 // signal.h:41:1:
X_SYS__PTHREADTYPES_H_ = 0 // _pthreadtypes.h:39:1:
X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1:
X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_SYS__UCONTEXT_H_ = 0 // _ucontext.h:34:1:
X_TIME_T_DECLARED = 0 // _timespec.h:43:1:
X_UID_T_DECLARED = 0 // signal.h:62:1:
X_X86_SIGNAL_H = 1 // signal.h:37:1:
X_X86_UCONTEXT_H_ = 0 // ucontext.h:35:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -430,12 +430,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
// Alignment builtins for better type checking and improved code generation.
// Provide fallback versions for other compilers (GCC/Clang < 10):
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@@ -678,8 +681,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an “int” instead of the more natural
// “unsigned long” or “long”. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
@@ -712,8 +715,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
// mbstate_t is an opaque object to keep conversion state during multibyte
// stream conversions.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:124:3 */
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
@@ -1227,9 +1230,9 @@ type Sigcontext = struct {
} /* signal.h:114:1 */
type Pthread_once = struct {
Fstate int32
_ [4]byte
Fmutex Pthread_mutex_t
Fstate int32
F__ccgo_pad1 [4]byte
Fmutex Pthread_mutex_t
} /* _pthreadtypes.h:52:1 */
// Primitive system data type definitions required by P1003.1c.
@@ -1333,23 +1336,23 @@ type Uid_t = X__uid_t /* signal.h:61:18 */
type Sigset_t = X__sigset_t /* signal.h:166:20 */
type Sigval = struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
} /* signal.h:171:1 */
type Sigevent = struct {
Fsigev_notify int32
Fsigev_signo int32
Fsigev_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
F_sigev_un struct {
_ [0]uint64
F_threadid X__lwpid_t
_ [60]byte
F__ccgo_pad1 [0]uint64
F_threadid X__lwpid_t
F__ccgo_pad2 [60]byte
}
} /* signal.h:195:1 */
@@ -1362,14 +1365,14 @@ type X__siginfo = struct {
Fsi_status int32
Fsi_addr uintptr
Fsi_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
F_reason struct {
_ [0]uint64
F_fault struct{ F_trapno int32 }
_ [36]byte
F__ccgo_pad1 [0]uint64
F_fault struct{ F_trapno int32 }
F__ccgo_pad2 [36]byte
}
} /* signal.h:229:9 */
@@ -1380,7 +1383,7 @@ type Sigaction = struct {
F__sigaction_u struct{ F__sa_handler uintptr }
Fsa_flags int32
Fsa_mask Sigset_t
_ [4]byte
F__ccgo_pad1 [4]byte
} /* signal.h:368:1 */
// If SA_SIGINFO is set, sa_sigaction must be used instead of sa_handler.
@@ -1392,10 +1395,10 @@ type Sigaction = struct {
type Sig_t = uintptr /* signal.h:420:24 */
type Sigaltstack = struct {
Fss_sp uintptr
Fss_size X__size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size X__size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
} /* signal.h:428:9 */
type Stack_t = Sigaltstack /* signal.h:428:26 */
@@ -1412,9 +1415,9 @@ type Sigvec = struct {
// Structure used in sigstack call.
type Sigstack = struct {
Fss_sp uintptr
Fss_onstack int32
_ [4]byte
Fss_sp uintptr
Fss_onstack int32
F__ccgo_pad1 [4]byte
} /* signal.h:479:1 */
// -
@@ -1572,14 +1575,14 @@ type X__ucontext = struct {
Fuc_mcontext Mcontext_t
Fuc_link uintptr
Fuc_stack struct {
Fss_sp uintptr
Fss_size X__size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size X__size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
}
Fuc_flags int32
F__spare__ [4]int32
_ [4]byte
Fuc_flags int32
F__spare__ [4]int32
F__ccgo_pad1 [4]byte
} /* _ucontext.h:36:9 */
// -
+508 -271
View File
File diff suppressed because it is too large. Load diff
+614 -380
View File
File diff suppressed because it is too large. Load diff
+673 -254
View File
File diff suppressed because it is too large. Load diff
+788 -427
View File
File diff suppressed because it is too large. Load diff
+77 -76
View File
@@ -218,7 +218,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@@ -701,7 +702,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// array_name[restrict]
// GCC 3.1 supports this.
// Describes a char array whose address can safely be passed as the first
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
@@ -995,7 +1002,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@@ -1006,8 +1014,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@@ -1107,7 +1116,8 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
@@ -1175,7 +1185,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@@ -1223,9 +1234,9 @@ type Timespec = struct {
// Type for data associated with a signal.
type Sigval = struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
} /* __sigval_t.h:24:1 */
type X__sigval_t = Sigval /* __sigval_t.h:30:22 */
@@ -1241,8 +1252,8 @@ type Siginfo_t = struct {
Fsi_code int32
F__pad0 int32
F_sifields struct {
_ [0]uint64
F_pad [28]int32
F__ccgo_pad1 [0]uint64
F_pad [28]int32
}
} /* siginfo_t.h:124:5 */
@@ -1318,8 +1329,8 @@ type Sigval_t = X__sigval_t /* sigval_t.h:16:20 */
// Forward declaration.
type Pthread_attr_t1 = struct {
_ [0]uint64
F__size [56]uint8
F__ccgo_pad1 [0]uint64
F__size [56]uint8
} /* sigevent_t.h:17:9 */
// Determine the wordsize from the preprocessor defines.
@@ -1371,8 +1382,8 @@ type Sigevent = struct {
Fsigev_signo int32
Fsigev_notify int32
F_sigev_un struct {
_ [0]uint64
F_pad [12]int32
F__ccgo_pad1 [0]uint64
F_pad [12]int32
}
} /* sigevent_t.h:22:9 */
@@ -1480,7 +1491,8 @@ type X__s64 = int64 /* int-ll64.h:30:44 */
type X__u64 = uint64 /* int-ll64.h:31:42 */
// A address type so that arithmetic can be done on it & it can be upgraded to
// 64 bit when necessary
//
// 64 bit when necessary
type Addr_t = uint64 /* types.h:18:23 */
type Saddr_t = int64 /* types.h:19:25 */
@@ -1563,16 +1575,17 @@ type X__kernel_old_gid_t = X__kernel_gid_t /* posix_types.h:55:24 */
type X__kernel_fsid_t = struct{ Fval [2]int32 } /* posix_types.h:81:3 */
// anything below here should be completely generic
type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
type X__kernel_time_t = X__kernel_long_t /* posix_types.h:89:25 */
type X__kernel_time64_t = int64 /* posix_types.h:90:19 */
type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:91:25 */
type X__kernel_timer_t = int32 /* posix_types.h:92:14 */
type X__kernel_clockid_t = int32 /* posix_types.h:93:14 */
type X__kernel_caddr_t = uintptr /* posix_types.h:94:14 */
type X__kernel_uid16_t = uint16 /* posix_types.h:95:24 */
type X__kernel_gid16_t = uint16 /* posix_types.h:96:24 */
type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
type X__kernel_old_time_t = X__kernel_long_t /* posix_types.h:89:25 */
type X__kernel_time_t = X__kernel_long_t /* posix_types.h:90:25 */
type X__kernel_time64_t = int64 /* posix_types.h:91:19 */
type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:92:25 */
type X__kernel_timer_t = int32 /* posix_types.h:93:14 */
type X__kernel_clockid_t = int32 /* posix_types.h:94:14 */
type X__kernel_caddr_t = uintptr /* posix_types.h:95:14 */
type X__kernel_uid16_t = uint16 /* posix_types.h:96:24 */
type X__kernel_gid16_t = uint16 /* posix_types.h:97:24 */
// Below are truly Linux-specific types that should never collide with
// any application/library that wants linux/types.h.
@@ -1641,11 +1654,6 @@ type Sigcontext = struct {
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// Define stack_t. Linux version.
@@ -1666,7 +1674,7 @@ type Sigcontext = struct {
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -1698,15 +1706,6 @@ type Sigcontext = struct {
// This avoids lossage on SunOS but only if stdtypes.h comes first.
// There's no way to win with the other order! Sun lossage.
// On 4.3bsd-net2, make sure ansi.h is included, so we have
// one less case to deal with in the following.
// On FreeBSD 5, machine/ansi.h does not exist anymore...
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
// defined if the corresponding type is *not* defined.
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
// Just ignore it.
@@ -1741,19 +1740,14 @@ type Sigcontext = struct {
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// Structure describing a signal stack.
type Stack_t = struct {
Fss_sp uintptr
Fss_flags int32
_ [4]byte
Fss_size Size_t
Fss_sp uintptr
Fss_flags int32
F__ccgo_pad1 [4]byte
Fss_size Size_t
} /* stack_t.h:31:5 */
// This will define `ucontext_t' and `mcontext_t'.
@@ -1820,10 +1814,12 @@ type X__psw_t = struct {
type Greg_t = uint64 /* ucontext.h:42:23 */
// And the whole bunch of them. We should have used `struct s390_regs',
// but to avoid name space pollution and since the tradition says that
// the register set is an array, we make gregset_t a simple array
// that has the same size as s390_regs. This is needed for the
// elf_prstatus structure.
//
// but to avoid name space pollution and since the tradition says that
// the register set is an array, we make gregset_t a simple array
// that has the same size as s390_regs. This is needed for the
// elf_prstatus structure.
//
// Must match kernels psw_t alignment.
type Gregset_t = [27]Greg_t /* ucontext.h:58:16 */
@@ -1831,9 +1827,9 @@ type Fpreg_t = struct{ Fd float64 } /* ucontext.h:64:5 */
// Register set for the floating-point registers.
type Fpregset_t = struct {
Ffpc uint32
_ [4]byte
Ffprs [16]Fpreg_t
Ffpc uint32
F__ccgo_pad1 [4]byte
Ffprs [16]Fpreg_t
} /* ucontext.h:71:5 */
// Context to describe whole processor state.
@@ -1876,9 +1872,9 @@ type Ucontext_t = Ucontext_t1 /* ucontext.h:90:5 */
// Structure describing a signal stack (obsolete).
type Sigstack = struct {
Fss_sp uintptr
Fss_onstack int32
_ [4]byte
Fss_sp uintptr
Fss_onstack int32
F__ccgo_pad1 [4]byte
} /* struct_sigstack.h:23:1 */
// Some of the functions for handling signals in threaded programs must
@@ -2145,7 +2141,7 @@ type X__pthread_rwlock_arch_t = struct {
F__pad1 uint64
F__pad2 uint64
F__flags uint32
_ [4]byte
F__ccgo_pad1 [4]byte
} /* struct_rwlock.h:23:1 */
// Common definition of pthread_cond_t.
@@ -2161,21 +2157,24 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
_ [0]uint32
F__size [4]uint8
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
_ [0]uint32
F__size [4]uint8
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:45:3 */
// Keys for thread-specific data
@@ -2189,27 +2188,29 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
_ [0]uint64
F__size [8]uint8
F__ccgo_pad1 [0]uint64
F__size [8]uint8
} /* pthreadtypes.h:97:3 */
// POSIX spinlock data type.
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
_ [0]uint64
F__size [32]uint8
F__ccgo_pad1 [0]uint64
F__size [32]uint8
} /* pthreadtypes.h:112:3 */
type Pthread_barrierattr_t = struct {
_ [0]uint32
F__size [4]uint8
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:118:3 */
// System-specific extensions.
+369 -389
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_netbsd_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_netbsd_amd64.go -pkgname signal', DO NOT EDIT.
package signal
@@ -15,274 +15,272 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BUS_ADRALN = 1
BUS_ADRERR = 2
BUS_OBJERR = 3
BYTE_ORDER = 1234
CLD_CONTINUED = 6
CLD_DUMPED = 3
CLD_EXITED = 1
CLD_KILLED = 2
CLD_STOPPED = 5
CLD_TRAPPED = 4
FD_SETSIZE = 256
FPE_FLTDIV = 3
FPE_FLTINV = 7
FPE_FLTOVF = 4
FPE_FLTRES = 6
FPE_FLTSUB = 8
FPE_FLTUND = 5
FPE_INTDIV = 1
FPE_INTOVF = 2
ILL_BADSTK = 8
ILL_COPROC = 7
ILL_ILLADR = 3
ILL_ILLOPC = 1
ILL_ILLOPN = 2
ILL_ILLTRP = 4
ILL_PRVOPC = 5
ILL_PRVREG = 6
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
LITTLE_ENDIAN = 1234
MINSIGSTKSZ = 8192
NBBY = 8
NFDBITS = 32
NODEVMAJOR = -1
NSIG = 64
PDP_ENDIAN = 3412
POLL_ERR = 4
POLL_HUP = 6
POLL_IN = 1
POLL_MSG = 3
POLL_OUT = 2
POLL_PRI = 5
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SA_NOCLDSTOP = 0x0008
SA_NOCLDWAIT = 0x0020
SA_NODEFER = 0x0010
SA_NOKERNINFO = 0x0080
SA_ONSTACK = 0x0001
SA_RESETHAND = 0x0004
SA_RESTART = 0x0002
SA_SIGINFO = 0x0040
SEGV_ACCERR = 2
SEGV_MAPERR = 1
SIGABRT = 6
SIGALRM = 14
SIGBUS = 10
SIGCHLD = 20
SIGCONT = 19
SIGEMT = 7
SIGEV_NONE = 0
SIGEV_SA = 3
SIGEV_SIGNAL = 1
SIGEV_THREAD = 2
SIGFPE = 8
SIGHUP = 1
SIGILL = 4
SIGINFO = 29
SIGINT = 2
SIGIO = 23
SIGIOT = 6
SIGKILL = 9
SIGPIPE = 13
SIGPROF = 27
SIGPWR = 32
SIGQUIT = 3
SIGRTMAX = 63
SIGRTMIN = 33
SIGSEGV = 11
SIGSTKSZ = 40960
SIGSTOP = 17
SIGSYS = 12
SIGTERM = 15
SIGTRAP = 5
SIGTSTP = 18
SIGTTIN = 21
SIGTTOU = 22
SIGURG = 16
SIGUSR1 = 30
SIGUSR2 = 31
SIGVTALRM = 26
SIGWINCH = 28
SIGXCPU = 24
SIGXFSZ = 25
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIG_BLOCK = 1
SIG_SETMASK = 3
SIG_UNBLOCK = 2
SIZE_MAX = 18446744073709551615
SI_ASYNCIO = -3
SI_LWP = -5
SI_MESGQ = -4
SI_NOINFO = 32767
SI_QUEUE = -1
SI_TIMER = -2
SI_USER = 0
SS_DISABLE = 0x0004
SS_ONSTACK = 0x0001
TC_FLAGMASK = 2147483648
TC_TSS = 0x80000000
TRAP_BRKPT = 1
TRAP_CHLD = 4
TRAP_DBREG = 6
TRAP_EXEC = 3
TRAP_LWP = 5
TRAP_SCE = 7
TRAP_SCX = 8
TRAP_TRACE = 2
T_ALIGNFLT = 7
T_ARITHTRAP = 2
T_ASTFLT = 3
T_BOUND = 11
T_BPTFLT = 1
T_DIVIDE = 8
T_DNA = 12
T_DOUBLEFLT = 13
T_FPOPFLT = 14
T_MCA = 18
T_NMI = 9
T_OFLOW = 10
T_PAGEFLT = 6
T_PRIVINFLT = 0
T_PROTFLT = 4
T_RESERVED = 20
T_SEGNPFLT = 16
T_STKFLT = 17
T_TRCTRAP = 5
T_TSSFLT = 15
T_USER = 0x100
T_XMM = 19
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_BYTE_SWAP_H_ = 0
X_AMD64_FRAME_REGS_H_ = 0
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_MCONTEXT_H_ = 0
X_AMD64_SIGNAL_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BIG_ENDIAN = 4321
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_GCC_PTRDIFF_T = 0
X_GCC_SIZE_T = 0
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_NSIG = 64
X_PDP_ENDIAN = 3412
X_PT_BARRIERATTR_DEAD = 0xDEAD0808
X_PT_BARRIERATTR_MAGIC = 0x88880808
X_PT_BARRIER_DEAD = 0xDEAD0008
X_PT_BARRIER_MAGIC = 0x88880008
X_PT_CONDATTR_DEAD = 0xDEAD0006
X_PT_CONDATTR_MAGIC = 0x66660006
X_PT_COND_DEAD = 0xDEAD0005
X_PT_COND_MAGIC = 0x55550005
X_PT_MUTEXATTR_DEAD = 0xDEAD0004
X_PT_MUTEXATTR_MAGIC = 0x44440004
X_PT_MUTEX_DEAD = 0xDEAD0003
X_PT_MUTEX_MAGIC = 0x33330003
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
X_PT_RWLOCKATTR_MAGIC = 0x99990909
X_PT_RWLOCK_DEAD = 0xDEAD0009
X_PT_RWLOCK_MAGIC = 0x99990009
X_PT_SPINLOCK_DEAD = 0xDEAD0007
X_PT_SPINLOCK_MAGIC = 0x77770007
X_PT_SPINLOCK_PSHARED = 0x00000001
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SIGNAL_H_ = 0
X_SIZE_T = 0
X_SYS_ANSI_H_ = 0
X_SYS_BSWAP_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FD_SET_H_ = 0
X_SYS_SIGINFO_H_ = 0
X_SYS_SIGNAL_H_ = 0
X_SYS_SIGTYPES_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TIMESPEC_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS_UCONTEXT_H_ = 0
X_UC_CLRSTACK = 0x00020000
X_UC_CPU = 0x04
X_UC_FPU = 0x08
X_UC_MD = 0x400f0020
X_UC_SETSTACK = 0x00010000
X_UC_SIGMASK = 0x01
X_UC_STACK = 0x02
X_UC_TLSBASE = 0x00080000
X_UC_UCONTEXT_ALIGN = -16
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
BIG_ENDIAN = 4321 // endian.h:101:1:
BUS_ADRALN = 1 // siginfo.h:239:1:
BUS_ADRERR = 2 // siginfo.h:240:1:
BUS_OBJERR = 3 // siginfo.h:241:1:
BYTE_ORDER = 1234 // endian.h:103:1:
CLD_CONTINUED = 6 // siginfo.h:261:1:
CLD_DUMPED = 3 // siginfo.h:257:1:
CLD_EXITED = 1 // siginfo.h:254:1:
CLD_KILLED = 2 // siginfo.h:255:1:
CLD_STOPPED = 5 // siginfo.h:260:1:
CLD_TRAPPED = 4 // siginfo.h:259:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
FPE_FLTDIV = 3 // siginfo.h:227:1:
FPE_FLTINV = 7 // siginfo.h:231:1:
FPE_FLTOVF = 4 // siginfo.h:228:1:
FPE_FLTRES = 6 // siginfo.h:230:1:
FPE_FLTSUB = 8 // siginfo.h:232:1:
FPE_FLTUND = 5 // siginfo.h:229:1:
FPE_INTDIV = 1 // siginfo.h:225:1:
FPE_INTOVF = 2 // siginfo.h:226:1:
ILL_BADSTK = 8 // siginfo.h:222:1:
ILL_COPROC = 7 // siginfo.h:221:1:
ILL_ILLADR = 3 // siginfo.h:217:1:
ILL_ILLOPC = 1 // siginfo.h:215:1:
ILL_ILLOPN = 2 // siginfo.h:216:1:
ILL_ILLTRP = 4 // siginfo.h:218:1:
ILL_PRVOPC = 5 // siginfo.h:219:1:
ILL_PRVREG = 6 // siginfo.h:220:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
LITTLE_ENDIAN = 1234 // endian.h:100:1:
MINSIGSTKSZ = 8192 // signal.h:189:1:
NBBY = 8 // types.h:316:1:
NFDBITS = 32 // fd_set.h:93:1:
NODEVMAJOR = -1 // types.h:258:1:
NSIG = 64 // signal.h:48:1:
PDP_ENDIAN = 3412 // endian.h:102:1:
POLL_ERR = 4 // siginfo.h:267:1:
POLL_HUP = 6 // siginfo.h:269:1:
POLL_IN = 1 // siginfo.h:264:1:
POLL_MSG = 3 // siginfo.h:266:1:
POLL_OUT = 2 // siginfo.h:265:1:
POLL_PRI = 5 // siginfo.h:268:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SA_NOCLDSTOP = 0x0008 // signal.h:151:1:
SA_NOCLDWAIT = 0x0020 // signal.h:152:1:
SA_NODEFER = 0x0010 // signal.h:148:1:
SA_NOKERNINFO = 0x0080 // signal.h:158:1:
SA_ONSTACK = 0x0001 // signal.h:145:1:
SA_RESETHAND = 0x0004 // signal.h:147:1:
SA_RESTART = 0x0002 // signal.h:146:1:
SA_SIGINFO = 0x0040 // signal.h:155:1:
SEGV_ACCERR = 2 // siginfo.h:236:1:
SEGV_MAPERR = 1 // siginfo.h:235:1:
SIGABRT = 6 // signal.h:57:1:
SIGALRM = 14 // signal.h:66:1:
SIGBUS = 10 // signal.h:62:1:
SIGCHLD = 20 // signal.h:72:1:
SIGCONT = 19 // signal.h:71:1:
SIGEMT = 7 // signal.h:59:1:
SIGEV_NONE = 0 // signal.h:224:1:
SIGEV_SA = 3 // signal.h:228:1:
SIGEV_SIGNAL = 1 // signal.h:225:1:
SIGEV_THREAD = 2 // signal.h:226:1:
SIGFPE = 8 // signal.h:60:1:
SIGHUP = 1 // signal.h:52:1:
SIGILL = 4 // signal.h:55:1:
SIGINFO = 29 // signal.h:81:1:
SIGINT = 2 // signal.h:53:1:
SIGIO = 23 // signal.h:75:1:
SIGIOT = 6 // signal.h:58:1:
SIGKILL = 9 // signal.h:61:1:
SIGPIPE = 13 // signal.h:65:1:
SIGPROF = 27 // signal.h:79:1:
SIGPWR = 32 // signal.h:84:1:
SIGQUIT = 3 // signal.h:54:1:
SIGRTMAX = 63 // signal.h:86:1:
SIGRTMIN = 33 // signal.h:85:1:
SIGSEGV = 11 // signal.h:63:1:
SIGSTKSZ = 40960 // signal.h:190:1:
SIGSTOP = 17 // signal.h:69:1:
SIGSYS = 12 // signal.h:64:1:
SIGTERM = 15 // signal.h:67:1:
SIGTRAP = 5 // signal.h:56:1:
SIGTSTP = 18 // signal.h:70:1:
SIGTTIN = 21 // signal.h:73:1:
SIGTTOU = 22 // signal.h:74:1:
SIGURG = 16 // signal.h:68:1:
SIGUSR1 = 30 // signal.h:82:1:
SIGUSR2 = 31 // signal.h:83:1:
SIGVTALRM = 26 // signal.h:78:1:
SIGWINCH = 28 // signal.h:80:1:
SIGXCPU = 24 // signal.h:76:1:
SIGXFSZ = 25 // signal.h:77:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIG_BLOCK = 1 // signal.h:167:1:
SIG_SETMASK = 3 // signal.h:169:1:
SIG_UNBLOCK = 2 // signal.h:168:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
SI_ASYNCIO = -3 // siginfo.h:277:1:
SI_LWP = -5 // siginfo.h:282:1:
SI_MESGQ = -4 // siginfo.h:279:1:
SI_NOINFO = 32767 // siginfo.h:283:1:
SI_QUEUE = -1 // siginfo.h:274:1:
SI_TIMER = -2 // siginfo.h:275:1:
SI_USER = 0 // siginfo.h:273:1:
SS_DISABLE = 0x0004 // signal.h:185:1:
SS_ONSTACK = 0x0001 // signal.h:184:1:
TC_FLAGMASK = 2147483648 // trap.h:70:1:
TC_TSS = 0x80000000 // trap.h:69:1:
TRAP_BRKPT = 1 // siginfo.h:244:1:
TRAP_CHLD = 4 // siginfo.h:247:1:
TRAP_DBREG = 6 // siginfo.h:249:1:
TRAP_EXEC = 3 // siginfo.h:246:1:
TRAP_LWP = 5 // siginfo.h:248:1:
TRAP_SCE = 7 // siginfo.h:250:1:
TRAP_SCX = 8 // siginfo.h:251:1:
TRAP_TRACE = 2 // siginfo.h:245:1:
T_ALIGNFLT = 7 // trap.h:49:1:
T_ARITHTRAP = 2 // trap.h:44:1:
T_ASTFLT = 3 // trap.h:45:1:
T_BOUND = 11 // trap.h:53:1:
T_BPTFLT = 1 // trap.h:43:1:
T_DIVIDE = 8 // trap.h:50:1:
T_DNA = 12 // trap.h:54:1:
T_DOUBLEFLT = 13 // trap.h:55:1:
T_FPOPFLT = 14 // trap.h:56:1:
T_MCA = 18 // trap.h:60:1:
T_NMI = 9 // trap.h:51:1:
T_OFLOW = 10 // trap.h:52:1:
T_PAGEFLT = 6 // trap.h:48:1:
T_PRIVINFLT = 0 // trap.h:42:1:
T_PROTFLT = 4 // trap.h:46:1:
T_RESERVED = 20 // trap.h:62:1:
T_SEGNPFLT = 16 // trap.h:58:1:
T_STKFLT = 17 // trap.h:59:1:
T_TRCTRAP = 5 // trap.h:47:1:
T_TSSFLT = 15 // trap.h:57:1:
T_USER = 0x100 // trap.h:65:1:
T_XMM = 19 // trap.h:61:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
X_AMD64_FRAME_REGS_H_ = 0 // frame_regs.h:4:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_MCONTEXT_H_ = 0 // mcontext.h:33:1:
X_AMD64_SIGNAL_H_ = 0 // signal.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BIG_ENDIAN = 4321 // endian.h:44:1:
X_BSD_INT16_T_ = 0 // types.h:65:1:
X_BSD_INT32_T_ = 0 // types.h:75:1:
X_BSD_INT64_T_ = 0 // types.h:85:1:
X_BSD_INT8_T_ = 0 // types.h:55:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // types.h:70:1:
X_BSD_UINT32_T_ = 0 // types.h:80:1:
X_BSD_UINT64_T_ = 0 // types.h:90:1:
X_BSD_UINT8_T_ = 0 // types.h:60:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_NSIG = 64 // signal.h:45:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
X_QUAD_HIGHWORD = 1 // endian.h:84:1:
X_QUAD_LOWWORD = 0 // endian.h:85:1:
X_SIGNAL_H_ = 0 // signal.h:35:1:
X_SIZE_T = 0 // types.h:279:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
X_SYS_SIGINFO_H_ = 0 // siginfo.h:33:1:
X_SYS_SIGNAL_H_ = 0 // signal.h:40:1:
X_SYS_SIGTYPES_H_ = 0 // sigtypes.h:40:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TIMESPEC_H_ = 0 // timespec.h:38:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_SYS_UCONTEXT_H_ = 0 // ucontext.h:33:1:
X_UC_CLRSTACK = 0x00020000 // mcontext.h:83:1:
X_UC_CPU = 0x04 // ucontext.h:58:1:
X_UC_FPU = 0x08 // ucontext.h:59:1:
X_UC_MD = 0x400f0020 // ucontext.h:60:1:
X_UC_SETSTACK = 0x00010000 // mcontext.h:82:1:
X_UC_SIGMASK = 0x01 // ucontext.h:56:1:
X_UC_STACK = 0x02 // ucontext.h:57:1:
X_UC_TLSBASE = 0x00080000 // mcontext.h:77:1:
X_UC_UCONTEXT_ALIGN = -16 // mcontext.h:67:1:
X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
X_X86_64_TYPES_H_ = 0 // types.h:35:1:
)
// Get the "code" values
@@ -496,15 +494,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
// _LARGEFILE_SOURCE Large File Support
// <http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/usr/include/sys/types.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// $NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
// -
@@ -1032,32 +1021,32 @@ type X__wctype_t = uintptr /* ansi.h:54:31 */
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
F__mbstateL X__int64_t
_ [120]byte
F__mbstateL X__int64_t
F__ccgo_pad1 [120]byte
} /* ansi.h:63:3 */
type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
type Int8_t = X__int8_t /* types.h:63:18 */
type Int8_t = X__int8_t /* types.h:54:18 */
type Uint8_t = X__uint8_t /* types.h:68:19 */
type Uint8_t = X__uint8_t /* types.h:59:19 */
type Int16_t = X__int16_t /* types.h:73:19 */
type Int16_t = X__int16_t /* types.h:64:19 */
type Uint16_t = X__uint16_t /* types.h:78:20 */
type Uint16_t = X__uint16_t /* types.h:69:20 */
type Int32_t = X__int32_t /* types.h:83:19 */
type Int32_t = X__int32_t /* types.h:74:19 */
type Uint32_t = X__uint32_t /* types.h:88:20 */
type Uint32_t = X__uint32_t /* types.h:79:20 */
type Int64_t = X__int64_t /* types.h:93:19 */
type Int64_t = X__int64_t /* types.h:84:19 */
type Uint64_t = X__uint64_t /* types.h:98:20 */
type Uint64_t = X__uint64_t /* types.h:89:20 */
type U_int8_t = Uint8_t /* types.h:102:18 */
type U_int16_t = Uint16_t /* types.h:103:18 */
type U_int32_t = Uint32_t /* types.h:104:18 */
type U_int64_t = Uint64_t /* types.h:105:18 */
type U_int8_t = Uint8_t /* types.h:93:18 */
type U_int16_t = Uint16_t /* types.h:94:18 */
type U_int32_t = Uint32_t /* types.h:95:18 */
type U_int64_t = Uint64_t /* types.h:96:18 */
// $NetBSD: endian.h,v 1.1 2003/04/26 18:39:40 fvdl Exp $
@@ -1220,15 +1209,6 @@ type U_int64_t = Uint64_t /* types.h:105:18 */
//
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/usr/include/sys/types.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// $NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
// -
@@ -1462,19 +1442,19 @@ type Uint_fast64_t = uint64 /* common_int_mwgwtypes.h:62:32 */
type Intmax_t = int64 /* common_int_mwgwtypes.h:66:33 */
type Uintmax_t = uint64 /* common_int_mwgwtypes.h:67:32 */
type U_char = uint8 /* types.h:110:23 */
type U_short = uint16 /* types.h:111:24 */
type U_int = uint32 /* types.h:112:22 */
type U_long = uint64 /* types.h:113:23 */
type U_char = uint8 /* types.h:101:23 */
type U_short = uint16 /* types.h:102:24 */
type U_int = uint32 /* types.h:103:22 */
type U_long = uint64 /* types.h:104:23 */
type Unchar = uint8 /* types.h:115:23 */ // Sys V compatibility
type Ushort = uint16 /* types.h:116:24 */ // Sys V compatibility
type Uint = uint32 /* types.h:117:22 */ // Sys V compatibility
type Ulong = uint64 /* types.h:118:23 */ // Sys V compatibility
type Unchar = uint8 /* types.h:106:23 */ // Sys V compatibility
type Ushort = uint16 /* types.h:107:24 */ // Sys V compatibility
type Uint = uint32 /* types.h:108:22 */ // Sys V compatibility
type Ulong = uint64 /* types.h:109:23 */ // Sys V compatibility
type U_quad_t = Uint64_t /* types.h:121:18 */ // quads
type Quad_t = Int64_t /* types.h:122:18 */
type Qaddr_t = uintptr /* types.h:123:16 */
type U_quad_t = Uint64_t /* types.h:112:18 */ // quads
type Quad_t = Int64_t /* types.h:113:18 */
type Qaddr_t = uintptr /* types.h:114:16 */
// The types longlong_t and u_longlong_t exist for use with the
// Sun-derived XDR routines involving these types, and their usage
@@ -1484,69 +1464,69 @@ type Qaddr_t = uintptr /* types.h:123:16 */
// respectively. Portable programs that need 64-bit types should use
// the C99 types int64_t and uint64_t instead.
type Longlong_t = Int64_t /* types.h:135:18 */ // for XDR
type U_longlong_t = Uint64_t /* types.h:136:18 */ // for XDR
type Longlong_t = Int64_t /* types.h:126:18 */ // for XDR
type U_longlong_t = Uint64_t /* types.h:127:18 */ // for XDR
type Blkcnt_t = Int64_t /* types.h:138:18 */ // fs block count
type Blksize_t = Int32_t /* types.h:139:18 */ // fs optimal block size
type Blkcnt_t = Int64_t /* types.h:129:18 */ // fs block count
type Blksize_t = Int32_t /* types.h:130:18 */ // fs optimal block size
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:142:22 */ // fs block count (statvfs)
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:133:22 */ // fs block count (statvfs)
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:147:22 */ // fs file count
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:138:22 */ // fs file count
// We don't and shouldn't use caddr_t in the kernel anymore
type Caddr_t = X__caddr_t /* types.h:154:19 */ // core address
type Caddr_t = X__caddr_t /* types.h:145:19 */ // core address
type Daddr_t = Int64_t /* types.h:163:18 */ // disk address
type Daddr_t = Int64_t /* types.h:154:18 */ // disk address
type Dev_t = Uint64_t /* types.h:166:18 */ // device number
type Fixpt_t = Uint32_t /* types.h:167:18 */ // fixed point number
type Dev_t = Uint64_t /* types.h:157:18 */ // device number
type Fixpt_t = Uint32_t /* types.h:158:18 */ // fixed point number
type Gid_t = X__gid_t /* types.h:170:18 */ // group id
type Gid_t = X__gid_t /* types.h:161:18 */ // group id
type Id_t = Uint32_t /* types.h:174:18 */ // group id, process id or user id
type Ino_t = Uint64_t /* types.h:175:18 */ // inode number
type Key_t = int64 /* types.h:176:15 */ // IPC key (for Sys V IPC)
type Id_t = Uint32_t /* types.h:165:18 */ // group id, process id or user id
type Ino_t = Uint64_t /* types.h:166:18 */ // inode number
type Key_t = int64 /* types.h:167:15 */ // IPC key (for Sys V IPC)
type Mode_t = X__mode_t /* types.h:179:18 */ // permissions
type Mode_t = X__mode_t /* types.h:170:18 */ // permissions
type Nlink_t = Uint32_t /* types.h:183:18 */ // link count
type Nlink_t = Uint32_t /* types.h:174:18 */ // link count
type Off_t = X__off_t /* types.h:186:18 */ // file offset
type Off_t = X__off_t /* types.h:177:18 */ // file offset
type Pid_t = X__pid_t /* types.h:191:18 */ // process id
type Lwpid_t = Int32_t /* types.h:194:18 */ // LWP id
type Rlim_t = Uint64_t /* types.h:195:18 */ // resource limit
type Segsz_t = Int32_t /* types.h:196:18 */ // segment size
type Swblk_t = Int32_t /* types.h:197:18 */ // swap offset
type Pid_t = X__pid_t /* types.h:182:18 */ // process id
type Lwpid_t = Int32_t /* types.h:185:18 */ // LWP id
type Rlim_t = Uint64_t /* types.h:186:18 */ // resource limit
type Segsz_t = Int32_t /* types.h:187:18 */ // segment size
type Swblk_t = Int32_t /* types.h:188:18 */ // swap offset
type Uid_t = X__uid_t /* types.h:200:18 */ // user id
type Uid_t = X__uid_t /* types.h:191:18 */ // user id
type Mqd_t = int32 /* types.h:204:14 */
type Mqd_t = int32 /* types.h:195:14 */
type Cpuid_t = uint64 /* types.h:206:23 */
type Cpuid_t = uint64 /* types.h:197:23 */
type Psetid_t = int32 /* types.h:208:14 */
type Psetid_t = int32 /* types.h:199:14 */
type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:210:41 */
type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:201:41 */
// Major, minor numbers, dev_t's.
type X__devmajor_t = Int32_t /* types.h:264:17 */
type X__devminor_t = Int32_t /* types.h:264:31 */
type X__devmajor_t = Int32_t /* types.h:255:17 */
type X__devminor_t = Int32_t /* types.h:255:31 */
type Clock_t = uint32 /* types.h:277:24 */
type Clock_t = uint32 /* types.h:268:24 */
type Ssize_t = int64 /* types.h:301:24 */
type Ssize_t = int64 /* types.h:284:24 */
type Time_t = X__int64_t /* types.h:306:23 */
type Time_t = X__int64_t /* types.h:289:23 */
type Clockid_t = int32 /* types.h:311:26 */
type Clockid_t = int32 /* types.h:294:26 */
type Timer_t = int32 /* types.h:316:24 */
type Timer_t = int32 /* types.h:299:24 */
type Suseconds_t = int32 /* types.h:321:27 */
type Suseconds_t = int32 /* types.h:304:27 */
type Useconds_t = uint32 /* types.h:326:26 */
type Useconds_t = uint32 /* types.h:309:26 */
// $NetBSD: fd_set.h,v 1.7 2018/06/24 12:05:40 kamil Exp $
@@ -1726,9 +1706,9 @@ type Fd_set = Fd_set1 /* fd_set.h:68:3 */
// Expose our internals if we are not required to hide them.
type Kauth_cred_t = uintptr /* types.h:335:27 */
type Kauth_cred_t = uintptr /* types.h:318:27 */
type Pri_t = int32 /* types.h:337:13 */
type Pri_t = int32 /* types.h:320:13 */
// $NetBSD: pthread_types.h,v 1.23 2017/09/09 23:21:45 kamil Exp $
@@ -1789,24 +1769,24 @@ type X__pthread_mutex_st = struct {
Fptm_pad1 [3]Uint8_t
F__8 struct{ Fptm_ceiling uint8 }
Fptm_pad2 [3]Uint8_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fptm_owner Pthread_t
Fptm_waiters uintptr
Fptm_recursed uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptm_spare2 uintptr
} /* pthread_types.h:66:1 */
type X__pthread_mutexattr_st = struct {
Fptma_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptma_private uintptr
} /* pthread_types.h:67:1 */
type X__pthread_cond_st = struct {
Fptc_magic uint32
Fptc_lock X__pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptc_waiters Pthread_queue_t
Fptc_mutex uintptr
Fptc_private uintptr
@@ -1814,43 +1794,43 @@ type X__pthread_cond_st = struct {
type X__pthread_condattr_st = struct {
Fptca_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptca_private uintptr
} /* pthread_types.h:69:1 */
type X__pthread_rwlock_st = struct {
Fptr_magic uint32
Fptr_interlock X__pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptr_rblocked Pthread_queue_t
Fptr_wblocked Pthread_queue_t
Fptr_nreaders uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptr_owner Pthread_t
Fptr_private uintptr
} /* pthread_types.h:71:1 */
type X__pthread_rwlockattr_st = struct {
Fptra_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptra_private uintptr
} /* pthread_types.h:72:1 */
type X__pthread_barrier_st = struct {
Fptb_magic uint32
Fptb_lock Pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptb_waiters Pthread_queue_t
Fptb_initcount uint32
Fptb_curcount uint32
Fptb_generation uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptb_private uintptr
} /* pthread_types.h:73:1 */
type X__pthread_barrierattr_st = struct {
Fptba_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptba_private uintptr
} /* pthread_types.h:74:1 */
@@ -1861,17 +1841,17 @@ type Pthread_mutexattr_t = X__pthread_mutexattr_st /* pthread_types.h:79:39 */
type Pthread_cond_t = X__pthread_cond_st /* pthread_types.h:80:34 */
type Pthread_condattr_t = X__pthread_condattr_st /* pthread_types.h:81:38 */
type X__pthread_once_st = struct {
Fpto_mutex Pthread_mutex_t
Fpto_done int32
_ [4]byte
Fpto_mutex Pthread_mutex_t
Fpto_done int32
F__ccgo_pad1 [4]byte
} /* pthread_types.h:82:9 */
type Pthread_once_t = X__pthread_once_st /* pthread_types.h:82:34 */
type X__pthread_spinlock_st = struct {
Fpts_magic uint32
Fpts_spin X__pthread_spin_t
_ [3]byte
Fpts_flags int32
Fpts_magic uint32
Fpts_spin X__pthread_spin_t
F__ccgo_pad1 [3]byte
Fpts_flags int32
} /* pthread_types.h:83:9 */
type Pthread_spinlock_t = X__pthread_spinlock_st /* pthread_types.h:83:38 */
@@ -2144,10 +2124,10 @@ type Sigset_t = struct{ F__bits [4]X__uint32_t } /* sigtypes.h:62:3 */
// Macro for manipulating signal masks.
type Sigaltstack = struct {
Fss_sp uintptr
Fss_size Size_t
Fss_flags int32
_ [4]byte
Fss_sp uintptr
Fss_size Size_t
Fss_flags int32
F__ccgo_pad1 [4]byte
} /* sigtypes.h:108:9 */
// Macro for manipulating signal masks.
@@ -2387,9 +2367,9 @@ type Mcontext_t = struct {
// <http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
type Sigval = struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
} /* siginfo.h:41:9 */
// $NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
@@ -2464,13 +2444,13 @@ type X_ksiginfo = struct {
F_uid X__uid_t
F_value Sigval_t
}
_ [64]byte
F__ccgo_pad1 [64]byte
}
} /* siginfo.h:46:1 */
type Siginfo = struct {
_ [0]uint64
Fsi_pad [128]int8
F__ccgo_pad1 [0]uint64
Fsi_pad [128]int8
} /* siginfo.h:148:9 */
type Siginfo_t = Siginfo /* siginfo.h:151:3 */
@@ -2597,7 +2577,7 @@ type Siginfo_t = Siginfo /* siginfo.h:151:3 */
type X__ucontext = struct {
Fuc_flags uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fuc_link uintptr
Fuc_sigmask Sigset_t
Fuc_stack Stack_t
@@ -2770,10 +2750,10 @@ type Ucontext_t = X__ucontext /* ucontext.h:38:27 */
// Signal vector "template" used in sigaction call.
type Sigaction = struct {
F_sa_u struct{ F_sa_handler uintptr }
Fsa_mask Sigset_t
Fsa_flags int32
_ [4]byte
F_sa_u struct{ F_sa_handler uintptr }
Fsa_mask Sigset_t
Fsa_flags int32
F__ccgo_pad1 [4]byte
} /* signal.h:123:1 */
// $NetBSD: signal.h,v 1.12 2013/01/02 19:40:23 dsl Exp $
@@ -2817,9 +2797,9 @@ type Sig_t = uintptr /* signal.h:172:14 */ // type of signal function
// Structure used in sigstack call.
type Sigstack = struct {
Fss_sp uintptr
Fss_onstack int32
_ [4]byte
Fss_sp uintptr
Fss_onstack int32
F__ccgo_pad1 [4]byte
} /* signal.h:198:1 */
// Macro for converting signal number to a mask suitable for
@@ -2829,9 +2809,9 @@ type Sigevent = struct {
Fsigev_notify int32
Fsigev_signo int32
Fsigev_value struct {
_ [0]uint64
Fsival_int int32
_ [4]byte
F__ccgo_pad1 [0]uint64
Fsival_int int32
F__ccgo_pad2 [4]byte
}
Fsigev_notify_function uintptr
Fsigev_notify_attributes uintptr
+125 -111
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_windows_386.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal/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 signal/signal_windows_386.go -pkgname signal', DO NOT EDIT.
package signal
@@ -15,96 +15,97 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
DUMMYSTRUCTNAME = 0
DUMMYSTRUCTNAME1 = 0
DUMMYSTRUCTNAME2 = 0
DUMMYSTRUCTNAME3 = 0
DUMMYSTRUCTNAME4 = 0
DUMMYSTRUCTNAME5 = 0
DUMMYUNIONNAME = 0
DUMMYUNIONNAME1 = 0
DUMMYUNIONNAME2 = 0
DUMMYUNIONNAME3 = 0
DUMMYUNIONNAME4 = 0
DUMMYUNIONNAME5 = 0
DUMMYUNIONNAME6 = 0
DUMMYUNIONNAME7 = 0
DUMMYUNIONNAME8 = 0
DUMMYUNIONNAME9 = 0
MINGW_DDK_H = 0
MINGW_DDRAW_VERSION = 7
MINGW_HAS_DDK_H = 1
MINGW_HAS_DDRAW_H = 1
MINGW_HAS_SECURE_API = 1
MINGW_SDK_INIT = 0
NSIG = 23
SIGABRT = 22
SIGABRT2 = 22
SIGABRT_COMPAT = 6
SIGBREAK = 21
SIGFPE = 8
SIGILL = 4
SIGINT = 2
SIGSEGV = 11
SIGTERM = 15
UNALIGNED = 0
USE___UUIDOF = 0
WIN32 = 1
WINNT = 1
WIN_PTHREADS_SIGNAL_H = 0
X_AGLOBAL = 0
X_ANONYMOUS_STRUCT = 0
X_ANONYMOUS_UNION = 0
X_ARGMAX = 100
X_CONST_RETURN = 0
X_CRTNOALIAS = 0
X_CRTRESTRICT = 0
X_CRT_ALTERNATIVE_IMPORTED = 0
X_CRT_MANAGED_HEAP_DEPRECATE = 0
X_CRT_PACKING = 8
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
X_DLL = 0
X_ERRCODE_DEFINED = 0
X_FILE_OFFSET_BITS = 64
X_INC_CRTDEFS = 0
X_INC_CRTDEFS_MACRO = 0
X_INC_MINGW_SECAPI = 0
X_INC_SIGNAL = 0
X_INC_VADEFS = 0
X_INC__MINGW_H = 0
X_INT128_DEFINED = 0
X_INTEGRAL_MAX_BITS = 64
X_INTPTR_T_DEFINED = 0
X_MT = 0
X_M_IX86 = 600
X_PGLOBAL = 0
X_PTRDIFF_T_ = 0
X_PTRDIFF_T_DEFINED = 0
X_RSIZE_T_DEFINED = 0
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
X_SIG_ATOMIC_T_DEFINED = 0
X_SIZE_T_DEFINED = 0
X_SSIZE_T_DEFINED = 0
X_TAGLC_ID_DEFINED = 0
X_THREADLOCALEINFO = 0
X_TIME32_T_DEFINED = 0
X_TIME64_T_DEFINED = 0
X_TIME_T_DEFINED = 0
X_UINTPTR_T_DEFINED = 0
X_USE_32BIT_TIME_T = 0
X_VA_LIST_DEFINED = 0
X_W64 = 0
X_WCHAR_T_DEFINED = 0
X_WCTYPE_T_DEFINED = 0
X_WIN32 = 1
X_WIN32_WINNT = 0x502
X_WINT_T = 0
X_X86_ = 1
I386 = 1
DUMMYSTRUCTNAME = 0 // _mingw.h:519:1:
DUMMYSTRUCTNAME1 = 0 // _mingw.h:520:1:
DUMMYSTRUCTNAME2 = 0 // _mingw.h:521:1:
DUMMYSTRUCTNAME3 = 0 // _mingw.h:522:1:
DUMMYSTRUCTNAME4 = 0 // _mingw.h:523:1:
DUMMYSTRUCTNAME5 = 0 // _mingw.h:524:1:
DUMMYUNIONNAME = 0 // _mingw.h:497:1:
DUMMYUNIONNAME1 = 0 // _mingw.h:498:1:
DUMMYUNIONNAME2 = 0 // _mingw.h:499:1:
DUMMYUNIONNAME3 = 0 // _mingw.h:500:1:
DUMMYUNIONNAME4 = 0 // _mingw.h:501:1:
DUMMYUNIONNAME5 = 0 // _mingw.h:502:1:
DUMMYUNIONNAME6 = 0 // _mingw.h:503:1:
DUMMYUNIONNAME7 = 0 // _mingw.h:504:1:
DUMMYUNIONNAME8 = 0 // _mingw.h:505:1:
DUMMYUNIONNAME9 = 0 // _mingw.h:506:1:
MINGW_DDK_H = 0 // _mingw_ddk.h:2:1:
MINGW_HAS_DDK_H = 1 // _mingw_ddk.h:4:1:
MINGW_HAS_SECURE_API = 1 // _mingw.h:602:1:
MINGW_SDK_INIT = 0 // _mingw.h:598:1:
NSIG = 23 // signal.h:21:1:
SIGABRT = 22 // signal.h:30:1:
SIGABRT2 = 22 // signal.h:31:1:
SIGABRT_COMPAT = 6 // signal.h:25:1:
SIGBREAK = 21 // signal.h:29:1:
SIGFPE = 8 // signal.h:26:1:
SIGILL = 4 // signal.h:24:1:
SIGINT = 2 // signal.h:23:1:
SIGSEGV = 11 // signal.h:27:1:
SIGTERM = 15 // signal.h:28:1:
UNALIGNED = 0 // _mingw.h:384:1:
USE___UUIDOF = 0 // _mingw.h:77:1:
WIN32 = 1 // <predefined>:258:1:
WINNT = 1 // <predefined>:306:1:
WIN_PTHREADS_SIGNAL_H = 0 // pthread_signal.h:24:1:
X_AGLOBAL = 0 // _mingw.h:346:1:
X_ANONYMOUS_STRUCT = 0 // _mingw.h:474:1:
X_ANONYMOUS_UNION = 0 // _mingw.h:473:1:
X_ARGMAX = 100 // _mingw.h:402:1:
X_CONST_RETURN = 0 // _mingw.h:377:1:
X_CRTNOALIAS = 0 // corecrt.h:29:1:
X_CRTRESTRICT = 0 // corecrt.h:33:1:
X_CRT_ALTERNATIVE_IMPORTED = 0 // _mingw.h:313:1:
X_CRT_MANAGED_HEAP_DEPRECATE = 0 // _mingw.h:361:1:
X_CRT_PACKING = 8 // corecrt.h:14:1:
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0 // _mingw_secapi.h:34:1:
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0 // _mingw_secapi.h:35:1:
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0 // _mingw_secapi.h:36:1:
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0 // _mingw_secapi.h:37:1:
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0 // _mingw_secapi.h:38:1:
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0 // corecrt.h:501:1:
X_DLL = 0 // _mingw.h:326:1:
X_ERRCODE_DEFINED = 0 // corecrt.h:117:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_ILP32 = 1 // <predefined>:211:1:
X_INC_CORECRT = 0 // corecrt.h:8:1:
X_INC_CRTDEFS = 0 // crtdefs.h:8:1:
X_INC_CRTDEFS_MACRO = 0 // _mingw_mac.h:8:1:
X_INC_MINGW_SECAPI = 0 // _mingw_secapi.h:8:1:
X_INC_SIGNAL = 0 // signal.h:7:1:
X_INC_VADEFS = 0 // vadefs.h:7:1:
X_INC__MINGW_H = 0 // _mingw.h:8:1:
X_INT128_DEFINED = 0 // _mingw.h:237:1:
X_INTEGRAL_MAX_BITS = 64 // <predefined>:320:1:
X_INTPTR_T_DEFINED = 0 // corecrt.h:62:1:
X_MT = 0 // _mingw.h:330:1:
X_M_IX86 = 600 // _mingw_mac.h:54:1:
X_PGLOBAL = 0 // _mingw.h:342:1:
X_PTRDIFF_T_ = 0 // corecrt.h:90:1:
X_PTRDIFF_T_DEFINED = 0 // corecrt.h:88:1:
X_RSIZE_T_DEFINED = 0 // corecrt.h:58:1:
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD // _mingw.h:349:1:
X_SIG_ATOMIC_T_DEFINED = 0 // signal.h:17:1:
X_SIZE_T_DEFINED = 0 // corecrt.h:37:1:
X_SSIZE_T_DEFINED = 0 // corecrt.h:47:1:
X_TAGLC_ID_DEFINED = 0 // corecrt.h:447:1:
X_THREADLOCALEINFO = 0 // corecrt.h:456:1:
X_TIME32_T_DEFINED = 0 // corecrt.h:122:1:
X_TIME64_T_DEFINED = 0 // corecrt.h:127:1:
X_TIME_T_DEFINED = 0 // corecrt.h:139:1:
X_UINTPTR_T_DEFINED = 0 // corecrt.h:75:1:
X_USE_32BIT_TIME_T = 0 // _mingw.h:372:1:
X_VA_LIST_DEFINED = 0 // <builtin>:55:1:
X_W64 = 0 // _mingw.h:296:1:
X_WCHAR_T_DEFINED = 0 // corecrt.h:101:1:
X_WCTYPE_T_DEFINED = 0 // corecrt.h:108:1:
X_WIN32 = 1 // <predefined>:164:1:
X_WIN32_WINNT = 0x502 // _mingw.h:233:1:
X_WINT_T = 0 // corecrt.h:110:1:
X_X86_ = 1 // <predefined>:169:1:
I386 = 1 // <predefined>:171:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
@@ -138,6 +139,11 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
// *
// This file has no copyright assigned and is placed in the Public Domain.
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
// This macro holds an monotonic increasing value, which indicates
// a specific fix/patch is present on trunk. This value isn't related to
// minor/major version-macros. It is increased on demand, if a big
@@ -158,6 +164,12 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// MinGW-w64 has some additional C99 printf/scanf feature support.
// So we add some helper macros to ease recognition of them.
// If _FORTIFY_SOURCE is enabled, some inline functions may use
// __builtin_va_arg_pack(). GCC may report an error if the address
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
// Enable workaround for ABI incompatibility on affected platforms
// *
// This file has no copyright assigned and is placed in the Public Domain.
// This file is part of the mingw-w64 runtime package.
@@ -198,26 +210,28 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
// for backward compatibility
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
type Ssize_t = int32 /* crtdefs.h:47:13 */
type Ssize_t = int32 /* corecrt.h:52:13 */
type Rsize_t = Size_t /* crtdefs.h:52:16 */
type Rsize_t = Size_t /* corecrt.h:57:16 */
type Intptr_t = int32 /* crtdefs.h:64:13 */
type Intptr_t = int32 /* corecrt.h:69:13 */
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
type Uintptr_t = uint32 /* corecrt.h:82:22 */
type Wint_t = uint16 /* crtdefs.h:106:24 */
type Wctype_t = uint16 /* crtdefs.h:107:24 */
type Wint_t = uint16 /* corecrt.h:111:24 */
type Wctype_t = uint16 /* corecrt.h:112:24 */
type Errno_t = int32 /* crtdefs.h:113:13 */
type Errno_t = int32 /* corecrt.h:118:13 */
type X__time32_t = int32 /* crtdefs.h:118:14 */
type X__time32_t = int32 /* corecrt.h:123:14 */
type X__time64_t = int64 /* crtdefs.h:123:35 */
type X__time64_t = int64 /* corecrt.h:128:35 */
type Time_t = X__time32_t /* crtdefs.h:136:20 */
type Time_t = X__time32_t /* corecrt.h:141:20 */
type Threadlocaleinfostruct = struct {
Frefcount int32
@@ -243,29 +257,29 @@ type Threadlocaleinfostruct = struct {
Fpclmap uintptr
Fpcumap uintptr
Flc_time_curr uintptr
} /* crtdefs.h:422:1 */
} /* corecrt.h:435:1 */
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
type Localeinfo_struct = struct {
Flocinfo Pthreadlocinfo
Fmbcinfo Pthreadmbcinfo
} /* crtdefs.h:428:9 */
} /* corecrt.h:441:9 */
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
type X_locale_t = uintptr /* crtdefs.h:431:19 */
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
type X_locale_t = uintptr /* corecrt.h:444:19 */
type TagLC_ID = struct {
FwLanguage uint16
FwCountry uint16
FwCodePage uint16
} /* crtdefs.h:422:1 */
} /* corecrt.h:435:1 */
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
type LPLC_ID = uintptr /* corecrt.h:452:9 */
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
//
// Copyright (c) 2013-2016 mingw-w64 project
+2 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_windows_amd64.go -pkgname signal', DO NOT EDIT.
// Code generated by 'ccgo signal\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal\signal_windows_amd64.go -pkgname signal', DO NOT EDIT.
package signal
@@ -86,6 +86,7 @@ const (
X_PGLOBAL = 0
X_PTRDIFF_T_ = 0
X_PTRDIFF_T_DEFINED = 0
X_REENTRANT = 1
X_RSIZE_T_DEFINED = 0
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
X_SIG_ATOMIC_T_DEFINED = 0