Update dependencies (#1929)

This commit is contained in:
Wim
2022-11-27 00:42:16 +01:00
committed by GitHub
parent 6da9d567dc
commit 4fd0a76727
1126 changed files with 1057766 additions and 1385139 deletions

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

5
vendor/modernc.org/libc/signal/capi_freebsd_arm.go generated vendored Normal file
View File

@@ -0,0 +1,5 @@
// 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_arm.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}

5
vendor/modernc.org/libc/signal/capi_freebsd_arm64.go generated vendored Normal file
View File

@@ -0,0 +1,5 @@
// 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
var CAPI = map[string]struct{}{}

5
vendor/modernc.org/libc/signal/capi_netbsd_arm.go generated vendored Normal file
View File

@@ -0,0 +1,5 @@
// 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_arm.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}

5
vendor/modernc.org/libc/signal/capi_openbsd_386.go generated vendored Normal file
View File

@@ -0,0 +1,5 @@
// 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_openbsd_386.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}

5
vendor/modernc.org/libc/signal/capi_openbsd_arm64.go generated vendored Normal file
View File

@@ -0,0 +1,5 @@
// 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_openbsd_arm64.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}

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

12
vendor/modernc.org/libc/signal/more_freebsd_arm.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 1
)

12
vendor/modernc.org/libc/signal/more_freebsd_arm64.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 1
)

12
vendor/modernc.org/libc/signal/more_netbsd_arm.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 1
)

12
vendor/modernc.org/libc/signal/more_openbsd_386.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 1
)

12
vendor/modernc.org/libc/signal/more_openbsd_arm64.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 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_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 */

View File

@@ -676,8 +676,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

View File

