chore(deps): Update sqlite dependencies
This commit is contained in:
6
vendor/modernc.org/libc/poll/capi_darwin_amd64.go
generated
vendored
6
vendor/modernc.org/libc/poll/capi_darwin_amd64.go
generated
vendored
@ -1,5 +1,7 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_darwin_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_darwin_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
6
vendor/modernc.org/libc/poll/capi_darwin_arm64.go
generated
vendored
6
vendor/modernc.org/libc/poll/capi_darwin_arm64.go
generated
vendored
@ -1,5 +1,7 @@
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
2
vendor/modernc.org/libc/poll/capi_freebsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_freebsd_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
2
vendor/modernc.org/libc/poll/capi_linux_amd64.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_linux_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
2
vendor/modernc.org/libc/poll/capi_netbsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_netbsd_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
54
vendor/modernc.org/libc/poll/poll_darwin_amd64.go
generated
vendored
54
vendor/modernc.org/libc/poll/poll_darwin_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_darwin_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_darwin_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
@ -15,31 +15,31 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
POLLATTRIB = 0x0400
|
||||
POLLERR = 0x0008
|
||||
POLLEXTEND = 0x0200
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLNLINK = 0x0800
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLSTANDARD = 511
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRITE = 0x1000
|
||||
POLLWRNORM = 4
|
||||
X_CDEFS_H_ = 0
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
POLLATTRIB = 0x0400 // poll.h:81:1:
|
||||
POLLERR = 0x0008 // poll.h:89:1:
|
||||
POLLEXTEND = 0x0200 // poll.h:80:1:
|
||||
POLLHUP = 0x0010 // poll.h:90:1:
|
||||
POLLIN = 0x0001 // poll.h:68:1:
|
||||
POLLNLINK = 0x0800 // poll.h:82:1:
|
||||
POLLNVAL = 0x0020 // poll.h:91:1:
|
||||
POLLOUT = 0x0004 // poll.h:70:1:
|
||||
POLLPRI = 0x0002 // poll.h:69:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:73:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:71:1:
|
||||
POLLSTANDARD = 511 // poll.h:93:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:74:1:
|
||||
POLLWRITE = 0x1000 // poll.h:83:1:
|
||||
POLLWRNORM = 4 // poll.h:72:1:
|
||||
X_CDEFS_H_ = 0 // cdefs.h:68:1:
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_Nonnull = 0 // cdefs.h:243:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:246:1:
|
||||
X_Nullable = 0 // cdefs.h:240:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:58:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -60,6 +60,8 @@ type X__uint128_t = struct {
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
58
vendor/modernc.org/libc/poll/poll_darwin_arm64.go
generated
vendored
58
vendor/modernc.org/libc/poll/poll_darwin_arm64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
@ -15,33 +15,33 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
POLLATTRIB = 0x0400
|
||||
POLLERR = 0x0008
|
||||
POLLEXTEND = 0x0200
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLNLINK = 0x0800
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLSTANDARD = 511
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRITE = 0x1000
|
||||
POLLWRNORM = 4
|
||||
X_CDEFS_H_ = 0
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1
|
||||
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
|
||||
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
POLLATTRIB = 0x0400 // poll.h:81:1:
|
||||
POLLERR = 0x0008 // poll.h:89:1:
|
||||
POLLEXTEND = 0x0200 // poll.h:80:1:
|
||||
POLLHUP = 0x0010 // poll.h:90:1:
|
||||
POLLIN = 0x0001 // poll.h:68:1:
|
||||
POLLNLINK = 0x0800 // poll.h:82:1:
|
||||
POLLNVAL = 0x0020 // poll.h:91:1:
|
||||
POLLOUT = 0x0004 // poll.h:70:1:
|
||||
POLLPRI = 0x0002 // poll.h:69:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:73:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:71:1:
|
||||
POLLSTANDARD = 511 // poll.h:93:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:74:1:
|
||||
POLLWRITE = 0x1000 // poll.h:83:1:
|
||||
POLLWRNORM = 4 // poll.h:72:1:
|
||||
X_CDEFS_H_ = 0 // cdefs.h:68:1:
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
|
||||
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
|
||||
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_Nonnull = 0 // cdefs.h:268:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:271:1:
|
||||
X_Nullable = 0 // cdefs.h:265:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:58:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -62,6 +62,8 @@ type X__uint128_t = struct {
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
77
vendor/modernc.org/libc/poll/poll_freebsd_amd64.go
generated
vendored
77
vendor/modernc.org/libc/poll/poll_freebsd_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
@ -15,37 +15,37 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
INFTIM = -1
|
||||
POLLERR = 0x0008
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLINIGNEOF = 0x2000
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLSTANDARD = 511
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRNORM = 4
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_MACHINE__LIMITS_H_ = 0
|
||||
X_MACHINE__TYPES_H_ = 0
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_SIGSET_T_DECLARED = 0
|
||||
X_SIG_MAXSIG = 128
|
||||
X_SIG_WORDS = 4
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
X_SYS_TIMESPEC_H_ = 0
|
||||
X_SYS__SIGSET_H_ = 0
|
||||
X_SYS__TIMESPEC_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T_DECLARED = 0
|
||||
Unix = 1
|
||||
INFTIM = -1 // poll.h:94:1:
|
||||
POLLERR = 0x0008 // poll.h:80:1:
|
||||
POLLHUP = 0x0010 // poll.h:81:1:
|
||||
POLLIN = 0x0001 // poll.h:63:1:
|
||||
POLLINIGNEOF = 0x2000 // poll.h:73:1:
|
||||
POLLNVAL = 0x0020 // poll.h:82:1:
|
||||
POLLOUT = 0x0004 // poll.h:65:1:
|
||||
POLLPRI = 0x0002 // poll.h:64:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:68:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:66:1:
|
||||
POLLSTANDARD = 511 // poll.h:86:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:69:1:
|
||||
POLLWRNORM = 4 // poll.h:67:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_SIGSET_T_DECLARED = 0 // poll.h:107:1:
|
||||
X_SIG_MAXSIG = 128 // _sigset.h:47:1:
|
||||
X_SIG_WORDS = 4 // _sigset.h:46:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:34:1:
|
||||
X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1:
|
||||
X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1:
|
||||
X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
X_TIME_T_DECLARED = 0 // _timespec.h:43:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -313,12 +313,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// This file is intended to be compatible with the traditional poll.h.
|
||||
|
||||
type Nfds_t = uint32 /* poll.h:42:22 */
|
||||
@ -590,8 +593,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
|
||||
@ -624,8 +627,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
|
||||
// mbstate_t is an opaque object to keep conversion state during multibyte
|
||||
// stream conversions.
|
||||
type X__mbstate_t = struct {
|
||||
_ [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:124:3 */
|
||||
|
||||
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
|
||||
|
47
vendor/modernc.org/libc/poll/poll_linux_386.go
generated
vendored
47
vendor/modernc.org/libc/poll/poll_linux_386.go
generated
vendored
@ -29,6 +29,7 @@ const (
|
||||
X_DEFAULT_SOURCE = 1
|
||||
X_FEATURES_H = 1
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_ILP32 = 1
|
||||
X_POSIX_C_SOURCE = 200809
|
||||
X_POSIX_SOURCE = 1
|
||||
X_STDC_PREDEF_H = 1
|
||||
@ -49,7 +50,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Compatibility definitions for System V `poll' interface.
|
||||
// Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -64,9 +65,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -81,7 +82,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// These are defined by the user (or the compiler)
|
||||
// to specify the desired environment:
|
||||
@ -89,6 +90,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// __STRICT_ANSI__ ISO Standard C.
|
||||
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
|
||||
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
|
||||
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
|
||||
// __STDC_WANT_LIB_EXT2__
|
||||
// Extensions to ISO C99 from TR 27431-2:2010.
|
||||
// __STDC_WANT_IEC_60559_BFP_EXT__
|
||||
@ -209,6 +211,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
|
||||
// define _DEFAULT_SOURCE.
|
||||
|
||||
// This is to enable the ISO C2X extension.
|
||||
|
||||
// This is to enable the ISO C11 extension.
|
||||
|
||||
// This is to enable the ISO C99 extension.
|
||||
@ -231,9 +235,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// compatibility with various implementations of <cstdio>, this test
|
||||
// must consider only the value of __cplusplus when compiling C++.
|
||||
|
||||
// GNU formerly extended the scanf functions with modified format
|
||||
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
|
||||
// input using malloc. This extension conflicts with ISO C99, which
|
||||
// defines %a as a standalone format specifier that reads a floating-
|
||||
// point number; moreover, POSIX.1-2008 provides the same feature
|
||||
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
|
||||
//
|
||||
// We now follow C99 unless GNU extensions are active and the compiler
|
||||
// is specifically in C89 or C++98 mode (strict or not). For
|
||||
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
|
||||
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
|
||||
// old extension.
|
||||
|
||||
// Get definitions of __STDC_* predefined macros, if the compiler has
|
||||
// not preincluded this header automatically.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -248,7 +265,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This macro indicates that the installed library is the GNU C Library.
|
||||
// For historic reasons the value now is 6 and this will stay from now
|
||||
@ -261,7 +278,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// these macros to test for features in specific releases.
|
||||
|
||||
// This is here only because every header file already includes this one.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -276,7 +293,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// We are almost always included from features.h.
|
||||
|
||||
@ -391,7 +408,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// semantics.
|
||||
//
|
||||
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
|
||||
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
|
||||
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
|
||||
// __GNUC_GNU_INLINE__ macro definitions.
|
||||
|
||||
// GCC 4.3 and above allow passing all anonymous arguments of an
|
||||
@ -412,10 +429,14 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// argument to strncpy and strncat, as the char array is not necessarily
|
||||
// a NUL-terminated string.
|
||||
|
||||
// Undefine (also defined in libc-symbols.h).
|
||||
// Copies attributes from the declaration or type referenced by
|
||||
// the argument.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// Properties of long double type. ldbl-96 version.
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -430,7 +451,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// long double is distinct from double, so there is nothing to
|
||||
// define here.
|
||||
@ -468,7 +489,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// every time called, usually setting errno to ENOSYS.
|
||||
|
||||
// Get the platform dependent bits of `poll'.
|
||||
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -483,7 +504,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Event types that can be polled for. These bits may be set in `events'
|
||||
// to indicate the interesting event types; they will appear in `revents'
|
||||
|
92
vendor/modernc.org/libc/poll/poll_linux_amd64.go
generated
vendored
92
vendor/modernc.org/libc/poll/poll_linux_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
@ -15,28 +15,28 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
POLLERR = 0x008
|
||||
POLLHUP = 0x010
|
||||
POLLIN = 0x001
|
||||
POLLNVAL = 0x020
|
||||
POLLOUT = 0x004
|
||||
POLLPRI = 0x002
|
||||
POLLRDBAND = 0x080
|
||||
POLLRDNORM = 0x040
|
||||
POLLWRBAND = 0x200
|
||||
POLLWRNORM = 0x100
|
||||
X_ATFILE_SOURCE = 1
|
||||
X_DEFAULT_SOURCE = 1
|
||||
X_FEATURES_H = 1
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_POSIX_C_SOURCE = 200809
|
||||
X_POSIX_SOURCE = 1
|
||||
X_STDC_PREDEF_H = 1
|
||||
X_SYS_CDEFS_H = 1
|
||||
X_SYS_POLL_H = 1
|
||||
Linux = 1
|
||||
Unix = 1
|
||||
POLLERR = 0x008 // poll.h:47:1:
|
||||
POLLHUP = 0x010 // poll.h:48:1:
|
||||
POLLIN = 0x001 // poll.h:25:1:
|
||||
POLLNVAL = 0x020 // poll.h:49:1:
|
||||
POLLOUT = 0x004 // poll.h:27:1:
|
||||
POLLPRI = 0x002 // poll.h:26:1:
|
||||
POLLRDBAND = 0x080 // poll.h:32:1:
|
||||
POLLRDNORM = 0x040 // poll.h:31:1:
|
||||
POLLWRBAND = 0x200 // poll.h:34:1:
|
||||
POLLWRNORM = 0x100 // poll.h:33:1:
|
||||
X_ATFILE_SOURCE = 1 // features.h:342:1:
|
||||
X_DEFAULT_SOURCE = 1 // features.h:227:1:
|
||||
X_FEATURES_H = 1 // features.h:19:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:284:1:
|
||||
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
|
||||
X_POSIX_SOURCE = 1 // features.h:279:1:
|
||||
X_STDC_PREDEF_H = 1 // <predefined>:162:1:
|
||||
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
|
||||
X_SYS_POLL_H = 1 // poll.h:20:1:
|
||||
Linux = 1 // <predefined>:231:1:
|
||||
Unix = 1 // <predefined>:177:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -58,7 +58,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Compatibility definitions for System V `poll' interface.
|
||||
// Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -73,9 +73,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -90,7 +90,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// These are defined by the user (or the compiler)
|
||||
// to specify the desired environment:
|
||||
@ -98,6 +98,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// __STRICT_ANSI__ ISO Standard C.
|
||||
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
|
||||
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
|
||||
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
|
||||
// __STDC_WANT_LIB_EXT2__
|
||||
// Extensions to ISO C99 from TR 27431-2:2010.
|
||||
// __STDC_WANT_IEC_60559_BFP_EXT__
|
||||
@ -218,6 +219,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
|
||||
// define _DEFAULT_SOURCE.
|
||||
|
||||
// This is to enable the ISO C2X extension.
|
||||
|
||||
// This is to enable the ISO C11 extension.
|
||||
|
||||
// This is to enable the ISO C99 extension.
|
||||
@ -240,9 +243,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// compatibility with various implementations of <cstdio>, this test
|
||||
// must consider only the value of __cplusplus when compiling C++.
|
||||
|
||||
// GNU formerly extended the scanf functions with modified format
|
||||
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
|
||||
// input using malloc. This extension conflicts with ISO C99, which
|
||||
// defines %a as a standalone format specifier that reads a floating-
|
||||
// point number; moreover, POSIX.1-2008 provides the same feature
|
||||
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
|
||||
//
|
||||
// We now follow C99 unless GNU extensions are active and the compiler
|
||||
// is specifically in C89 or C++98 mode (strict or not). For
|
||||
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
|
||||
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
|
||||
// old extension.
|
||||
|
||||
// Get definitions of __STDC_* predefined macros, if the compiler has
|
||||
// not preincluded this header automatically.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -257,7 +273,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This macro indicates that the installed library is the GNU C Library.
|
||||
// For historic reasons the value now is 6 and this will stay from now
|
||||
@ -270,7 +286,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// these macros to test for features in specific releases.
|
||||
|
||||
// This is here only because every header file already includes this one.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -285,7 +301,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// We are almost always included from features.h.
|
||||
|
||||
@ -400,7 +416,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// semantics.
|
||||
//
|
||||
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
|
||||
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
|
||||
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
|
||||
// __GNUC_GNU_INLINE__ macro definitions.
|
||||
|
||||
// GCC 4.3 and above allow passing all anonymous arguments of an
|
||||
@ -421,11 +437,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// argument to strncpy and strncat, as the char array is not necessarily
|
||||
// a NUL-terminated string.
|
||||
|
||||
// Undefine (also defined in libc-symbols.h).
|
||||
// Copies attributes from the declaration or type referenced by
|
||||
// the argument.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// Both x86-64 and x32 use the 64-bit system call interface.
|
||||
// Properties of long double type. ldbl-96 version.
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -440,7 +460,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// long double is distinct from double, so there is nothing to
|
||||
// define here.
|
||||
@ -478,7 +498,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// every time called, usually setting errno to ENOSYS.
|
||||
|
||||
// Get the platform dependent bits of `poll'.
|
||||
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -493,7 +513,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Event types that can be polled for. These bits may be set in `events'
|
||||
// to indicate the interesting event types; they will appear in `revents'
|
||||
|
52
vendor/modernc.org/libc/poll/poll_linux_arm.go
generated
vendored
52
vendor/modernc.org/libc/poll/poll_linux_arm.go
generated
vendored
@ -48,7 +48,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Compatibility definitions for System V `poll' interface.
|
||||
// Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -63,9 +63,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -80,7 +80,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// These are defined by the user (or the compiler)
|
||||
// to specify the desired environment:
|
||||
@ -88,6 +88,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// __STRICT_ANSI__ ISO Standard C.
|
||||
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
|
||||
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
|
||||
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
|
||||
// __STDC_WANT_LIB_EXT2__
|
||||
// Extensions to ISO C99 from TR 27431-2:2010.
|
||||
// __STDC_WANT_IEC_60559_BFP_EXT__
|
||||
@ -208,6 +209,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
|
||||
// define _DEFAULT_SOURCE.
|
||||
|
||||
// This is to enable the ISO C2X extension.
|
||||
|
||||
// This is to enable the ISO C11 extension.
|
||||
|
||||
// This is to enable the ISO C99 extension.
|
||||
@ -230,9 +233,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// compatibility with various implementations of <cstdio>, this test
|
||||
// must consider only the value of __cplusplus when compiling C++.
|
||||
|
||||
// GNU formerly extended the scanf functions with modified format
|
||||
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
|
||||
// input using malloc. This extension conflicts with ISO C99, which
|
||||
// defines %a as a standalone format specifier that reads a floating-
|
||||
// point number; moreover, POSIX.1-2008 provides the same feature
|
||||
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
|
||||
//
|
||||
// We now follow C99 unless GNU extensions are active and the compiler
|
||||
// is specifically in C89 or C++98 mode (strict or not). For
|
||||
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
|
||||
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
|
||||
// old extension.
|
||||
|
||||
// Get definitions of __STDC_* predefined macros, if the compiler has
|
||||
// not preincluded this header automatically.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -247,7 +263,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This macro indicates that the installed library is the GNU C Library.
|
||||
// For historic reasons the value now is 6 and this will stay from now
|
||||
@ -260,7 +276,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// these macros to test for features in specific releases.
|
||||
|
||||
// This is here only because every header file already includes this one.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -275,7 +291,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// We are almost always included from features.h.
|
||||
|
||||
@ -390,7 +406,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// semantics.
|
||||
//
|
||||
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
|
||||
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
|
||||
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
|
||||
// __GNUC_GNU_INLINE__ macro definitions.
|
||||
|
||||
// GCC 4.3 and above allow passing all anonymous arguments of an
|
||||
@ -411,7 +427,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// argument to strncpy and strncat, as the char array is not necessarily
|
||||
// a NUL-terminated string.
|
||||
|
||||
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||
// Undefine (also defined in libc-symbols.h).
|
||||
// Copies attributes from the declaration or type referenced by
|
||||
// the argument.
|
||||
|
||||
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -426,10 +446,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Properties of long double type.
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -444,7 +464,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This header is included by <sys/cdefs.h>.
|
||||
//
|
||||
@ -498,7 +518,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// every time called, usually setting errno to ENOSYS.
|
||||
|
||||
// Get the platform dependent bits of `poll'.
|
||||
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -513,7 +533,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Event types that can be polled for. These bits may be set in `events'
|
||||
// to indicate the interesting event types; they will appear in `revents'
|
||||
@ -537,4 +557,4 @@ type Pollfd = struct {
|
||||
|
||||
// Define some inlines helping to catch common problems.
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
var _ uint8 /* gen.c:2:13: */
|
||||
|
56
vendor/modernc.org/libc/poll/poll_linux_arm64.go
generated
vendored
56
vendor/modernc.org/libc/poll/poll_linux_arm64.go
generated
vendored
@ -58,7 +58,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Compatibility definitions for System V `poll' interface.
|
||||
// Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -73,9 +73,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -90,7 +90,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// These are defined by the user (or the compiler)
|
||||
// to specify the desired environment:
|
||||
@ -98,6 +98,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// __STRICT_ANSI__ ISO Standard C.
|
||||
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
|
||||
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
|
||||
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
|
||||
// __STDC_WANT_LIB_EXT2__
|
||||
// Extensions to ISO C99 from TR 27431-2:2010.
|
||||
// __STDC_WANT_IEC_60559_BFP_EXT__
|
||||
@ -218,6 +219,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
|
||||
// define _DEFAULT_SOURCE.
|
||||
|
||||
// This is to enable the ISO C2X extension.
|
||||
|
||||
// This is to enable the ISO C11 extension.
|
||||
|
||||
// This is to enable the ISO C99 extension.
|
||||
@ -240,9 +243,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// compatibility with various implementations of <cstdio>, this test
|
||||
// must consider only the value of __cplusplus when compiling C++.
|
||||
|
||||
// GNU formerly extended the scanf functions with modified format
|
||||
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
|
||||
// input using malloc. This extension conflicts with ISO C99, which
|
||||
// defines %a as a standalone format specifier that reads a floating-
|
||||
// point number; moreover, POSIX.1-2008 provides the same feature
|
||||
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
|
||||
//
|
||||
// We now follow C99 unless GNU extensions are active and the compiler
|
||||
// is specifically in C89 or C++98 mode (strict or not). For
|
||||
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
|
||||
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
|
||||
// old extension.
|
||||
|
||||
// Get definitions of __STDC_* predefined macros, if the compiler has
|
||||
// not preincluded this header automatically.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -257,7 +273,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This macro indicates that the installed library is the GNU C Library.
|
||||
// For historic reasons the value now is 6 and this will stay from now
|
||||
@ -270,7 +286,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// these macros to test for features in specific releases.
|
||||
|
||||
// This is here only because every header file already includes this one.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -285,7 +301,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// We are almost always included from features.h.
|
||||
|
||||
@ -400,7 +416,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// semantics.
|
||||
//
|
||||
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
|
||||
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
|
||||
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
|
||||
// __GNUC_GNU_INLINE__ macro definitions.
|
||||
|
||||
// GCC 4.3 and above allow passing all anonymous arguments of an
|
||||
@ -421,9 +437,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// argument to strncpy and strncat, as the char array is not necessarily
|
||||
// a NUL-terminated string.
|
||||
|
||||
// Undefine (also defined in libc-symbols.h).
|
||||
// Copies attributes from the declaration or type referenced by
|
||||
// the argument.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
//
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -438,10 +458,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Properties of long double type. ldbl-128 version.
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -456,7 +476,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// long double is distinct from double, so there is nothing to
|
||||
// define here.
|
||||
@ -490,7 +510,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
//
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -505,7 +525,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This file is automatically generated.
|
||||
// It defines a symbol `__stub_FUNCTION' for each function
|
||||
@ -513,7 +533,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// every time called, usually setting errno to ENOSYS.
|
||||
|
||||
// Get the platform dependent bits of `poll'.
|
||||
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -528,7 +548,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Event types that can be polled for. These bits may be set in `events'
|
||||
// to indicate the interesting event types; they will appear in `revents'
|
||||
@ -552,4 +572,4 @@ type Pollfd = struct {
|
||||
|
||||
// Define some inlines helping to catch common problems.
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
var _ uint8 /* gen.c:2:13: */
|
||||
|
6
vendor/modernc.org/libc/poll/poll_linux_s390x.go
generated
vendored
6
vendor/modernc.org/libc/poll/poll_linux_s390x.go
generated
vendored
@ -433,7 +433,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// array_name[restrict]
|
||||
// GCC 3.1 supports this.
|
||||
|
||||
// Describes a char array whose address can safely be passed as the first
|
||||
// argument to strncpy and strncat, as the char array is not necessarily
|
||||
// a NUL-terminated string.
|
||||
|
||||
// Undefine (also defined in libc-symbols.h).
|
||||
// Copies attributes from the declaration or type referenced by
|
||||
// the argument.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
|
54
vendor/modernc.org/libc/poll/poll_netbsd_amd64.go
generated
vendored
54
vendor/modernc.org/libc/poll/poll_netbsd_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo poll/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 poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/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 poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
@ -15,28 +15,28 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
INFTIM = -1
|
||||
POLLERR = 0x0008
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRNORM = 4
|
||||
X_AMD64_INT_TYPES_H_ = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_NETBSD_SOURCE = 1
|
||||
X_SYS_CDEFS_ELF_H_ = 0
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_COMMON_ANSI_H_ = 0
|
||||
X_SYS_COMMON_INT_TYPES_H_ = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
X_SYS_SIGTYPES_H_ = 0
|
||||
X_X86_64_CDEFS_H_ = 0
|
||||
INFTIM = -1 // poll.h:67:1:
|
||||
POLLERR = 0x0008 // poll.h:59:1:
|
||||
POLLHUP = 0x0010 // poll.h:60:1:
|
||||
POLLIN = 0x0001 // poll.h:48:1:
|
||||
POLLNVAL = 0x0020 // poll.h:61:1:
|
||||
POLLOUT = 0x0004 // poll.h:50:1:
|
||||
POLLPRI = 0x0002 // poll.h:49:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:53:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:51:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:54:1:
|
||||
POLLWRNORM = 4 // poll.h:52:1:
|
||||
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:268:1:
|
||||
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
|
||||
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
|
||||
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
|
||||
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:33:1:
|
||||
X_SYS_SIGTYPES_H_ = 0 // sigtypes.h:40:1:
|
||||
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -338,10 +338,10 @@ type Sigset_t = struct{ F__bits [4]X__uint32_t } /* sigtypes.h:62:3 */
|
||||
// Macro for manipulating signal masks.
|
||||
|
||||
type Sigaltstack = struct {
|
||||
Fss_sp uintptr
|
||||
Fss_size Size_t
|
||||
Fss_flags int32
|
||||
_ [4]byte
|
||||
Fss_sp uintptr
|
||||
Fss_size Size_t
|
||||
Fss_flags int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* sigtypes.h:108:9 */
|
||||
|
||||
// Macro for manipulating signal masks.
|
||||
|
Reference in New Issue
Block a user