[chore] Bump database dependencies (#1164)

github.com/uptrace/bun v1.1.8 -> v1.1.9
github.com/uptrace/bun/pgdialect v1.1.8 -> v1.1.9
github.com/uptrace/bun/sqlitedialect v1.1.8 -> v1.1.9
modernc.org/sqlite v1.18.2 -> v1.19.5
This commit is contained in:
tobi 2022-11-28 11:19:39 +01:00 committed by GitHub
commit daf44ac2b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
529 changed files with 971879 additions and 1370194 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

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

@ -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 -ignore-unsupported-alignment -o pthread/pthread_openbsd_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_openbsd_arm64.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_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

View file

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

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

@ -2450,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 $
// -

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 -ignore-unsupported-alignment -o pthread/pthread_openbsd_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_openbsd_arm64.go -pkgname pthread', DO NOT EDIT.
package pthread
@ -26,8 +26,8 @@ const (
BUS_OBJERR = 3 // siginfo.h:85:1:
BYTE_ORDER = 1234 // endian.h:47:1:
CHAR_BIT = 8 // limits.h:36:1:
CHAR_MAX = 0x7f // limits.h:46:1:
CHAR_MIN = -128 // limits.h:47:1:
CHAR_MAX = 0xff // limits.h:44:1:
CHAR_MIN = 0 // limits.h:43:1:
CHILD_MAX = 80 // syslimits.h:39:1:
CLD_CONTINUED = 6 // siginfo.h:105:1:
CLD_DUMPED = 3 // siginfo.h:102:1:
@ -136,8 +136,8 @@ const (
PTHREAD_SCOPE_SYSTEM = 0x2 // pthread.h:61:1:
PTHREAD_STACK_MIN = 4096 // pthread.h:54:1:
PTHREAD_THREADS_MAX = 18446744073709551615 // pthread.h:55:1:
QUAD_MAX = 0x7fffffffffffffff // limits.h:47:1:
QUAD_MIN = -9223372036854775808 // limits.h:48:1:
QUAD_MAX = 0x7fffffffffffffff // limits.h:51:1:
QUAD_MIN = -9223372036854775808 // limits.h:52:1:
RE_DUP_MAX = 255 // syslimits.h:59:1:
SA_NOCLDSTOP = 0x0008 // signal.h:132:1:
SA_NOCLDWAIT = 0x0020 // signal.h:130:1:
@ -193,14 +193,15 @@ const (
SIG_BLOCK = 1 // signal.h:140:1:
SIG_SETMASK = 3 // signal.h:142:1:
SIG_UNBLOCK = 2 // signal.h:141:1:
SIZE_T_MAX = 18446744073709551615 // limits.h:44:1:
SIZE_MAX = 18446744073709551615 // limits.h:42:1:
SIZE_T_MAX = 18446744073709551615 // limits.h:48:1:
SI_LWP = -1 // siginfo.h:47:1:
SI_MAXSZ = 128 // siginfo.h:127:1:
SI_NOINFO = 32767 // siginfo.h:45:1:
SI_QUEUE = -2 // siginfo.h:48:1:
SI_TIMER = -3 // siginfo.h:49:1:
SI_USER = 0 // siginfo.h:46:1:
SSIZE_MAX = 9223372036854775807 // limits.h:40:1:
SSIZE_MAX = 9223372036854775807 // limits.h:44:1:
SS_DISABLE = 0x0004 // signal.h:182:1:
SS_ONSTACK = 0x0001 // signal.h:181:1:
SV_INTERRUPT = 2 // signal.h:158:1:
@ -219,13 +220,13 @@ const (
UINT_MAX = 0xffffffff // limits.h:56:1:
ULLONG_MAX = 0xffffffffffffffff // limits.h:74:1:
ULONG_MAX = 0xffffffffffffffff // limits.h:61:1:
UQUAD_MAX = 0xffffffffffffffff // limits.h:46:1:
UQUAD_MAX = 0xffffffffffffffff // limits.h:50:1:
USHRT_MAX = 0xffff // limits.h:52:1:
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_BYTE_ORDER = 1234 // endian.h:60: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:
@ -235,16 +236,17 @@ const (
X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
X_LOCALE_T_DEFINED_ = 0 // time.h:106:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1:
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_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:4:1:
X_MACHINE_ENDIAN_H_ = 0 // endian.h:20:1:
X_MACHINE_LIMITS_H_ = 0 // limits.h:36:1:
X_MACHINE_SIGNAL_H_ = 0 // signal.h:37:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:35:1:
X_MAXCOMLEN = 24 // syslimits.h:79:1:
X_MAX_PAGE_SHIFT = 12 // _types.h:57: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,9 +288,9 @@ 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_STACKALIGNBYTES = 15 // _types.h:49:1:
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
X_STACKALIGNBYTES = 15 // _types.h:54:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
X_SYS_LIMITS_H_ = 0 // limits.h:27:1:
@ -300,11 +302,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 +314,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>:360:1:
)
// Flags for once initialization.
@ -384,7 +386,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 $
// -
@ -457,10 +459,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
// $OpenBSD: cdefs.h,v 1.3 2013/03/28 17:30:45 martynas Exp $
// Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
// Public domain.
// $OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $
// Macro to test if we're using a specific version of gcc or later.
@ -681,7 +680,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
@ -713,8 +712,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// @(#)types.h 8.3 (Berkeley) 1/5/94
// $OpenBSD: _types.h,v 1.17 2018/03/05 01:15:25 deraadt Exp $
// $OpenBSD: _types.h,v 1.4 2018/03/05 01:15:25 deraadt Exp $
// -
// Copyright (c) 1990, 1993
// The Regents of the University of California. All rights reserved.
@ -756,66 +754,68 @@ type X__float128 = float64 /* <builtin>:47:21 */
// (within reasonable limits).
// 7.18.1.1 Exact-width integer types
type X__int8_t = int8 /* _types.h:61:22 */
type X__uint8_t = uint8 /* _types.h:62:24 */
type X__int16_t = int16 /* _types.h:63:17 */
type X__uint16_t = uint16 /* _types.h:64:25 */
type X__int32_t = int32 /* _types.h:65:15 */
type X__uint32_t = uint32 /* _types.h:66:23 */
type X__int64_t = int64 /* _types.h:67:20 */
type X__uint64_t = uint64 /* _types.h:68:28 */
type X__int8_t = int8 /* _types.h:60:22 */
type X__uint8_t = uint8 /* _types.h:61:24 */
type X__int16_t = int16 /* _types.h:62:17 */
type X__uint16_t = uint16 /* _types.h:63:25 */
type X__int32_t = int32 /* _types.h:64:15 */
type X__uint32_t = uint32 /* _types.h:65:23 */
// LONGLONG
type X__int64_t = int64 /* _types.h:67:20 */
// LONGLONG
type X__uint64_t = uint64 /* _types.h:69:28 */
// 7.18.1.2 Minimum-width integer types
type X__int_least8_t = X__int8_t /* _types.h:71:19 */
type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */
type X__int_least16_t = X__int16_t /* _types.h:73:20 */
type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */
type X__int_least32_t = X__int32_t /* _types.h:75:20 */
type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */
type X__int_least64_t = X__int64_t /* _types.h:77:20 */
type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */
type X__int_least8_t = X__int8_t /* _types.h:72:19 */
type X__uint_least8_t = X__uint8_t /* _types.h:73:20 */
type X__int_least16_t = X__int16_t /* _types.h:74:20 */
type X__uint_least16_t = X__uint16_t /* _types.h:75:21 */
type X__int_least32_t = X__int32_t /* _types.h:76:20 */
type X__uint_least32_t = X__uint32_t /* _types.h:77:21 */
type X__int_least64_t = X__int64_t /* _types.h:78:20 */
type X__uint_least64_t = X__uint64_t /* _types.h:79:21 */
// 7.18.1.3 Fastest minimum-width integer types
type X__int_fast8_t = X__int32_t /* _types.h:81:20 */
type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */
type X__int_fast16_t = X__int32_t /* _types.h:83:20 */
type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */
type X__int_fast32_t = X__int32_t /* _types.h:85:20 */
type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */
type X__int_fast64_t = X__int64_t /* _types.h:87:20 */
type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */
type X__int_fast8_t = X__int32_t /* _types.h:82:20 */
type X__uint_fast8_t = X__uint32_t /* _types.h:83:21 */
type X__int_fast16_t = X__int32_t /* _types.h:84:20 */
type X__uint_fast16_t = X__uint32_t /* _types.h:85:21 */
type X__int_fast32_t = X__int32_t /* _types.h:86:20 */
type X__uint_fast32_t = X__uint32_t /* _types.h:87:21 */
type X__int_fast64_t = X__int64_t /* _types.h:88:20 */
type X__uint_fast64_t = X__uint64_t /* _types.h:89:21 */
// 7.18.1.4 Integer types capable of holding object pointers
type X__intptr_t = int64 /* _types.h:103:16 */
type X__uintptr_t = uint64 /* _types.h:104:24 */
type X__intptr_t = int64 /* _types.h:104:16 */
type X__uintptr_t = uint64 /* _types.h:105:24 */
// 7.18.1.5 Greatest-width integer types
type X__intmax_t = X__int64_t /* _types.h:107:20 */
type X__uintmax_t = X__uint64_t /* _types.h:108:21 */
type X__intmax_t = X__int64_t /* _types.h:108:20 */
type X__uintmax_t = X__uint64_t /* _types.h:109:21 */
// Register size
type X__register_t = int64 /* _types.h:111:16 */
type X__register_t = int64 /* _types.h:112:16 */
// VM system types
type X__vaddr_t = uint64 /* _types.h:114:24 */
type X__paddr_t = uint64 /* _types.h:115:24 */
type X__vsize_t = uint64 /* _types.h:116:24 */
type X__psize_t = uint64 /* _types.h:117:24 */
type X__vaddr_t = uint64 /* _types.h:115:24 */
type X__paddr_t = uint64 /* _types.h:116:24 */
type X__vsize_t = uint64 /* _types.h:117:24 */
type X__psize_t = uint64 /* _types.h:118:24 */
// Standard system types
type X__double_t = float64 /* _types.h:120:18 */
type X__float_t = float32 /* _types.h:121:17 */
type X__ptrdiff_t = int64 /* _types.h:122:16 */
type X__size_t = uint64 /* _types.h:123:24 */
type X__ssize_t = int64 /* _types.h:124:16 */
type X__va_list = X__builtin_va_list /* _types.h:126:27 */
type X__double_t = float64 /* _types.h:121:18 */
type X__float_t = float32 /* _types.h:122:17 */
type X__ptrdiff_t = int64 /* _types.h:123:16 */
type X__size_t = uint64 /* _types.h:124:24 */
type X__ssize_t = int64 /* _types.h:125:16 */
type X__va_list = X__builtin_va_list /* _types.h:127:27 */
// Wide character support types
type X__wchar_t = int32 /* _types.h:133:15 */
type X__wint_t = int32 /* _types.h:135:15 */
type X__rune_t = int32 /* _types.h:136:15 */
type X__wctrans_t = uintptr /* _types.h:137:14 */
type X__wctype_t = uintptr /* _types.h:138:14 */
type X__wchar_t = int32 /* _types.h:137:15 */
type X__wint_t = int32 /* _types.h:140:15 */
type X__rune_t = int32 /* _types.h:141:15 */
type X__wctrans_t = uintptr /* _types.h:142:14 */
type X__wctype_t = uintptr /* _types.h:143:14 */
type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O
@ -841,18 +841,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 +933,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 +1020,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 +1192,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
@ -1328,11 +1326,12 @@ type Tm = struct {
//
// @(#)signal.h 8.2 (Berkeley) 1/21/94
// $OpenBSD: signal.h,v 1.9 2016/05/10 18:39:42 deraadt Exp $
// $NetBSD: signal.h,v 1.2 2003/04/28 23:16:17 bjh21 Exp $
// Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
// All rights reserved.
// $OpenBSD: signal.h,v 1.2 2017/03/12 17:57:12 kettenis Exp $
// Copyright (c) 1992, 1993
// The Regents of the University of California. All rights reserved.
//
// This code is derived from software contributed to Berkeley by
// Ralph Campbell.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
@ -1358,7 +1357,7 @@ type Tm = struct {
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// @(#)signal.h 7.16 (Berkeley) 3/17/91
// @(#)signal.h 8.1 (Berkeley) 6/10/93
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
@ -1395,7 +1394,7 @@ type Tm = struct {
//
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
type Sig_atomic_t = int32 /* signal.h:40:13 */
type Sig_atomic_t = int32 /* signal.h:41:13 */
// Information pushed on stack when a signal is delivered.
// This is used by the kernel to restore state following
@ -1403,37 +1402,15 @@ type Sig_atomic_t = int32 /* signal.h:40:13 */
// to the handler to allow it to restore state properly if
// a non-standard exit is performed.
type Sigcontext = struct {
Fsc_rdi int64
Fsc_rsi int64
Fsc_rdx int64
Fsc_rcx int64
Fsc_r8 int64
Fsc_r9 int64
Fsc_r10 int64
Fsc_r11 int64
Fsc_r12 int64
Fsc_r13 int64
Fsc_r14 int64
Fsc_r15 int64
Fsc_rbp int64
Fsc_rbx int64
Fsc_rax int64
Fsc_gs int64
Fsc_fs int64
Fsc_es int64
Fsc_ds int64
Fsc_trapno int64
Fsc_err int64
Fsc_rip int64
Fsc_cs int64
Fsc_rflags int64
Fsc_rsp int64
Fsc_ss int64
Fsc_fpstate uintptr
F__sc_unused int32
Fsc_mask int32
Fsc_sp uint64
Fsc_lr uint64
Fsc_elr uint64
Fsc_spsr uint64
Fsc_x [30]uint64
Fsc_cookie int64
} /* signal.h:54:1 */
} /* signal.h:51:1 */
// Language spec says we must list exactly one parameter, even though we
// actually supply three. Ugh!
@ -1514,7 +1491,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
@ -1727,7 +1704,8 @@ type Ucontext_t = Sigcontext /* signal.h:190:27 */
// Common definitions for limits.h.
// Legacy
// $OpenBSD: limits.h,v 1.6 2015/04/30 13:42:08 millert Exp $
// $OpenBSD: limits.h,v 1.1 2016/12/17 23:38:33 patrick Exp $
// $NetBSD: limits.h,v 1.4 2003/04/28 23:16:18 bjh21 Exp $
// Copyright (c) 1988 The Regents of the University of California.
// All rights reserved.
@ -1756,7 +1734,7 @@ type Ucontext_t = Sigcontext /* signal.h:190:27 */
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// @(#)limits.h 7.2 (Berkeley) 6/28/90
// from: @(#)limits.h 7.2 (Berkeley) 6/28/90
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
@ -1801,7 +1779,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 +1883,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 $
// -

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>
@ -615,9 +631,9 @@ type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
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.
//
@ -723,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.
//
@ -775,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.
//
@ -952,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 */
@ -1077,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
//