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 pthread/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 pthread/pthread_darwin_amd64.go -pkgname pthread', DO NOT EDIT.
// Code generated by 'ccgo pthread/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 pthread/pthread_darwin_amd64.go -pkgname pthread', DO NOT EDIT.
package pthread

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

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

View File

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

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

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

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

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

View File

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

View File

@@ -1,4 +1,4 @@
// Code generated by 'ccgo pthread\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 pthread\pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
// Code generated by 'ccgo pthread/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 pthread/pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
package pthread

View File

@@ -1,4 +1,4 @@
// Code generated by 'ccgo pthread/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 pthread/pthread_darwin_amd64.go -pkgname pthread', DO NOT EDIT.
// Code generated by 'ccgo pthread/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 pthread/pthread_darwin_amd64.go -pkgname pthread', DO NOT EDIT.
package pthread
@@ -15,87 +15,87 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
CLOCKS_PER_SEC = 1000000
PTHREAD_CANCEL_ASYNCHRONOUS = 0x00
PTHREAD_CANCEL_DEFERRED = 0x02
PTHREAD_CANCEL_DISABLE = 0x00
PTHREAD_CANCEL_ENABLE = 0x01
PTHREAD_CREATE_DETACHED = 2
PTHREAD_CREATE_JOINABLE = 1
PTHREAD_EXPLICIT_SCHED = 2
PTHREAD_INHERIT_SCHED = 1
PTHREAD_MUTEX_DEFAULT = 0
PTHREAD_MUTEX_ERRORCHECK = 1
PTHREAD_MUTEX_NORMAL = 0
PTHREAD_MUTEX_POLICY_FAIRSHARE_NP = 1
PTHREAD_MUTEX_POLICY_FIRSTFIT_NP = 3
PTHREAD_MUTEX_RECURSIVE = 2
PTHREAD_PRIO_INHERIT = 1
PTHREAD_PRIO_NONE = 0
PTHREAD_PRIO_PROTECT = 2
PTHREAD_PROCESS_PRIVATE = 2
PTHREAD_PROCESS_SHARED = 1
PTHREAD_SCOPE_PROCESS = 2
PTHREAD_SCOPE_SYSTEM = 1
QOS_MIN_RELATIVE_PRIORITY = -15
SCHED_FIFO = 4
SCHED_OTHER = 1
SCHED_RR = 2
TIME_UTC = 1
X_BSD_I386__TYPES_H_ = 0
X_BSD_MACHINE_TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_CLOCK_T = 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_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_PORT_T = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PTHREAD_ATTR_T = 0
X_PTHREAD_CONDATTR_T = 0
X_PTHREAD_COND_SIG_init = 0x3CB0B1BB
X_PTHREAD_COND_T = 0
X_PTHREAD_ERRORCHECK_MUTEX_SIG_init = 0x32AAABA1
X_PTHREAD_FIRSTFIT_MUTEX_SIG_init = 0x32AAABA3
X_PTHREAD_H = 0
X_PTHREAD_IMPL_H_ = 0
X_PTHREAD_KEY_T = 0
X_PTHREAD_MUTEXATTR_T = 0
X_PTHREAD_MUTEX_SIG_init = 0x32AAABA7
X_PTHREAD_MUTEX_T = 0
X_PTHREAD_ONCE_SIG_init = 0x30B1BCBA
X_PTHREAD_ONCE_T = 0
X_PTHREAD_QOS_H = 0
X_PTHREAD_RECURSIVE_MUTEX_SIG_init = 0x32AAABA2
X_PTHREAD_RWLOCKATTR_T = 0
X_PTHREAD_RWLOCK_SIG_init = 0x2DA8B3B4
X_PTHREAD_RWLOCK_T = 0
X_PTHREAD_T = 0
X_SCHED_H_ = 0
X_SIGSET_T = 0
X_SIZE_T = 0
X_SYS_QOS_H = 0
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIME_H_ = 0
X_TIME_T = 0
X_UINTPTR_T = 0
X_U_INT16_T = 0
X_U_INT32_T = 0
X_U_INT64_T = 0
X_U_INT8_T = 0
CLOCKS_PER_SEC = 1000000 // time.h:90:1:
PTHREAD_CANCEL_ASYNCHRONOUS = 0x00 // pthread.h:147:1:
PTHREAD_CANCEL_DEFERRED = 0x02 // pthread.h:146:1:
PTHREAD_CANCEL_DISABLE = 0x00 // pthread.h:145:1:
PTHREAD_CANCEL_ENABLE = 0x01 // pthread.h:144:1:
PTHREAD_CREATE_DETACHED = 2 // pthread.h:139:1:
PTHREAD_CREATE_JOINABLE = 1 // pthread.h:138:1:
PTHREAD_EXPLICIT_SCHED = 2 // pthread.h:142:1:
PTHREAD_INHERIT_SCHED = 1 // pthread.h:141:1:
PTHREAD_MUTEX_DEFAULT = 0 // pthread.h:172:1:
PTHREAD_MUTEX_ERRORCHECK = 1 // pthread.h:170:1:
PTHREAD_MUTEX_NORMAL = 0 // pthread.h:169:1:
PTHREAD_MUTEX_POLICY_FAIRSHARE_NP = 1 // pthread.h:177:1:
PTHREAD_MUTEX_POLICY_FIRSTFIT_NP = 3 // pthread.h:178:1:
PTHREAD_MUTEX_RECURSIVE = 2 // pthread.h:171:1:
PTHREAD_PRIO_INHERIT = 1 // pthread.h:163:1:
PTHREAD_PRIO_NONE = 0 // pthread.h:162:1:
PTHREAD_PRIO_PROTECT = 2 // pthread.h:164:1:
PTHREAD_PROCESS_PRIVATE = 2 // pthread.h:157:1:
PTHREAD_PROCESS_SHARED = 1 // pthread.h:156:1:
PTHREAD_SCOPE_PROCESS = 2 // pthread.h:154:1:
PTHREAD_SCOPE_SYSTEM = 1 // pthread.h:153:1:
QOS_MIN_RELATIVE_PRIORITY = -15 // qos.h:153:1:
SCHED_FIFO = 4 // pthread_impl.h:55:1:
SCHED_OTHER = 1 // pthread_impl.h:54:1:
SCHED_RR = 2 // pthread_impl.h:56:1:
TIME_UTC = 1 // time.h:197:1:
X_BSD_I386__TYPES_H_ = 0 // _types.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_CLOCK_T = 0 // _clock_t.h:29: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_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_PORT_T = 0 // _mach_port_t.h:48:1:
X_Nonnull = 0 // cdefs.h:243:1:
X_Null_unspecified = 0 // cdefs.h:246:1:
X_Nullable = 0 // cdefs.h:240:1:
X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1:
X_PTHREAD_COND_SIG_init = 0x3CB0B1BB // pthread_impl.h:47:1:
X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1:
X_PTHREAD_ERRORCHECK_MUTEX_SIG_init = 0x32AAABA1 // pthread_impl.h:43:1:
X_PTHREAD_FIRSTFIT_MUTEX_SIG_init = 0x32AAABA3 // pthread_impl.h:45:1:
X_PTHREAD_H = 0 // pthread.h:53:1:
X_PTHREAD_IMPL_H_ = 0 // pthread_impl.h:25:1:
X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1:
X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1:
X_PTHREAD_MUTEX_SIG_init = 0x32AAABA7 // pthread_impl.h:41:1:
X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1:
X_PTHREAD_ONCE_SIG_init = 0x30B1BCBA // pthread_impl.h:48:1:
X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1:
X_PTHREAD_QOS_H = 0 // qos.h:25:1:
X_PTHREAD_RECURSIVE_MUTEX_SIG_init = 0x32AAABA2 // pthread_impl.h:44:1:
X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1:
X_PTHREAD_RWLOCK_SIG_init = 0x2DA8B3B4 // pthread_impl.h:49:1:
X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1:
X_PTHREAD_T = 0 // _pthread_t.h:29:1:
X_SCHED_H_ = 0 // sched.h:25:1:
X_SIGSET_T = 0 // _sigset_t.h:29:1:
X_SIZE_T = 0 // _size_t.h:29:1:
X_SYS_QOS_H = 0 // qos.h:25:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
X_TIME_H_ = 0 // time.h:64:1:
X_TIME_T = 0 // _time_t.h:29:1:
X_UINTPTR_T = 0 // _uintptr_t.h:29: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:
)
// Copyright (c) 2013-2014 Apple Inc. All rights reserved.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1932
vendor/modernc.org/libc/pthread/pthread_freebsd_arm.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

