chore(deps): Update sqlite dependencies

This commit is contained in:
TwiN
2022-12-01 20:19:56 -05:00
parent 080563bd4f
commit cdec353744
564 changed files with 583632 additions and 1166555 deletions

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo termios/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 termios/termios_linux_amd64.go -pkgname termios', DO NOT EDIT.
// Code generated by 'ccgo termios/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 termios/termios_linux_amd64.go -pkgname termios', DO NOT EDIT.
package termios
@ -15,188 +15,190 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
B0 = 0000000
B1000000 = 0010010
B110 = 0000003
B115200 = 0010002
B1152000 = 0010011
B1200 = 0000011
B134 = 0000004
B150 = 0000005
B1500000 = 0010012
B1800 = 0000012
B19200 = 0000016
B200 = 0000006
B2000000 = 0010013
B230400 = 0010003
B2400 = 0000013
B2500000 = 0010014
B300 = 0000007
B3000000 = 0010015
B3500000 = 0010016
B38400 = 0000017
B4000000 = 0010017
B460800 = 0010004
B4800 = 0000014
B50 = 0000001
B500000 = 0010005
B57600 = 0010001
B576000 = 0010006
B600 = 0000010
B75 = 0000002
B921600 = 0010007
B9600 = 0000015
BRKINT = 0000002
BS0 = 0000000
BS1 = 0020000
BSDLY = 0020000
CBAUD = 0010017
CBAUDEX = 0010000
CBRK = 0
CDISCARD = 15
CDSUSP = 25
CEOF = 4
CEOL = 0
CEOT = 4
CERASE = 0177
CFLUSH = 15
CIBAUD = 002003600000
CINTR = 3
CKILL = 21
CLNEXT = 22
CLOCAL = 0004000
CMIN = 1
CMSPAR = 010000000000
CQUIT = 034
CR0 = 0000000
CR1 = 0001000
CR2 = 0002000
CR3 = 0003000
CRDLY = 0003000
CREAD = 0000200
CREPRINT = 18
CRPRNT = 18
CRTSCTS = 020000000000
CS5 = 0000000
CS6 = 0000020
CS7 = 0000040
CS8 = 0000060
CSIZE = 0000060
CSTART = 17
CSTATUS = 0
CSTOP = 19
CSTOPB = 0000100
CSUSP = 26
CTIME = 0
CWERASE = 23
ECHO = 0000010
ECHOCTL = 0001000
ECHOE = 0000020
ECHOK = 0000040
ECHOKE = 0004000
ECHONL = 0000100
ECHOPRT = 0002000
EXTA = 14
EXTB = 15
EXTPROC = 0200000
FF0 = 0000000
FF1 = 0100000
FFDLY = 0100000
FLUSHO = 0010000
HUPCL = 0002000
ICANON = 0000002
ICRNL = 0000400
IEXTEN = 0100000
IGNBRK = 0000001
IGNCR = 0000200
IGNPAR = 0000004
IMAXBEL = 0020000
INLCR = 0000100
INPCK = 0000020
ISIG = 0000001
ISTRIP = 0000040
IUCLC = 0001000
IUTF8 = 0040000
IXANY = 0004000
IXOFF = 0010000
IXON = 0002000
NCCS = 32
NL0 = 0000000
NL1 = 0000400
NLDLY = 0000400
NOFLSH = 0000200
OCRNL = 0000010
OFDEL = 0000200
OFILL = 0000100
OLCUC = 0000002
ONLCR = 0000004
ONLRET = 0000040
ONOCR = 0000020
OPOST = 0000001
PARENB = 0000400
PARMRK = 0000010
PARODD = 0001000
PENDIN = 0040000
TAB0 = 0000000
TAB1 = 0004000
TAB2 = 0010000
TAB3 = 0014000
TABDLY = 0014000
TCIFLUSH = 0
TCIOFF = 2
TCIOFLUSH = 2
TCION = 3
TCOFLUSH = 1
TCOOFF = 0
TCOON = 1
TCSADRAIN = 1
TCSAFLUSH = 2
TCSANOW = 0
TOSTOP = 0000400
TTYDEF_CFLAG = 1440
TTYDEF_IFLAG = 11554
TTYDEF_LFLAG = 35355
TTYDEF_OFLAG = 6149
TTYDEF_SPEED = 13
VDISCARD = 13
VEOF = 4
VEOL = 11
VEOL2 = 16
VERASE = 2
VINTR = 0
VKILL = 3
VLNEXT = 15
VMIN = 6
VQUIT = 1
VREPRINT = 12
VSTART = 8
VSTOP = 9
VSUSP = 10
VSWTC = 7
VT0 = 0000000
VT1 = 0040000
VTDLY = 0040000
VTIME = 5
VWERASE = 14
XCASE = 0000004
XTABS = 0014000
X_ATFILE_SOURCE = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_DEFAULT_SOURCE = 1
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
X_HAVE_STRUCT_TERMIOS_C_ISPEED = 1
X_HAVE_STRUCT_TERMIOS_C_OSPEED = 1
X_LP64 = 1
X_POSIX_C_SOURCE = 200809
X_POSIX_SOURCE = 1
X_STDC_PREDEF_H = 1
X_SYS_CDEFS_H = 1
X_SYS_TTYDEFAULTS_H_ = 0
X_TERMIOS_H = 1
Linux = 1
Unix = 1
B0 = 0000000 // termios.h:33:1:
B1000000 = 0010010 // termios-baud.h:40:1:
B110 = 0000003 // termios.h:36:1:
B115200 = 0010002 // termios-baud.h:34:1:
B1152000 = 0010011 // termios-baud.h:41:1:
B1200 = 0000011 // termios.h:42:1:
B134 = 0000004 // termios.h:37:1:
B150 = 0000005 // termios.h:38:1:
B1500000 = 0010012 // termios-baud.h:42:1:
B1800 = 0000012 // termios.h:43:1:
B19200 = 0000016 // termios.h:47:1:
B200 = 0000006 // termios.h:39:1:
B2000000 = 0010013 // termios-baud.h:43:1:
B230400 = 0010003 // termios-baud.h:35:1:
B2400 = 0000013 // termios.h:44:1:
B2500000 = 0010014 // termios-baud.h:44:1:
B300 = 0000007 // termios.h:40:1:
B3000000 = 0010015 // termios-baud.h:45:1:
B3500000 = 0010016 // termios-baud.h:46:1:
B38400 = 0000017 // termios.h:48:1:
B4000000 = 0010017 // termios-baud.h:47:1:
B460800 = 0010004 // termios-baud.h:36:1:
B4800 = 0000014 // termios.h:45:1:
B50 = 0000001 // termios.h:34:1:
B500000 = 0010005 // termios-baud.h:37:1:
B57600 = 0010001 // termios-baud.h:33:1:
B576000 = 0010006 // termios-baud.h:38:1:
B600 = 0000010 // termios.h:41:1:
B75 = 0000002 // termios.h:35:1:
B921600 = 0010007 // termios-baud.h:39:1:
B9600 = 0000015 // termios.h:46:1:
BRKINT = 0000002 // termios-c_iflag.h:25:1:
BS0 = 0000000 // termios-c_oflag.h:48:1:
BS1 = 0020000 // termios-c_oflag.h:49:1:
BSDLY = 0020000 // termios-c_oflag.h:47:1:
CBAUD = 000000010017 // termios-baud.h:24:1:
CBAUDEX = 000000010000 // termios-baud.h:25:1:
CBRK = 0 // ttydefaults.h:83:1:
CDISCARD = 15 // ttydefaults.h:78:1:
CDSUSP = 25 // ttydefaults.h:74:1:
CEOF = 4 // ttydefaults.h:56:1:
CEOL = 0 // ttydefaults.h:60:1:
CEOT = 4 // ttydefaults.h:81:1:
CERASE = 0177 // ttydefaults.h:62:1:
CFLUSH = 15 // ttydefaults.h:85:1:
CIBAUD = 002003600000 // termios-baud.h:27:1:
CINTR = 3 // ttydefaults.h:63:1:
CKILL = 21 // ttydefaults.h:69:1:
CLNEXT = 22 // ttydefaults.h:77:1:
CLOCAL = 0004000 // termios-c_cflag.h:34:1:
CMIN = 1 // ttydefaults.h:70:1:
CMSPAR = 010000000000 // termios-baud.h:28:1:
CQUIT = 034 // ttydefaults.h:71:1:
CR0 = 0000000 // termios-c_oflag.h:38:1:
CR1 = 0001000 // termios-c_oflag.h:39:1:
CR2 = 0002000 // termios-c_oflag.h:40:1:
CR3 = 0003000 // termios-c_oflag.h:41:1:
CRDLY = 0003000 // termios-c_oflag.h:37:1:
CREAD = 0000200 // termios-c_cflag.h:30:1:
CREPRINT = 18 // ttydefaults.h:80:1:
CRPRNT = 18 // ttydefaults.h:84:1:
CRTSCTS = 020000000000 // termios-baud.h:29:1:
CS5 = 0000000 // termios-c_cflag.h:25:1:
CS6 = 0000020 // termios-c_cflag.h:26:1:
CS7 = 0000040 // termios-c_cflag.h:27:1:
CS8 = 0000060 // termios-c_cflag.h:28:1:
CSIZE = 0000060 // termios-c_cflag.h:24:1:
CSTART = 17 // ttydefaults.h:75:1:
CSTATUS = 0 // ttydefaults.h:67:1:
CSTOP = 19 // ttydefaults.h:76:1:
CSTOPB = 0000100 // termios-c_cflag.h:29:1:
CSUSP = 26 // ttydefaults.h:72:1:
CTIME = 0 // ttydefaults.h:73:1:
CWERASE = 23 // ttydefaults.h:79:1:
ECHO = 0000010 // termios-c_lflag.h:29:1:
ECHOCTL = 0001000 // termios-c_lflag.h:37:1:
ECHOE = 0000020 // termios-c_lflag.h:30:1:
ECHOK = 0000040 // termios-c_lflag.h:32:1:
ECHOKE = 0004000 // termios-c_lflag.h:45:1:
ECHONL = 0000100 // termios-c_lflag.h:33:1:
ECHOPRT = 0002000 // termios-c_lflag.h:42:1:
EXTA = 14 // termios.h:50:1:
EXTB = 15 // termios.h:51:1:
EXTPROC = 0200000 // termios-c_lflag.h:57:1:
FF0 = 0000000 // termios-c_oflag.h:51:1:
FF1 = 0100000 // termios-c_oflag.h:52:1:
FFDLY = 0100000 // termios-c_oflag.h:50:1:
FLUSHO = 0010000 // termios-c_lflag.h:48:1:
HUPCL = 0002000 // termios-c_cflag.h:33:1:
ICANON = 0000002 // termios-c_lflag.h:25:1:
ICRNL = 0000400 // termios-c_iflag.h:32:1:
IEXTEN = 0100000 // termios-c_lflag.h:54:1:
IGNBRK = 0000001 // termios-c_iflag.h:24:1:
IGNCR = 0000200 // termios-c_iflag.h:31:1:
IGNPAR = 0000004 // termios-c_iflag.h:26:1:
IMAXBEL = 0020000 // termios-c_iflag.h:38:1:
INLCR = 0000100 // termios-c_iflag.h:30:1:
INPCK = 0000020 // termios-c_iflag.h:28:1:
ISIG = 0000001 // termios-c_lflag.h:24:1:
ISTRIP = 0000040 // termios-c_iflag.h:29:1:
IUCLC = 0001000 // termios-c_iflag.h:33:1:
IUTF8 = 0040000 // termios-c_iflag.h:40:1:
IXANY = 0004000 // termios-c_iflag.h:36:1:
IXOFF = 0010000 // termios-c_iflag.h:37:1:
IXON = 0002000 // termios-c_iflag.h:35:1:
NCCS = 32 // termios-struct.h:23:1:
NL0 = 0000000 // termios-c_oflag.h:35:1:
NL1 = 0000400 // termios-c_oflag.h:36:1:
NLDLY = 0000400 // termios-c_oflag.h:34:1:
NOFLSH = 0000200 // termios-c_lflag.h:34:1:
OCRNL = 0000010 // termios-c_oflag.h:28:1:
OFDEL = 0000200 // termios-c_oflag.h:32:1:
OFILL = 0000100 // termios-c_oflag.h:31:1:
OLCUC = 0000002 // termios-c_oflag.h:25:1:
ONLCR = 0000004 // termios-c_oflag.h:27:1:
ONLRET = 0000040 // termios-c_oflag.h:30:1:
ONOCR = 0000020 // termios-c_oflag.h:29:1:
OPOST = 0000001 // termios-c_oflag.h:24:1:
PARENB = 0000400 // termios-c_cflag.h:31:1:
PARMRK = 0000010 // termios-c_iflag.h:27:1:
PARODD = 0001000 // termios-c_cflag.h:32:1:
PENDIN = 0040000 // termios-c_lflag.h:50:1:
TAB0 = 0000000 // termios-c_oflag.h:43:1:
TAB1 = 0004000 // termios-c_oflag.h:44:1:
TAB2 = 0010000 // termios-c_oflag.h:45:1:
TAB3 = 0014000 // termios-c_oflag.h:46:1:
TABDLY = 0014000 // termios-c_oflag.h:42:1:
TCIFLUSH = 0 // termios.h:70:1:
TCIOFF = 2 // termios.h:66:1:
TCIOFLUSH = 2 // termios.h:72:1:
TCION = 3 // termios.h:67:1:
TCOFLUSH = 1 // termios.h:71:1:
TCOOFF = 0 // termios.h:64:1:
TCOON = 1 // termios.h:65:1:
TCSADRAIN = 1 // termios-tcflow.h:25:1:
TCSAFLUSH = 2 // termios-tcflow.h:26:1:
TCSANOW = 0 // termios-tcflow.h:24:1:
TIOCSER_TEMT = 0x01 // termios.h:60:1:
TOSTOP = 0000400 // termios-c_lflag.h:35:1:
TTYDEF_CFLAG = 1440 // ttydefaults.h:49:1:
TTYDEF_IFLAG = 11554 // ttydefaults.h:46:1:
TTYDEF_LFLAG = 35355 // ttydefaults.h:48:1:
TTYDEF_OFLAG = 6149 // ttydefaults.h:47:1:
TTYDEF_SPEED = 13 // ttydefaults.h:50:1:
VDISCARD = 13 // termios-c_cc.h:37:1:
VEOF = 4 // termios-c_cc.h:28:1:
VEOL = 11 // termios-c_cc.h:35:1:
VEOL2 = 16 // termios-c_cc.h:40:1:
VERASE = 2 // termios-c_cc.h:26:1:
VINTR = 0 // termios-c_cc.h:24:1:
VKILL = 3 // termios-c_cc.h:27:1:
VLNEXT = 15 // termios-c_cc.h:39:1:
VMIN = 6 // termios-c_cc.h:30:1:
VQUIT = 1 // termios-c_cc.h:25:1:
VREPRINT = 12 // termios-c_cc.h:36:1:
VSTART = 8 // termios-c_cc.h:32:1:
VSTOP = 9 // termios-c_cc.h:33:1:
VSUSP = 10 // termios-c_cc.h:34:1:
VSWTC = 7 // termios-c_cc.h:31:1:
VT0 = 0000000 // termios-c_oflag.h:56:1:
VT1 = 0040000 // termios-c_oflag.h:57:1:
VTDLY = 0040000 // termios-c_oflag.h:55:1:
VTIME = 5 // termios-c_cc.h:29:1:
VWERASE = 14 // termios-c_cc.h:38:1:
XCASE = 0000004 // termios-c_lflag.h:27:1:
XTABS = 0014000 // termios-c_oflag.h:60:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_TIME64_H = 1 // time64.h:24:1:
X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
X_BITS_TYPES_H = 1 // types.h:24: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_HAVE_STRUCT_TERMIOS_C_ISPEED = 1 // termios-struct.h:34:1:
X_HAVE_STRUCT_TERMIOS_C_OSPEED = 1 // termios-struct.h:35: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_TTYDEFAULTS_H_ = 0 // ttydefaults.h:41:1:
X_TERMIOS_H = 1 // termios.h:23:1:
Linux = 1 // <predefined>:231:1:
Unix = 1 // <predefined>:177:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -217,7 +219,7 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// 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
@ -232,11 +234,11 @@ 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/>.
// POSIX Standard: 7.1-2 General Terminal Interface <termios.h>
// 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
@ -251,7 +253,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:
@ -259,6 +261,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__
@ -379,6 +382,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.
@ -401,9 +406,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
@ -418,7 +436,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
@ -431,7 +449,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
@ -446,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/>.
// We are almost always included from features.h.
@ -561,7 +579,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
@ -582,11 +600,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
@ -601,7 +623,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.
@ -640,7 +662,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// We need `pid_t'.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// Copyright (C) 2002-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
@ -655,11 +677,11 @@ 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/>.
// Never include this file directly; use <sys/types.h> instead.
// 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
@ -674,45 +696,64 @@ 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/>.
// Determine the wordsize from the preprocessor defines.
// Both x86-64 and x32 use the 64-bit system call interface.
// Bit size of the time_t type at glibc build time, x86-64 and x32 case.
// Copyright (C) 2018-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
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// For others, time size is word size.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint64 /* types.h:33:27 */
type X__u_char = uint8 /* types.h:31:23 */
type X__u_short = uint16 /* types.h:32:28 */
type X__u_int = uint32 /* types.h:33:22 */
type X__u_long = uint64 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:43:25 */
type X__uint64_t = uint64 /* types.h:44:27 */
type X__int8_t = int8 /* types.h:37:21 */
type X__uint8_t = uint8 /* types.h:38:23 */
type X__int16_t = int16 /* types.h:39:26 */
type X__uint16_t = uint16 /* types.h:40:28 */
type X__int32_t = int32 /* types.h:41:20 */
type X__uint32_t = uint32 /* types.h:42:22 */
type X__int64_t = int64 /* types.h:44:25 */
type X__uint64_t = uint64 /* types.h:45:27 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
type X__int_least8_t = X__int8_t /* types.h:52:18 */
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
type X__quad_t = int64 /* types.h:62:18 */
type X__u_quad_t = uint64 /* types.h:63:27 */
type X__quad_t = int64 /* types.h:63:18 */
type X__u_quad_t = uint64 /* types.h:64:27 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:71:18 */
type X__uintmax_t = uint64 /* types.h:72:27 */
type X__intmax_t = int64 /* types.h:72:18 */
type X__uintmax_t = uint64 /* types.h:73:27 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -724,7 +765,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
// QUAD -- 64-bit type, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -745,7 +786,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version.
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
// Copyright (C) 2012-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
@ -760,7 +801,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
//
// 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/>.
// See <bits/types.h> for the meaning of these macros. This file exists so
// that <bits/types.h> need not vary across different GNU platforms.
@ -775,85 +816,12 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// And for __rlim_t and __rlim64_t.
// And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint64 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:166:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
// Type to represent block size.
type X__blksize_t = int64 /* types.h:172:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int64 /* types.h:177:28 */
type X__blkcnt64_t = int64 /* types.h:178:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint64 /* types.h:181:30 */
type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint64 /* types.h:185:30 */
type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int64 /* types.h:189:28 */
type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int64 /* types.h:194:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint64 /* types.h:196:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int64 /* types.h:204:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:212:13 */
type Pid_t = X__pid_t /* termios.h:30:17 */
// Get the system-dependent definitions of `struct termios', `tcflag_t',
// `cc_t', `speed_t', and all the macros specifying the flag bits.
// termios type and macro definitions. Linux version.
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
// bits/time64.h -- underlying types for __time64_t. Generic version.
// Copyright (C) 2018-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
@ -868,23 +836,144 @@ type Pid_t = X__pid_t /* termios.h:30:17 */
//
// 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/>.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// If we already have 64-bit time type then use it.
type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int64 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int64 /* types.h:179:28 */
type X__blkcnt64_t = int64 /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint64 /* types.h:183:30 */
type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint64 /* types.h:187:30 */
type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int64 /* types.h:191:28 */
type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int64 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int64 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type Pid_t = X__pid_t /* termios.h:30:17 */
// Get the system-dependent definitions of `struct termios', `tcflag_t',
// `cc_t', `speed_t', and all the macros specifying the flag bits.
// termios type and macro definitions. Linux version.
// Copyright (C) 1993-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
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
type Cc_t = uint8 /* termios.h:23:23 */
type Speed_t = uint32 /* termios.h:24:22 */
type Tcflag_t = uint32 /* termios.h:25:22 */
// struct termios definition. Linux/generic version.
// Copyright (C) 2019-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
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library. If not, see
// <https://www.gnu.org/licenses/>.
type Termios = struct {
Fc_iflag Tcflag_t
Fc_oflag Tcflag_t
Fc_cflag Tcflag_t
Fc_lflag Tcflag_t
Fc_line Cc_t
Fc_cc [32]Cc_t
_ [3]byte
Fc_ispeed Speed_t
Fc_ospeed Speed_t
} /* termios.h:28:1 */
Fc_iflag Tcflag_t
Fc_oflag Tcflag_t
Fc_cflag Tcflag_t
Fc_lflag Tcflag_t
Fc_line Cc_t
Fc_cc [32]Cc_t
F__ccgo_pad1 [3]byte
Fc_ispeed Speed_t
Fc_ospeed Speed_t
} /* termios-struct.h:24:1 */
// -
// Copyright (c) 1982, 1986, 1993