@@ -139,9 +139,9 @@ const (
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:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784: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:
@@ -160,7 +160,7 @@ const (
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>:337: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

1414
vendor/modernc.org/libc/signal/signal_freebsd_arm.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

1624
vendor/modernc.org/libc/signal/signal_freebsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -214,7 +214,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t. x86 version.
// 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
@@ -978,7 +979,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* 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 */
@@ -989,13 +991,15 @@ type X__intptr_t = int32 /* 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
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
// Signal number definitions. Linux version.
@@ -1091,7 +1095,8 @@ type X__time64_t = X__int64_t /* types.h:222:28 */
// 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 [32]uint32 } /* __sigset_t.h:8:3 */
@@ -1159,7 +1164,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
@@ -2097,18 +2103,21 @@ 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 = uint32 /* 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 {
F__ccgo_pad1 [0]uint32
F__size [4]int8
} /* 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 {
F__ccgo_pad1 [0]uint32
F__size [4]int8
@@ -2125,7 +2134,8 @@ 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 {
@@ -2137,7 +2147,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint32
F__size [20]int8

View File

@@ -212,7 +212,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t. x86 version.
// 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
@@ -996,7 +997,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 */
@@ -1007,8 +1009,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
@@ -1108,7 +1111,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 */
@@ -1176,7 +1180,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
@@ -2115,18 +2120,21 @@ 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 {
F__ccgo_pad1 [0]uint32
F__size [4]int8
} /* 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 {
F__ccgo_pad1 [0]uint32
F__size [4]int8
@@ -2143,7 +2151,8 @@ 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 {
@@ -2155,7 +2164,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint64
F__size [32]int8

View File

@@ -209,7 +209,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
@@ -1054,7 +1055,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* 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 */
@@ -1065,13 +1067,15 @@ type X__intptr_t = int32 /* 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
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
// Signal number definitions. Linux version.
@@ -1167,7 +1171,8 @@ type X__time64_t = X__int64_t /* types.h:222:28 */
// 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 [32]uint32 } /* __sigset_t.h:8:3 */
@@ -1235,7 +1240,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
@@ -1739,9 +1745,10 @@ type X_libc_fpstate = struct {
type Fpregset_t = X_libc_fpstate /* ucontext.h:99:30 */
// Context to describe whole processor state. This only describes
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
//
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
type Mcontext_t = struct {
Ftrap_no uint32
Ferror_code uint32
@@ -2137,18 +2144,21 @@ 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 = uint32 /* 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 {
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 {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@@ -2165,7 +2175,8 @@ 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 {
@@ -2177,7 +2188,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint32
F__size [20]uint8

View File

@@ -239,7 +239,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
@@ -1102,7 +1103,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 */
@@ -1113,8 +1115,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
@@ -1214,7 +1217,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 */
@@ -1282,7 +1286,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
@@ -2188,7 +2193,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// Never include this file directly; use <sys/types.h> instead.
// A time value that is accurate to the nearest
// microsecond but also has a range of years.
//
// microsecond but also has a range of years.
type Timeval = struct {
Ftv_sec X__time_t
Ftv_usec X__suseconds_t
@@ -2297,14 +2303,16 @@ type Fd_mask = X__fd_mask /* select.h:77:19 */
// Define some inlines helping to catch common problems.
// Structure crudely representing a timezone.
// This is obsolete and should never be used.
//
// This is obsolete and should never be used.
type Timezone = struct {
Ftz_minuteswest int32
Ftz_dsttime int32
} /* time.h:52:1 */
// Type of the second argument to `getitimer' and
// the second and third arguments `setitimer'.
//
// the second and third arguments `setitimer'.
type Itimerval = struct {
Fit_interval struct {
Ftv_sec X__time_t
@@ -2944,18 +2952,21 @@ 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 {
F__ccgo_pad1 [0]uint32
F__size [8]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 {
F__ccgo_pad1 [0]uint32
F__size [8]uint8
@@ -2975,7 +2986,8 @@ type Pthread_mutex_t = struct {
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 {
@@ -2987,7 +2999,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint64
F__size [32]uint8
@@ -3055,9 +3068,10 @@ type User_fpsimd_struct = struct {
type Elf_greg_t = X__uint64_t /* procfs.h:25:20 */
// And the whole bunch of them. We could have used `struct
// pt_regs' directly in the typedef, but tradition says that
// the register set is an array, which does have some peculiar
// semantics, so leave it that way.
//
// pt_regs' directly in the typedef, but tradition says that
// the register set is an array, which does have some peculiar
// semantics, so leave it that way.
type Elf_gregset_t = [34]Elf_greg_t /* procfs.h:32:20 */
// Register set for the floating-point registers.
@@ -3187,7 +3201,8 @@ type Prgregset_t = X__prgregset_t /* procfs.h:109:23 */
type Prfpregset_t = X__prfpregset_t /* procfs.h:110:24 */
// We don't have any differences between processes and threads,
// therefore have only one PID type.
//
// therefore have only one PID type.
type Lwpid_t = X__pid_t /* procfs.h:114:17 */
// Process status and info. In the end we do provide typedefs for them.
@@ -3224,9 +3239,10 @@ type Gregset_t = Elf_gregset_t /* ucontext.h:42:23 */
type Fpregset_t = Elf_fpregset_t /* ucontext.h:45:24 */
// Context to describe whole processor state. This only describes
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
//
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
type Mcontext_t = struct {
Ffault_address uint64
Fregs [31]uint64

View File

@@ -582,7 +582,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
@@ -1363,7 +1364,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 */
@@ -1374,8 +1376,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
@@ -1475,7 +1478,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 */
@@ -1543,7 +1547,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
@@ -2333,20 +2338,23 @@ type Gregset_t = [48]uint64 /* ucontext.h:93:23 */
type Fpregset_t = [33]float64 /* ucontext.h:94:16 */
// Container for Altivec/VMX Vector Status and Control Register. Only 32-bits
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
//
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
type X_libc_vscr = struct {
Fvscr_word uint32
F__pad [3]uint32
} /* ucontext.h:99:9 */
// Container for Altivec/VMX Vector Status and Control Register. Only 32-bits
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
//
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
type Vscr_t = X_libc_vscr /* ucontext.h:108:3 */
// Container for Altivec/VMX registers and status.
// Must to be aligned on a 16-byte boundary.
//
// Must to be aligned on a 16-byte boundary.
type X_libc_vrstate = struct {
Fvrregs [32][4]uint32
Fvscr Vscr_t
@@ -2355,7 +2363,8 @@ type X_libc_vrstate = struct {
} /* ucontext.h:112:9 */
// Container for Altivec/VMX registers and status.
// Must to be aligned on a 16-byte boundary.
//
// Must to be aligned on a 16-byte boundary.
type Vrregset_t = X_libc_vrstate /* ucontext.h:118:3 */
type Mcontext_t = struct {
@@ -2689,18 +2698,21 @@ 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 {
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 {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@@ -2717,7 +2729,8 @@ 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 {
@@ -2729,7 +2742,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint64
F__size [32]uint8

View File

@@ -221,7 +221,8 @@ const ( /* siginfo-consts.h:193: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
@@ -1195,7 +1196,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
type X__syscall_ulong_t = uint64 /* types.h:199: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:203:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:204:14 */
@@ -1206,8 +1208,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
type X__socklen_t = uint32 /* types.h:210: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:215:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@@ -1312,7 +1315,8 @@ type X__sig_atomic_t = int32 /* types.h:215: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 */
@@ -1403,7 +1407,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
type Time_t = X__time_t /* time_t.h:10:18 */
// 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
@@ -2250,9 +2255,10 @@ type X__pthread_mutex_s = struct {
// <https://www.gnu.org/licenses/>.
// There is a lot of padding in this structure. While it's not strictly
// necessary on RISC-V, we're going to leave it in to be on the safe side in
// case it's needed in the future. Most other architectures have the padding,
// so this gives us the same extensibility as everyone else has.
//
// necessary on RISC-V, we're going to leave it in to be on the safe side in
// case it's needed in the future. Most other architectures have the padding,
// so this gives us the same extensibility as everyone else has.
type X__pthread_rwlock_arch_t = struct {
F__readers uint32
F__writers uint32
@@ -2286,18 +2292,21 @@ type X__thrd_t = uint64 /* thread-shared-types.h:120:27 */
type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:125:3 */
// 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 {
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 {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@@ -2314,7 +2323,8 @@ 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 {
@@ -2326,7 +2336,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint64
F__size [32]uint8

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
@@ -1001,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 */
@@ -1012,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
@@ -1113,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 */
@@ -1181,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
@@ -1486,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 */
@@ -1808,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 */
@@ -2149,18 +2157,21 @@ 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 {
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 {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@@ -2177,7 +2188,8 @@ 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 {
@@ -2189,7 +2201,8 @@ type Pthread_rwlockattr_t = struct {
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 {
F__ccgo_pad1 [0]uint64
F__size [32]uint8

2853
vendor/modernc.org/libc/signal/signal_netbsd_arm.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

1355
vendor/modernc.org/libc/signal/signal_openbsd_386.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -138,8 +138,8 @@ const (
TRAP_TRACE = 2 // siginfo.h:94:1:
X_BIG_ENDIAN = 4321 // _endian.h:43:1:
X_BYTE_ORDER = 1234 // endian.h:58:1:
X_CLOCKID_T_DEFINED_ = 0 // types.h:163:1:
X_CLOCK_T_DEFINED_ = 0 // types.h:158:1:
X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1:
X_CLOCK_T_DEFINED_ = 0 // types.h:157:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_INT16_T_DEFINED_ = 0 // types.h:84:1:
X_INT32_T_DEFINED_ = 0 // types.h:94:1:
@@ -154,16 +154,16 @@ const (
X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
X_NSIG = 33 // signal.h:45:1:
X_OFF_T_DEFINED_ = 0 // types.h:193:1:
X_OFF_T_DEFINED_ = 0 // types.h:192:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
X_PID_T_DEFINED_ = 0 // types.h:168:1:
X_PID_T_DEFINED_ = 0 // types.h:167:1:
X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
X_QUAD_LOWWORD = 0 // _endian.h:96:1:
X_RET_PROTECTOR = 1 // <predefined>:2:1:
X_SELECT_DEFINED_ = 0 // select.h:126:1:
X_SIGSET_T_DEFINED_ = 0 // signal.h:103:1:
X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:178:1:
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
X_STACKALIGNBYTES = 15 // _types.h:49:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
@@ -175,17 +175,17 @@ const (
X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
X_SYS__TIME_H_ = 0 // _time.h:33:1:
X_SYS__TYPES_H_ = 0 // _types.h:35:1:
X_TIMER_T_DEFINED_ = 0 // types.h:188:1:
X_TIMER_T_DEFINED_ = 0 // types.h:187:1:
X_TIMESPEC_DECLARED = 0 // select.h:48:1:
X_TIMEVAL_DECLARED = 0 // select.h:40:1:
X_TIME_H_ = 0 // time.h:42:1:
X_TIME_T_DEFINED_ = 0 // types.h:183:1:
X_TIME_T_DEFINED_ = 0 // types.h:182:1:
X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
X_USER_SIGNAL_H = 0 // signal.h:36:1:
Unix = 1 // <predefined>:340:1:
Unix = 1 // <predefined>:344:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -591,7 +591,7 @@ type Sigval = struct {
// SIGCHLD signal codes
// $OpenBSD: time.h,v 1.61 2021/06/19 13:49:39 cheloha Exp $
// $OpenBSD: time.h,v 1.62 2022/07/23 22:58:51 cheloha Exp $
// $NetBSD: time.h,v 1.18 1996/04/23 10:29:33 mycroft Exp $
// Copyright (c) 1982, 1986, 1993
@@ -655,7 +655,7 @@ type Sigval = struct {
//
// @(#)select.h 8.2 (Berkeley) 1/4/94
// $OpenBSD: types.h,v 1.48 2019/02/09 04:54:11 guenther Exp $
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
// -
@@ -825,7 +825,7 @@ type Sigval = struct {
// get the correct setting direction for the platform and sets internal
// ('__' prefix) macros appropriately.
// $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
// -
// Copyright (c) 1990, 1993
@@ -985,18 +985,17 @@ type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family
type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
type X__suseconds_t = int64 /* _types.h:62:15 */ // microseconds (signed)
type X__swblk_t = X__int32_t /* _types.h:63:19 */ // swap offset
type X__time_t = X__int64_t /* _types.h:64:19 */ // epoch time
type X__timer_t = X__int32_t /* _types.h:65:19 */ // POSIX timer identifiers
type X__uid_t = X__uint32_t /* _types.h:66:20 */ // user id
type X__useconds_t = X__uint32_t /* _types.h:67:20 */ // microseconds
type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
// 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__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:76:3 */
} /* _types.h:75:3 */
// Tell sys/endian.h we have MD variants of the swap macros.
@@ -1078,27 +1077,26 @@ type Mode_t = X__mode_t /* types.h:143:18 */ // permissions
type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count
type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit
type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size
type Swblk_t = X__swblk_t /* types.h:147:19 */ // swap offset
type Uid_t = X__uid_t /* types.h:148:18 */ // user id
type Useconds_t = X__useconds_t /* types.h:149:22 */ // microseconds
type Suseconds_t = X__suseconds_t /* types.h:150:23 */ // microseconds (signed)
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:151:22 */ // file system block count
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:152:22 */ // file system file count
type Uid_t = X__uid_t /* types.h:147:18 */ // user id
type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds
type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed)
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count
// The following types may be defined in multiple header files.
type Clock_t = X__clock_t /* types.h:159:19 */
type Clock_t = X__clock_t /* types.h:158:19 */
type Clockid_t = X__clockid_t /* types.h:164:21 */
type Clockid_t = X__clockid_t /* types.h:163:21 */
type Pid_t = X__pid_t /* types.h:169:18 */
type Pid_t = X__pid_t /* types.h:168:18 */
type Ssize_t = X__ssize_t /* types.h:179:19 */
type Ssize_t = X__ssize_t /* types.h:178:19 */
type Time_t = X__time_t /* types.h:184:18 */
type Time_t = X__time_t /* types.h:183:18 */
type Timer_t = X__timer_t /* types.h:189:19 */
type Timer_t = X__timer_t /* types.h:188:19 */
type Off_t = X__off_t /* types.h:194:18 */
type Off_t = X__off_t /* types.h:193:18 */
// Major, minor numbers, dev_t's.
@@ -1234,7 +1232,7 @@ type Clockinfo = struct {
// Written by Todd C. Miller, September 9, 2016
// Public domain.
// $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
// -
// Copyright (c) 1990, 1993

1361
vendor/modernc.org/libc/signal/signal_openbsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

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,97 +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_REENTRANT = 1
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 */
@@ -139,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
@@ -159,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.
@@ -199,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
@@ -244,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