1987
vendor/modernc.org/libc/pthread/pthread_freebsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -865,7 +865,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 */
@@ -876,13 +877,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 */
// Wide character type.
@@ -974,7 +977,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// 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
@@ -1733,18 +1737,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
@@ -1768,7 +1775,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 {
@@ -1780,7 +1788,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

@@ -885,7 +885,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 */
@@ -896,8 +897,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 */
// Wide character type.
@@ -989,7 +991,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// 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
@@ -1747,18 +1750,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
@@ -1782,7 +1788,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 {
@@ -1794,7 +1801,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

@@ -938,7 +938,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 */
@@ -949,13 +950,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 */
// Wide character type.
@@ -1047,7 +1050,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// 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
@@ -1857,18 +1861,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
@@ -1892,7 +1899,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 {
@@ -1904,7 +1912,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
@@ -1935,10 +1944,11 @@ type Pthread_barrierattr_t = struct {
// Define the machine-dependent type `jmp_buf'. ARM EABI version.
// The exact set of registers saved may depend on the particular core
// in use, as some coprocessor registers may need to be saved. The C
// Library ABI requires that the buffer be 8-byte aligned, and
// recommends that the buffer contain 64 words. The first 26 words
// are occupied by sp, lr, v1-v6, sl, fp, and d8-d15.
//
// in use, as some coprocessor registers may need to be saved. The C
// Library ABI requires that the buffer be 8-byte aligned, and
// recommends that the buffer contain 64 words. The first 26 words
// are occupied by sp, lr, v1-v6, sl, fp, and d8-d15.
type X__jmp_buf = [64]int32 /* setjmp.h:33:13 */
// Conditional variable handling.

View File

@@ -969,7 +969,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 */
@@ -980,8 +981,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 */
// Wide character type.
@@ -1073,7 +1075,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// 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
@@ -1864,18 +1867,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
@@ -1902,7 +1908,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 {
@@ -1914,7 +1921,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
@@ -1944,8 +1952,9 @@ type Pthread_barrierattr_t = struct {
// <https://www.gnu.org/licenses/>.
// Jump buffer contains:
// x19-x28, x29(fp), x30(lr), (x31)sp, d8-d15. Other registers are not
// saved.
//
// x19-x28, x29(fp), x30(lr), (x31)sp, d8-d15. Other registers are not
// saved.
type X__jmp_buf = [22]uint64 /* setjmp.h:30:42 */
// Conditional variable handling.

View File

@@ -894,7 +894,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 */
@@ -905,8 +906,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 */
// Wide character type.
@@ -998,7 +1000,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// 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
@@ -1756,18 +1759,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
@@ -1791,7 +1797,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 {
@@ -1803,7 +1810,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
@@ -1841,12 +1849,13 @@ type Pthread_barrierattr_t = struct {
// Determine the wordsize from the preprocessor defines.
// The current powerpc 32-bit Altivec ABI specifies for SVR4 ABI and EABI
// the vrsave must be at byte 248 & v20 at byte 256. So we must pad this
// correctly on 32 bit. It also insists that vecregs are only gauranteed
// 4 byte alignment so we need to use vperm in the setjmp/longjmp routines.
// We have to version the code because members like int __mask_was_saved
// in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We
// cannot keep the altivec jmp_buf backward compatible with the jmp_buf.
//
// the vrsave must be at byte 248 & v20 at byte 256. So we must pad this
// correctly on 32 bit. It also insists that vecregs are only gauranteed
// 4 byte alignment so we need to use vperm in the setjmp/longjmp routines.
// We have to version the code because members like int __mask_was_saved
// in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We
// cannot keep the altivec jmp_buf backward compatible with the jmp_buf.
type X__jmp_buf = [64]int64 /* setjmp.h:42:18 */
// Conditional variable handling.

View File

@@ -1091,7 +1091,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 */
@@ -1102,8 +1103,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 */
// Wide character type.
@@ -1195,7 +1197,8 @@ type Time_t = X__time_t /* time_t.h:10:18 */
// 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
@@ -1959,9 +1962,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
@@ -1995,18 +1999,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
@@ -2030,7 +2037,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 {
@@ -2042,7 +2050,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

@@ -882,7 +882,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 */
@@ -893,8 +894,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 */
// Wide character type.
@@ -986,7 +988,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// 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
@@ -1743,18 +1746,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
@@ -1778,7 +1784,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 {
@@ -1790,7 +1797,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

@@ -2036,6 +2036,7 @@ type Timezone = struct {
// hide bintime for _STANDALONE because this header is used for hpcboot.exe,
// which is built with compilers which don't recognize LL suffix.
//
// http://mail-index.NetBSD.org/tech-userlevel/2008/02/27/msg000181.html
type Bintime = struct {
Fsec Time_t
@@ -2449,7 +2450,7 @@ type Locale_t = uintptr /* time.h:188:25 */
type Timezone_t = uintptr /* time.h:198:24 */
// $NetBSD: sched.h,v 1.12 2009/01/11 03:04:12 christos Exp $
// $NetBSD: sched.h,v 1.12.52.1 2022/08/03 10:42:02 martin Exp $
// -
// Copyright (c) 2001 The NetBSD Foundation, Inc.

2714
vendor/modernc.org/libc/pthread/pthread_netbsd_arm.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

1986
vendor/modernc.org/libc/pthread/pthread_openbsd_386.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -224,8 +224,8 @@ const (
WORD_BIT = 32 // limits.h:93: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:
@@ -240,11 +240,12 @@ const (
X_MACHINE_LIMITS_H_ = 0 // limits.h:35:1:
X_MACHINE_SIGNAL_H_ = 0 // signal.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
X_MAXCOMLEN = 24 // syslimits.h:79: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_POSIX2_BC_BASE_MAX = 99 // limits.h:71:1:
X_POSIX2_BC_DIM_MAX = 2048 // limits.h:72:1:
X_POSIX2_BC_SCALE_MAX = 99 // limits.h:73:1:
@@ -286,8 +287,8 @@ const (
X_SCHED_H_ = 0 // sched.h:40:1:
X_SELECT_DEFINED_ = 0 // select.h:126:1:
X_SIGSET_T_DEFINED_ = 0 // select.h:121: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:
@@ -300,11 +301,11 @@ 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:
@@ -312,7 +313,7 @@ const (
X_XOPEN_IOV_MAX = 16 // limits.h:106:1:
X_XOPEN_NAME_MAX = 255 // limits.h:107:1:
X_XOPEN_PATH_MAX = 1024 // limits.h:108:1:
Unix = 1 // <predefined>:340:1:
Unix = 1 // <predefined>:344:1:
)
// Flags for once initialization.
@@ -384,7 +385,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// $FreeBSD: pthread.h,v 1.13 1999/07/31 08:36:07 rse Exp $
// Header files.
// $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 $
// -
@@ -681,7 +682,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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
@@ -841,18 +842,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.
@@ -934,31 +934,30 @@ 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.
// $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
@@ -1022,7 +1021,7 @@ type Off_t = X__off_t /* types.h:194:18 */
//
// @(#)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 $
// -
@@ -1194,7 +1193,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
@@ -1514,7 +1513,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
@@ -1801,7 +1800,7 @@ type Ucontext_t = Sigcontext /* signal.h:190:27 */
// max value for a signed long long
// min value for a signed long long
// $OpenBSD: syslimits.h,v 1.14 2020/04/02 18:00:00 deraadt Exp $
// $OpenBSD: syslimits.h,v 1.15 2022/02/22 16:58:08 deraadt Exp $
// $NetBSD: syslimits.h,v 1.12 1995/10/05 05:26:19 thorpej Exp $
// Copyright (c) 1988, 1993
@@ -1905,7 +1904,7 @@ type Ucontext_t = Sigcontext /* signal.h:190:27 */
// SUCH DAMAGE.
//
// $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 $
// -

1998
vendor/modernc.org/libc/pthread/pthread_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 pthread\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 pthread\pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
// Code generated by 'ccgo pthread/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 pthread/pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
package pthread
@@ -15,325 +15,328 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
CHAR_BIT = 8
CHAR_MAX = 127
CHAR_MIN = -128
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
E2BIG = 7
EACCES = 13
EADDRINUSE = 100
EADDRNOTAVAIL = 101
EAFNOSUPPORT = 102
EAGAIN = 11
EALREADY = 103
EBADF = 9
EBADMSG = 104
EBUSY = 16
ECANCELED = 105
ECHILD = 10
ECONNABORTED = 106
ECONNREFUSED = 107
ECONNRESET = 108
EDEADLK = 36
EDEADLOCK = 36
EDESTADDRREQ = 109
EDOM = 33
EEXIST = 17
EFAULT = 14
EFBIG = 27
EHOSTUNREACH = 110
EIDRM = 111
EILSEQ = 42
EINPROGRESS = 112
EINTR = 4
EINVAL = 22
EIO = 5
EISCONN = 113
EISDIR = 21
ELOOP = 114
EMFILE = 24
EMLINK = 31
EMSGSIZE = 115
ENAMETOOLONG = 38
ENETDOWN = 116
ENETRESET = 117
ENETUNREACH = 118
ENFILE = 23
ENOBUFS = 119
ENODATA = 120
ENODEV = 19
ENOENT = 2
ENOEXEC = 8
ENOFILE = 2
ENOLCK = 39
ENOLINK = 121
ENOMEM = 12
ENOMSG = 122
ENOPROTOOPT = 123
ENOSPC = 28
ENOSR = 124
ENOSTR = 125
ENOSYS = 40
ENOTCONN = 126
ENOTDIR = 20
ENOTEMPTY = 41
ENOTRECOVERABLE = 127
ENOTSOCK = 128
ENOTSUP = 129
ENOTTY = 25
ENXIO = 6
EOPNOTSUPP = 130
EOVERFLOW = 132
EOWNERDEAD = 133
EPERM = 1
EPIPE = 32
EPROTO = 134
EPROTONOSUPPORT = 135
EPROTOTYPE = 136
ERANGE = 34
EROFS = 30
ESPIPE = 29
ESRCH = 3
ETIME = 137
ETIMEDOUT = 138
ETXTBSY = 139
EWOULDBLOCK = 140
EXDEV = 18
INT_MAX = 2147483647
INT_MIN = -2147483648
LLONG_MAX = 9223372036854775807
LLONG_MIN = -9223372036854775808
LONG_LONG_MAX = 9223372036854775807
LONG_LONG_MIN = -9223372036854775808
LONG_MAX = 2147483647
LONG_MIN = -2147483648
MAX_READ_LOCKS = 2147483646
MB_LEN_MAX = 5
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
OLD_P_OVERLAY = 2
PATH_MAX = 260
PTHREAD_BARRIER_SERIAL_THREAD = 1
PTHREAD_CANCEL_ASYNCHRONOUS = 0x02
PTHREAD_CANCEL_DEFERRED = 0
PTHREAD_CANCEL_DISABLE = 0
PTHREAD_CANCEL_ENABLE = 0x01
PTHREAD_CREATE_DETACHED = 0x04
PTHREAD_CREATE_JOINABLE = 0
PTHREAD_DEFAULT_ATTR = 1
PTHREAD_DESTRUCTOR_ITERATIONS = 256
PTHREAD_EXPLICIT_SCHED = 0
PTHREAD_INHERIT_SCHED = 0x08
PTHREAD_KEYS_MAX = 1048576
PTHREAD_MUTEX_ADAPTIVE_NP = 0
PTHREAD_MUTEX_DEFAULT = 0
PTHREAD_MUTEX_ERRORCHECK = 1
PTHREAD_MUTEX_ERRORCHECK_NP = 1
PTHREAD_MUTEX_FAST_NP = 0
PTHREAD_MUTEX_NORMAL = 0
PTHREAD_MUTEX_PRIVATE = 0
PTHREAD_MUTEX_RECURSIVE = 2
PTHREAD_MUTEX_RECURSIVE_NP = 2
PTHREAD_MUTEX_SHARED = 1
PTHREAD_MUTEX_TIMED_NP = 0
PTHREAD_ONCE_INIT = 0
PTHREAD_PRIO_INHERIT = 8
PTHREAD_PRIO_MULT = 32
PTHREAD_PRIO_NONE = 0
PTHREAD_PRIO_PROTECT = 16
PTHREAD_PROCESS_PRIVATE = 0
PTHREAD_PROCESS_SHARED = 1
PTHREAD_SCOPE_PROCESS = 0
PTHREAD_SCOPE_SYSTEM = 0x10
PTHREAD_THREADS_MAX = 2019
P_DETACH = 4
P_NOWAIT = 1
P_NOWAITO = 3
P_OVERLAY = 2
P_WAIT = 0
RWLS_PER_THREAD = 8
SCHAR_MAX = 127
SCHAR_MIN = -128
SCHED_FIFO = 1
SCHED_MAX = 2
SCHED_MIN = 0
SCHED_OTHER = 0
SCHED_RR = 2
SEM_NSEMS_MAX = 1024
SHRT_MAX = 32767
SHRT_MIN = -32768
SIGABRT = 22
SIGABRT2 = 22
SIGABRT_COMPAT = 6
SIGBREAK = 21
SIGFPE = 8
SIGILL = 4
SIGINT = 2
SIGSEGV = 11
SIGTERM = 15
SIG_BLOCK = 0
SIG_SETMASK = 2
SIG_UNBLOCK = 1
SIZE_MAX = 4294967295
SSIZE_MAX = 2147483647
STRUNCATE = 80
UCHAR_MAX = 255
UINT_MAX = 4294967295
ULLONG_MAX = 18446744073709551615
ULONG_LONG_MAX = 18446744073709551615
ULONG_MAX = 4294967295
UNALIGNED = 0
USE___UUIDOF = 0
USHRT_MAX = 65535
WAIT_CHILD = 0
WAIT_GRANDCHILD = 1
WIN32 = 1
WINNT = 1
WINPTHREAD_API = 0
WIN_PTHREADS_H = 0
WIN_PTHREADS_PTHREAD_COMPAT_H = 0
WIN_PTHREADS_SIGNAL_H = 0
WIN_PTHREADS_UNISTD_H = 0
X_AGLOBAL = 0
X_ANONYMOUS_STRUCT = 0
X_ANONYMOUS_UNION = 0
X_ANSI_STDDEF_H = 0
X_ARGMAX = 100
X_CONST_RETURN = 0
X_CRTNOALIAS = 0
X_CRTRESTRICT = 0
X_CRT_ALTERNATIVE_IMPORTED = 0
X_CRT_ERRNO_DEFINED = 0
X_CRT_GETPID_DEFINED = 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_CRT_SYSTEM_DEFINED = 0
X_CRT_TERMINATE_DEFINED = 0
X_CRT_WSYSTEM_DEFINED = 0
X_DEV_T_DEFINED = 0
X_DLL = 0
X_ERRCODE_DEFINED = 0
X_FILE_OFFSET_BITS = 64
X_FILE_OFFSET_BITS_SET_OFFT = 0
X_GCC_LIMITS_H_ = 0
X_GCC_MAX_ALIGN_T = 0
X_GTHREAD_USE_MUTEX_INIT_FUNC = 1
X_I16_MAX = 32767
X_I16_MIN = -32768
X_I32_MAX = 2147483647
X_I32_MIN = -2147483648
X_I64_MAX = 9223372036854775807
X_I64_MIN = -9223372036854775808
X_I8_MAX = 127
X_I8_MIN = -128
X_INC_CORECRT_STARTUP = 0
X_INC_CRTDEFS = 0
X_INC_CRTDEFS_MACRO = 0
X_INC_ERRNO = 0
X_INC_LIMITS = 0
X_INC_MINGW_SECAPI = 0
X_INC_PROCESS = 0
X_INC_SIGNAL = 0
X_INC_STDDEF = 0
X_INC_TYPES = 0
X_INC_VADEFS = 0
X_INC__MINGW_H = 0
X_INO_T_DEFINED = 0
X_INT128_DEFINED = 0
X_INTEGRAL_MAX_BITS = 64
X_INTPTR_T_DEFINED = 0
X_LIMITS_H___ = 0
X_MODE_T_ = 0
X_MT = 0
X_M_IX86 = 600
X_OFF64_T_DEFINED = 0
X_OFF_T_ = 0
X_OFF_T_DEFINED = 0
X_OLD_P_OVERLAY = 2
X_PGLOBAL = 0
X_PID_T_ = 0
X_POSIX_BARRIERS = 200112
X_POSIX_CLOCK_SELECTION = 200112
X_POSIX_READER_WRITER_LOCKS = 200112
X_POSIX_SEMAPHORES = 200112
X_POSIX_SEM_NSEMS_MAX = 256
X_POSIX_SPIN_LOCKS = 200112
X_POSIX_THREADS = 200112
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 256
X_POSIX_THREAD_KEYS_MAX = 1048576
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112
X_POSIX_TIMEOUTS = 200112
X_PTRDIFF_T_ = 0
X_PTRDIFF_T_DEFINED = 0
X_P_DETACH = 4
X_P_NOWAIT = 1
X_P_NOWAITO = 3
X_P_OVERLAY = 2
X_P_WAIT = 0
X_REENTRANT = 1
X_RSIZE_T_DEFINED = 0
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
X_SIGSET_T_ = 0
X_SIG_ATOMIC_T_DEFINED = 0
X_SIZE_T_DEFINED = 0
X_SPAWNV_DEFINED = 0
X_SSIZE_T_DEFINED = 0
X_STDDEF_H = 0
X_STDDEF_H_ = 0
X_TAGLC_ID_DEFINED = 0
X_THREADLOCALEINFO = 0
X_TIME32_T_DEFINED = 0
X_TIME64_T_DEFINED = 0
X_TIMEB_DEFINED = 0
X_TIMEB_H_ = 0
X_TIMEB_H_S = 0
X_TIMESPEC_DEFINED = 0
X_TIME_T_DEFINED = 0
X_UI16_MAX = 0xffff
X_UI32_MAX = 0xffffffff
X_UI64_MAX = 0xffffffffffffffff
X_UI8_MAX = 0xff
X_UINTPTR_T_DEFINED = 0
X_USE_32BIT_TIME_T = 0
X_VA_LIST_DEFINED = 0
X_W64 = 0
X_WAIT_CHILD = 0
X_WAIT_GRANDCHILD = 1
X_WCHAR_T_DEFINED = 0
X_WCTYPE_T_DEFINED = 0
X_WEXEC_DEFINED = 0
X_WIN32 = 1
X_WIN32_WINNT = 0x502
X_WINT_T = 0
X_WSPAWN_DEFINED = 0
X_X86_ = 1
I386 = 1
CHAR_BIT = 8 // limits.h:64:1:
CHAR_MAX = 127 // limits.h:99:1:
CHAR_MIN = -128 // limits.h:97: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:
E2BIG = 7 // errno.h:31:1:
EACCES = 13 // errno.h:37:1:
EADDRINUSE = 100 // errno.h:86:1:
EADDRNOTAVAIL = 101 // errno.h:90:1:
EAFNOSUPPORT = 102 // errno.h:82:1:
EAGAIN = 11 // errno.h:35:1:
EALREADY = 103 // errno.h:106:1:
EBADF = 9 // errno.h:33:1:
EBADMSG = 104 // errno.h:182:1:
EBUSY = 16 // errno.h:39:1:
ECANCELED = 105 // errno.h:154:1:
ECHILD = 10 // errno.h:34:1:
ECONNABORTED = 106 // errno.h:102:1:
ECONNREFUSED = 107 // errno.h:110:1:
ECONNRESET = 108 // errno.h:114:1:
EDEADLK = 36 // errno.h:55:1:
EDEADLOCK = 36 // errno.h:71:1:
EDESTADDRREQ = 109 // errno.h:118:1:
EDOM = 33 // errno.h:54:1:
EEXIST = 17 // errno.h:40:1:
EFAULT = 14 // errno.h:38:1:
EFBIG = 27 // errno.h:48:1:
EHOSTUNREACH = 110 // errno.h:122:1:
EIDRM = 111 // errno.h:186:1:
EILSEQ = 42 // errno.h:66:1:
EINPROGRESS = 112 // errno.h:158:1:
EINTR = 4 // errno.h:28:1:
EINVAL = 22 // errno.h:64:1:
EIO = 5 // errno.h:29:1:
EISCONN = 113 // errno.h:94:1:
EISDIR = 21 // errno.h:44:1:
ELOOP = 114 // errno.h:227:1:
EMFILE = 24 // errno.h:46:1:
EMLINK = 31 // errno.h:52:1:
EMSGSIZE = 115 // errno.h:126:1:
ENAMETOOLONG = 38 // errno.h:56:1:
ENETDOWN = 116 // errno.h:130:1:
ENETRESET = 117 // errno.h:134:1:
ENETUNREACH = 118 // errno.h:138:1:
ENFILE = 23 // errno.h:45:1:
ENOBUFS = 119 // errno.h:98:1:
ENODATA = 120 // errno.h:190:1:
ENODEV = 19 // errno.h:42:1:
ENOENT = 2 // errno.h:25:1:
ENOEXEC = 8 // errno.h:32:1:
ENOFILE = 2 // errno.h:26:1:
ENOLCK = 39 // errno.h:57:1:
ENOLINK = 121 // errno.h:194:1:
ENOMEM = 12 // errno.h:36:1:
ENOMSG = 122 // errno.h:198:1:
ENOPROTOOPT = 123 // errno.h:142:1:
ENOSPC = 28 // errno.h:49:1:
ENOSR = 124 // errno.h:202:1:
ENOSTR = 125 // errno.h:206:1:
ENOSYS = 40 // errno.h:58:1:
ENOTCONN = 126 // errno.h:150:1:
ENOTDIR = 20 // errno.h:43:1:
ENOTEMPTY = 41 // errno.h:59:1:
ENOTRECOVERABLE = 127 // errno.h:210:1:
ENOTSOCK = 128 // errno.h:146:1:
ENOTSUP = 129 // errno.h:76:1:
ENOTTY = 25 // errno.h:47:1:
ENXIO = 6 // errno.h:30:1:
EOPNOTSUPP = 130 // errno.h:162:1:
EOVERFLOW = 132 // errno.h:235:1:
EOWNERDEAD = 133 // errno.h:170:1:
EPERM = 1 // errno.h:24:1:
EPIPE = 32 // errno.h:53:1:
EPROTO = 134 // errno.h:174:1:
EPROTONOSUPPORT = 135 // errno.h:178:1:
EPROTOTYPE = 136 // errno.h:231:1:
ERANGE = 34 // errno.h:65:1:
EROFS = 30 // errno.h:51:1:
ESPIPE = 29 // errno.h:50:1:
ESRCH = 3 // errno.h:27:1:
ETIME = 137 // errno.h:214:1:
ETIMEDOUT = 138 // errno.h:223:1:
ETXTBSY = 139 // errno.h:218:1:
EWOULDBLOCK = 140 // errno.h:166:1:
EXDEV = 18 // errno.h:41:1:
GENERIC_ERRORCHECK_INITIALIZER = -2 // pthread.h:279:1:
GENERIC_INITIALIZER = -1 // pthread.h:278:1:
GENERIC_NORMAL_INITIALIZER = -1 // pthread.h:281:1:
GENERIC_RECURSIVE_INITIALIZER = -3 // pthread.h:280:1:
INT_MAX = 2147483647 // limits.h:120:1:
INT_MIN = -2147483648 // limits.h:118:1:
LLONG_MAX = 9223372036854775807 // limits.h:142:1:
LLONG_MIN = -9223372036854775808 // limits.h:140:1:
LONG_LONG_MAX = 9223372036854775807 // limits.h:154:1:
LONG_LONG_MIN = -9223372036854775808 // limits.h:152:1:
LONG_MAX = 2147483647 // limits.h:131:1:
LONG_MIN = -2147483648 // limits.h:129:1:
MAX_READ_LOCKS = 2147483646 // pthread.h:168:1:
MB_LEN_MAX = 5 // limits.h:35: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:
OLD_P_OVERLAY = 2 // process.h:149:1:
PATH_MAX = 260 // limits.h:20:1:
PTHREAD_BARRIER_SERIAL_THREAD = 1 // pthread.h:165:1:
PTHREAD_CANCEL_ASYNCHRONOUS = 0x02 // pthread.h:117:1:
PTHREAD_CANCEL_DEFERRED = 0 // pthread.h:116:1:
PTHREAD_CANCEL_DISABLE = 0 // pthread.h:113:1:
PTHREAD_CANCEL_ENABLE = 0x01 // pthread.h:114:1:
PTHREAD_CREATE_DETACHED = 0x04 // pthread.h:120:1:
PTHREAD_CREATE_JOINABLE = 0 // pthread.h:119:1:
PTHREAD_DEFAULT_ATTR = 1 // pthread.h:128:1:
PTHREAD_DESTRUCTOR_ITERATIONS = 256 // pthread.h:136:1:
PTHREAD_EXPLICIT_SCHED = 0 // pthread.h:122:1:
PTHREAD_INHERIT_SCHED = 0x08 // pthread.h:123:1:
PTHREAD_KEYS_MAX = 1048576 // pthread.h:137:1:
PTHREAD_MUTEX_ADAPTIVE_NP = 0 // pthread.h:156:1:
PTHREAD_MUTEX_DEFAULT = 0 // pthread.h:142:1:
PTHREAD_MUTEX_ERRORCHECK = 1 // pthread.h:275:1:
PTHREAD_MUTEX_ERRORCHECK_NP = 1 // pthread.h:157:1:
PTHREAD_MUTEX_FAST_NP = 0 // pthread.h:154:1:
PTHREAD_MUTEX_NORMAL = 0 // pthread.h:274:1:
PTHREAD_MUTEX_PRIVATE = 0 // pthread.h:145:1:
PTHREAD_MUTEX_RECURSIVE = 2 // pthread.h:276:1:
PTHREAD_MUTEX_RECURSIVE_NP = 2 // pthread.h:158:1:
PTHREAD_MUTEX_SHARED = 1 // pthread.h:144:1:
PTHREAD_MUTEX_TIMED_NP = 0 // pthread.h:155:1:
PTHREAD_ONCE_INIT = 0 // pthread.h:134:1:
PTHREAD_PRIO_INHERIT = 8 // pthread.h:148:1:
PTHREAD_PRIO_MULT = 32 // pthread.h:150:1:
PTHREAD_PRIO_NONE = 0 // pthread.h:147:1:
PTHREAD_PRIO_PROTECT = 16 // pthread.h:149:1:
PTHREAD_PROCESS_PRIVATE = 0 // pthread.h:152:1:
PTHREAD_PROCESS_SHARED = 1 // pthread.h:151:1:
PTHREAD_SCOPE_PROCESS = 0 // pthread.h:125:1:
PTHREAD_SCOPE_SYSTEM = 0x10 // pthread.h:126:1:
PTHREAD_THREADS_MAX = 2019 // pthread.h:437:1:
P_DETACH = 4 // process.h:151:1:
P_NOWAIT = 1 // process.h:147:1:
P_NOWAITO = 3 // process.h:150:1:
P_OVERLAY = 2 // process.h:148:1:
P_WAIT = 0 // process.h:146:1:
RWLS_PER_THREAD = 8 // pthread.h:98:1:
SCHAR_MAX = 127 // limits.h:75:1:
SCHAR_MIN = -128 // limits.h:73:1:
SCHED_FIFO = 1 // pthread.h:234:1:
SCHED_MAX = 2 // pthread.h:237:1:
SCHED_MIN = 0 // pthread.h:236:1:
SCHED_OTHER = 0 // pthread.h:233:1:
SCHED_RR = 2 // pthread.h:235:1:
SEM_NSEMS_MAX = 1024 // pthread.h:443:1:
SHRT_MAX = 32767 // limits.h:106:1:
SHRT_MIN = -32768 // limits.h:104: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:
SIG_BLOCK = 0 // pthread.h:419:1:
SIG_SETMASK = 2 // pthread.h:425:1:
SIG_UNBLOCK = 1 // pthread.h:422:1:
SIZE_MAX = 4294967295 // limits.h:78:1:
SSIZE_MAX = 2147483647 // limits.h:86:1:
STRUNCATE = 80 // errno.h:67:1:
UCHAR_MAX = 255 // limits.h:82:1:
UINT_MAX = 4294967295 // limits.h:124:1:
ULLONG_MAX = 18446744073709551615 // limits.h:146:1:
ULONG_LONG_MAX = 18446744073709551615 // limits.h:158:1:
ULONG_MAX = 4294967295 // limits.h:135:1:
UNALIGNED = 0 // _mingw.h:384:1:
USE___UUIDOF = 0 // _mingw.h:77:1:
USHRT_MAX = 65535 // limits.h:113:1:
WAIT_CHILD = 0 // process.h:152:1:
WAIT_GRANDCHILD = 1 // process.h:153:1:
WIN32 = 1 // <predefined>:258:1:
WINNT = 1 // <predefined>:306:1:
WINPTHREAD_API = 0 // pthread.h:92:1:
WIN_PTHREADS_H = 0 // pthread.h:60:1:
WIN_PTHREADS_PTHREAD_COMPAT_H = 0 // pthread_compat.h:61:1:
WIN_PTHREADS_SIGNAL_H = 0 // pthread_signal.h:24:1:
WIN_PTHREADS_UNISTD_H = 0 // pthread_unistd.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_ANSI_STDDEF_H = 0 // stddef.h:52: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_ERRNO_DEFINED = 0 // stddef.h:17:1:
X_CRT_GETPID_DEFINED = 0 // process.h:157: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_SYSTEM_DEFINED = 0 // process.h:91:1:
X_CRT_TERMINATE_DEFINED = 0 // process.h:41:1:
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0 // corecrt.h:501:1:
X_CRT_WSYSTEM_DEFINED = 0 // process.h:120:1:
X_DEV_T_DEFINED = 0 // types.h:50: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_FILE_OFFSET_BITS_SET_OFFT = 0 // _mingw_off_t.h:21:1:
X_GCC_LIMITS_H_ = 0 // limits.h:30:1:
X_GCC_MAX_ALIGN_T = 0 // stddef.h:419:1:
X_GTHREAD_USE_MUTEX_INIT_FUNC = 1 // pthread.h:686:1:
X_I16_MAX = 32767 // limits.h:54:1:
X_I16_MIN = -32768 // limits.h:53:1:
X_I32_MAX = 2147483647 // limits.h:58:1:
X_I32_MIN = -2147483648 // limits.h:57:1:
X_I64_MAX = 9223372036854775807 // limits.h:71:1:
X_I64_MIN = -9223372036854775808 // limits.h:70:1:
X_I8_MAX = 127 // limits.h:50:1:
X_I8_MIN = -128 // limits.h:49:1:
X_ILP32 = 1 // <predefined>:211:1:
X_INC_CORECRT = 0 // corecrt.h:8:1:
X_INC_CORECRT_STARTUP = 0 // corecrt_startup.h:8:1:
X_INC_CRTDEFS = 0 // crtdefs.h:8:1:
X_INC_CRTDEFS_MACRO = 0 // _mingw_mac.h:8:1:
X_INC_ERRNO = 0 // errno.h:7:1:
X_INC_LIMITS = 0 // limits.h:9:1:
X_INC_MINGW_SECAPI = 0 // _mingw_secapi.h:8:1:
X_INC_PROCESS = 0 // process.h:7:1:
X_INC_SIGNAL = 0 // signal.h:7:1:
X_INC_STDDEF = 0 // stddef.h:10:1:
X_INC_TYPES = 0 // types.h:7:1:
X_INC_VADEFS = 0 // vadefs.h:7:1:
X_INC__MINGW_H = 0 // _mingw.h:8:1:
X_INO_T_DEFINED = 0 // types.h:42: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_LIMITS_H___ = 0 // limits.h:60:1:
X_MODE_T_ = 0 // types.h:73:1:
X_MT = 0 // _mingw.h:330:1:
X_M_IX86 = 600 // _mingw_mac.h:54:1:
X_OFF64_T_DEFINED = 0 // _mingw_off_t.h:12:1:
X_OFF_T_ = 0 // _mingw_off_t.h:4:1:
X_OFF_T_DEFINED = 0 // _mingw_off_t.h:2:1:
X_OLD_P_OVERLAY = 2 // process.h:23:1:
X_PGLOBAL = 0 // _mingw.h:342:1:
X_PID_T_ = 0 // types.h:58:1:
X_POSIX_BARRIERS = 200112 // pthread_unistd.h:130:1:
X_POSIX_CLOCK_SELECTION = 200112 // pthread_unistd.h:173:1:
X_POSIX_READER_WRITER_LOCKS = 200112 // pthread_unistd.h:101:1:
X_POSIX_SEMAPHORES = 200112 // pthread_unistd.h:190:1:
X_POSIX_SEM_NSEMS_MAX = 256 // pthread.h:440:1:
X_POSIX_SPIN_LOCKS = 200112 // pthread_unistd.h:115:1:
X_POSIX_THREADS = 200112 // pthread_unistd.h:81:1:
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 256 // pthread.h:431:1:
X_POSIX_THREAD_KEYS_MAX = 1048576 // pthread.h:434:1:
X_POSIX_TIMEOUTS = 200112 // pthread_unistd.h:145:1:
X_PTRDIFF_T_ = 0 // corecrt.h:90:1:
X_PTRDIFF_T_DEFINED = 0 // corecrt.h:88:1:
X_P_DETACH = 4 // process.h:25:1:
X_P_NOWAIT = 1 // process.h:22:1:
X_P_NOWAITO = 3 // process.h:24:1:
X_P_OVERLAY = 2 // process.h:26:1:
X_P_WAIT = 0 // process.h:21:1:
X_RSIZE_T_DEFINED = 0 // corecrt.h:58:1:
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0 // errno.h:63:1:
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD // _mingw.h:349:1:
X_SIGSET_T_ = 0 // types.h:101:1:
X_SIG_ATOMIC_T_DEFINED = 0 // signal.h:17:1:
X_SIZE_T_DEFINED = 0 // corecrt.h:37:1:
X_SPAWNV_DEFINED = 0 // process.h:83:1:
X_SSIZE_T_DEFINED = 0 // corecrt.h:47:1:
X_STDDEF_H = 0 // stddef.h:49:1:
X_STDDEF_H_ = 0 // stddef.h:50: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_TIMEB_DEFINED = 0 // timeb.h:51:1:
X_TIMEB_H_ = 0 // timeb.h:7:1:
X_TIMEB_H_S = 0 // timeb_s.h:8:1:
X_TIMESPEC_DEFINED = 0 // types.h:88:1:
X_TIME_T_DEFINED = 0 // corecrt.h:139:1:
X_UI16_MAX = 0xffff // limits.h:55:1:
X_UI32_MAX = 0xffffffff // limits.h:59:1:
X_UI64_MAX = 0xffffffffffffffff // limits.h:72:1:
X_UI8_MAX = 0xff // limits.h:51: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_WAIT_CHILD = 0 // process.h:28:1:
X_WAIT_GRANDCHILD = 1 // process.h:29:1:
X_WCHAR_T_DEFINED = 0 // corecrt.h:101:1:
X_WCTYPE_T_DEFINED = 0 // corecrt.h:108:1:
X_WEXEC_DEFINED = 0 // process.h:96:1:
X_WIN32 = 1 // <predefined>:164:1:
X_WIN32_WINNT = 0x502 // _mingw.h:233:1:
X_WINT_T = 0 // corecrt.h:110:1:
X_WSPAWN_DEFINED = 0 // process.h:108:1:
X_X86_ = 1 // <predefined>:169:1:
I386 = 1 // <predefined>:171:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
@@ -423,6 +426,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
@@ -443,6 +451,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.
@@ -483,26 +497,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
@@ -528,29 +544,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 */
// ISO C Standard: 7.17 Common definitions <stddef.h>
@@ -609,14 +625,15 @@ type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
// Offset of member MEMBER in a struct of type TYPE.
// Type whose alignment is supported in every context and is at least
// as great as that of any standard type not using alignment
// specifiers.
//
// as great as that of any standard type not using alignment
// specifiers.
type Max_align_t = struct {
F__max_align_ll int64
F__max_align_ld float64
} /* stddef.h:426:3 */
} /* stddef.h:427:3 */
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -722,7 +739,18 @@ type X_onexit_table_t = X_onexit_table_t1 /* corecrt_startup.h:28:3 */
type X_onexit_t = uintptr /* corecrt_startup.h:30:13 */
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Includes a definition of _pid_t and pid_t
// *
// 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.
type X_beginthread_proc_type = uintptr /* process.h:32:16 */
type X_beginthreadex_proc_type = uintptr /* process.h:33:20 */
type X_tls_callback_type = uintptr /* process.h:61:16 */
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -774,7 +802,7 @@ type X_onexit_t = uintptr /* corecrt_startup.h:30:13 */
// are semantically identical, with a limit of 259 characters for the
// path name, plus one for a terminating NUL, for a total of 260.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -951,11 +979,11 @@ type Pthread_attr_t1 = struct {
type Pthread_attr_t = Pthread_attr_t1 /* pthread.h:251:31 */
// synchronization objects
type Pthread_spinlock_t = uintptr /* pthread.h:268:14 */
type Pthread_mutex_t = uintptr /* pthread.h:269:14 */
type Pthread_cond_t = uintptr /* pthread.h:270:14 */
type Pthread_rwlock_t = uintptr /* pthread.h:271:14 */
type Pthread_barrier_t = uintptr /* pthread.h:272:14 */
type Pthread_spinlock_t = Intptr_t /* pthread.h:268:18 */
type Pthread_mutex_t = Intptr_t /* pthread.h:269:18 */
type Pthread_cond_t = Intptr_t /* pthread.h:270:18 */
type Pthread_rwlock_t = Intptr_t /* pthread.h:271:18 */
type Pthread_barrier_t = uintptr /* pthread.h:272:14 */
type Clockid_t = int32 /* pthread.h:389:13 */
@@ -1076,23 +1104,6 @@ type Clockid_t = int32 /* pthread.h:389:13 */
//
// are present.
// _SC_THREAD_SAFE_FUNCTIONS
// Affected functions are
//
// readdir_r(),
// getgrgid_r(),
// getgrnam_r(),
// getpwnam_r(),
// getpwuid_r(),
// flockfile(),
// ftrylockfile(),
// funlockfile(),
// getc_unlocked(),
// getchar_unlocked(),
// putc_unlocked(),
// putchar_unlocked(),
// strerror_r(),
// _SC_TIMEOUTS
// The functions
//

View File

@@ -621,8 +621,9 @@ type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
// Offset of member MEMBER in a struct of type TYPE.
// Type whose alignment is supported in every context and is at least
// as great as that of any standard type not using alignment
// specifiers.
//
// as great as that of any standard type not using alignment
// specifiers.
type Max_align_t = struct {
F__max_align_ll int64
F__max_align_ld float64