Hi Matthias,
I've reperformed my failed build of sqlite3 for m68k and extracted what
looks relevant to me. I'll append it here and hope that is good enough
to reproduce.
Helmut
./libtool --mode=link m68k-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/tmp/buildd/sqlite3/sqlite3-3.46.1=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -O2 -fno-strict-aliasing -DSQLITE_SECURE_DELETE -DSQLITE_SOUNDEX=1 -DSQLITE_ALLOW_ROWID_IN_VIEW -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI=1 -DSQLITE_MAX_SCHEMA_RETRY=25 -DSQLITE_STRICT_SUBTYPE=1 -DSQLITE_MAX_VARIABLE_NUMBER=250000 -DSQLITE_OS_UNIX=1 -I. -I/tmp/buildd/sqlite3/sqlite3-3.46.1/src -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/rtree -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/icu -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/fts3 -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/async -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/session -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/userauth -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include/tcl8.6 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB=1 -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/lib/m68k-linux-gnu -o showdb /tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c sqlite3.lo -lm -lz
libtool: link: m68k-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/tmp/buildd/sqlite3/sqlite3-3.46.1=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -O2 -fno-strict-aliasing -DSQLITE_SECURE_DELETE -DSQLITE_SOUNDEX=1 -DSQLITE_ALLOW_ROWID_IN_VIEW -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI=1 -DSQLITE_MAX_SCHEMA_RETRY=25 -DSQLITE_STRICT_SUBTYPE=1 -DSQLITE_MAX_VARIABLE_NUMBER=250000 -DSQLITE_OS_UNIX=1 -I. -I/tmp/buildd/sqlite3/sqlite3-3.46.1/src -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/rtree -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/icu -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/fts3 -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/async -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/session -I/tmp/buildd/sqlite3/sqlite3-3.46.1/ext/userauth -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include/tcl8.6 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB=1 -specs=/usr/share/dpkg/pie-link.specs -Wl,-z -Wl,relro -Wl,-z -Wl,now -o showdb /tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c .libs/sqlite3.o -Wl,--as-needed -L/usr/lib/m68k-linux-gnu -lm -lz
/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c: In function 'main':
/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c:1251:1: error: insn does not satisfy its constraints:
1251 | }
| ^
(insn 2510 2509 2511 183 (parallel [
(set (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
(const_int -596 [0xfffffffffffffdac])) [31 %sfp+-596 S8 A16])
(plus:DI (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
(const_int -596 [0xfffffffffffffdac])) [31 %sfp+-596 S8 A16])
(reg:DI 0 %d0 [orig:1158+-4 ] [1158])))
(clobber (reg:SI 0 %d0))
]) "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c":454:11 discrim 1 148 {adddi3}
(nil))
during RTL pass: postreload
/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c:1251:1: internal compiler error: in extract_constrain_insn, at recog.cc:2783
0x1d04b1f internal_error(char const*, ...)
../../src/gcc/diagnostic-global-context.cc:517
0x846253 fancy_abort(char const*, int, char const*)
../../src/gcc/diagnostic.cc:1722
0x6ec80c _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
../../src/gcc/rtl-error.cc:108
0x6ec832 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../src/gcc/rtl-error.cc:118
0x6eb3c7 extract_constrain_insn(rtx_insn*)
../../src/gcc/recog.cc:2783
0xe61866 reload_cse_simplify_operands
../../src/gcc/postreload.cc:491
0xe62945 reload_cse_simplify
../../src/gcc/postreload.cc:180
0xe62945 reload_cse_regs_1
../../src/gcc/postreload.cc:320
0xe6435b reload_cse_regs
../../src/gcc/postreload.cc:66
0xe6435b execute
../../src/gcc/postreload.cc:2461
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccmUqHGf.out file, please attach this to your bugreport.
=== BEGIN GCC DUMP ===
160283: // Target: m68k-linux-gnu
160283: // Configured with: ../src/configure -v --with-pkgversion='Debian 15-20250315-1' --with-bugurl=file:///usr/share/doc/gcc-15/README.Bugs --enable-languages=c,c++,fortran --prefix=/usr --with-gcc-major-version-only --program-suffix=-15 --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libssp --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-multiarch --disable-werror --disable-werror --disable-multilib --enable-checking=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=m68k-linux-gnu --program-prefix=m68k-linux-gnu- --with-gxx-include-dir=//usr/include/c++/15
160283: // Thread model: posix
160283: // Supported LTO compression algorithms: zlib zstd
160283: // gcc version 15.0.1 20250315 (experimental) [master r15-8065-g0a81f9ba720] (Debian 15-20250315-1)
160283: //
160283: // /tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c: In function 'main':
160283: // /tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c:1251:1: error: insn does not satisfy its constraints:
160283: // 1251 | }
160283: // | ^
160283: // (insn 2510 2509 2511 183 (parallel [
160283: // (set (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
160283: // (const_int -596 [0xfffffffffffffdac])) [31 %sfp+-596 S8 A16])
160283: // (plus:DI (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
160283: // (const_int -596 [0xfffffffffffffdac])) [31 %sfp+-596 S8 A16])
160283: // (reg:DI 0 %d0 [orig:1158+-4 ] [1158])))
160283: // (clobber (reg:SI 0 %d0))
160283: // ]) "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c":454:11 discrim 1 148 {adddi3}
160283: // (nil))
160283: // during RTL pass: postreload
160283: // /tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c:1251:1: internal compiler error: in extract_constrain_insn, at recog.cc:2783
160283: // 0x1d04b1f internal_error(char const*, ...)
160283: // ../../src/gcc/diagnostic-global-context.cc:517
160283: // 0x846253 fancy_abort(char const*, int, char const*)
160283: // ../../src/gcc/diagnostic.cc:1722
160283: // 0x6ec80c _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
160283: // ../../src/gcc/rtl-error.cc:108
160283: // 0x6ec832 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
160283: // ../../src/gcc/rtl-error.cc:118
160283: // 0x6eb3c7 extract_constrain_insn(rtx_insn*)
160283: // ../../src/gcc/recog.cc:2783
160283: // 0xe61866 reload_cse_simplify_operands
160283: // ../../src/gcc/postreload.cc:491
160283: // 0xe62945 reload_cse_simplify
160283: // ../../src/gcc/postreload.cc:180
160283: // 0xe62945 reload_cse_regs_1
160283: // ../../src/gcc/postreload.cc:320
160283: // 0xe6435b reload_cse_regs
160283: // ../../src/gcc/postreload.cc:66
160283: // 0xe6435b execute
160283: // ../../src/gcc/postreload.cc:2461
160283: // Please submit a full bug report, with preprocessed source (by using -freport-bug).
160283: // Please include the complete backtrace with any bug report.
160283: // See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
160283:
160283: // /usr/libexec/gcc/m68k-linux-gnu/15/cc1 -quiet -I . -I /tmp/buildd/sqlite3/sqlite3-3.46.1/src -I /tmp/buildd/sqlite3/sqlite3-3.46.1/ext/rtree -I /tmp/buildd/sqlite3/sqlite3-3.46.1/ext/icu -I /tmp/buildd/sqlite3/sqlite3-3.46.1/ext/fts3 -I /tmp/buildd/sqlite3/sqlite3-3.46.1/ext/async -I /tmp/buildd/sqlite3/sqlite3-3.46.1/ext/session -I /tmp/buildd/sqlite3/sqlite3-3.46.1/ext/userauth -I /usr/include/tcl8.6 -imultilib . -imultiarch m68k-linux-gnu -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D SQLITE_SECURE_DELETE -D SQLITE_SOUNDEX=1 -D SQLITE_ALLOW_ROWID_IN_VIEW -D SQLITE_LIKE_DOESNT_MATCH_BLOBS -D SQLITE_THREADSAFE=1 -D SQLITE_USE_URI=1 -D SQLITE_MAX_SCHEMA_RETRY=25 -D SQLITE_STRICT_SUBTYPE=1 -D SQLITE_MAX_VARIABLE_NUMBER=250000 -D SQLITE_OS_UNIX=1 -D _HAVE_SQLITE_CONFIG_H -D BUILD_sqlite -D NDEBUG -D SQLITE_THREADSAFE=1 -D SQLITE_ENABLE_MATH_FUNCTIONS -D SQLITE_ENABLE_FTS4 -D SQLITE_ENABLE_FTS5 -D SQLITE_ENABLE_COLUMN_METADATA -D SQLITE_ENABLE_FTS3 -D SQLITE_ENABLE_FTS3_PARENTHESIS -D SQLITE_ENABLE_RTREE=1 -D SQLITE_ENABLE_UNLOCK_NOTIFY -D SQLITE_ENABLE_DBSTAT_VTAB -D SQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 -D SQLITE_ENABLE_LOAD_EXTENSION -D SQLITE_ENABLE_JSON1 -D SQLITE_ENABLE_FTS3_TOKENIZER=1 -D SQLITE_ENABLE_PREUPDATE_HOOK -D SQLITE_ENABLE_SESSION -D SQLITE_ENABLE_STMTVTAB -D SQLITE_HAVE_ZLIB=1 /tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c -quiet -dumpdir showdb- -dumpbase showdb.c -dumpbase-ext .c -mcpu=68020 -g -O2 -O2 -Wdate-time -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -ffile-prefix-map=/tmp/buildd/sqlite3/sqlite3-3.46.1=. -fstack-protector-strong -fno-strict-aliasing -fPIE -o - -frandom-seed=0 -fdump-noaddr
160283:
160283: # 0 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: # 1 "/tmp/buildd/sqlite3/sqlite3-3.46.1//"
160283: # 0 "<built-in>"
160283: # 0 "<command-line>"
160283: # 1 "/usr/include/m68k-linux-gnu/stdc-predef.h" 1 3 4
160283: # 0 "<command-line>" 2
160283: # 1 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/stdio.h" 1 3 4
160283: # 28 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
160283: # 33 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/features.h" 1 3 4
160283: # 415 "/usr/include/m68k-linux-gnu/features.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/features-time64.h" 1 3 4
160283: # 20 "/usr/include/m68k-linux-gnu/features-time64.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
160283: # 21 "/usr/include/m68k-linux-gnu/features-time64.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/timesize.h" 1 3 4
160283: # 22 "/usr/include/m68k-linux-gnu/features-time64.h" 2 3 4
160283: # 416 "/usr/include/m68k-linux-gnu/features.h" 2 3 4
160283: # 523 "/usr/include/m68k-linux-gnu/features.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 1 3 4
160283: # 730 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
160283: # 731 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/long-double.h" 1 3 4
160283: # 732 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 2 3 4
160283: # 524 "/usr/include/m68k-linux-gnu/features.h" 2 3 4
160283: # 547 "/usr/include/m68k-linux-gnu/features.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/gnu/stubs.h" 1 3 4
160283: # 548 "/usr/include/m68k-linux-gnu/features.h" 2 3 4
160283: # 34 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 2 3 4
160283: # 29 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 214 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 3 4
160283:
160283: # 214 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 3 4
160283: typedef unsigned int size_t;
160283: # 35 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stdarg.h" 1 3 4
160283: # 40 "/usr/lib/gcc/m68k-linux-gnu/15/include/stdarg.h" 3 4
160283: typedef __builtin_va_list __gnuc_va_list;
160283: # 38 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
160283: # 28 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/timesize.h" 1 3 4
160283: # 29 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
160283:
160283:
160283: typedef unsigned char __u_char;
160283: typedef unsigned short int __u_short;
160283: typedef unsigned int __u_int;
160283: typedef unsigned long int __u_long;
160283:
160283:
160283: typedef signed char __int8_t;
160283: typedef unsigned char __uint8_t;
160283: typedef signed short int __int16_t;
160283: typedef unsigned short int __uint16_t;
160283: typedef signed int __int32_t;
160283: typedef unsigned int __uint32_t;
160283:
160283:
160283:
160283:
160283: __extension__ typedef signed long long int __int64_t;
160283: __extension__ typedef unsigned long long int __uint64_t;
160283:
160283:
160283:
160283: typedef __int8_t __int_least8_t;
160283: typedef __uint8_t __uint_least8_t;
160283: typedef __int16_t __int_least16_t;
160283: typedef __uint16_t __uint_least16_t;
160283: typedef __int32_t __int_least32_t;
160283: typedef __uint32_t __uint_least32_t;
160283: typedef __int64_t __int_least64_t;
160283: typedef __uint64_t __uint_least64_t;
160283:
160283:
160283:
160283:
160283:
160283:
160283: __extension__ typedef long long int __quad_t;
160283: __extension__ typedef unsigned long long int __u_quad_t;
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: __extension__ typedef long long int __intmax_t;
160283: __extension__ typedef unsigned long long int __uintmax_t;
160283: # 141 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/typesizes.h" 1 3 4
160283: # 142 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/time64.h" 1 3 4
160283: # 143 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
160283:
160283:
160283: __extension__ typedef __uint64_t __dev_t;
160283: __extension__ typedef unsigned int __uid_t;
160283: __extension__ typedef unsigned int __gid_t;
160283: __extension__ typedef unsigned long int __ino_t;
160283: __extension__ typedef __uint64_t __ino64_t;
160283: __extension__ typedef unsigned int __mode_t;
160283: __extension__ typedef unsigned int __nlink_t;
160283: __extension__ typedef long int __off_t;
160283: __extension__ typedef __int64_t __off64_t;
160283: __extension__ typedef int __pid_t;
160283: __extension__ typedef struct { int __val[2]; } __fsid_t;
160283: __extension__ typedef long int __clock_t;
160283: __extension__ typedef unsigned long int __rlim_t;
160283: __extension__ typedef __uint64_t __rlim64_t;
160283: __extension__ typedef unsigned int __id_t;
160283: __extension__ typedef long int __time_t;
160283: __extension__ typedef unsigned int __useconds_t;
160283: __extension__ typedef long int __suseconds_t;
160283: __extension__ typedef __int64_t __suseconds64_t;
160283:
160283: __extension__ typedef int __daddr_t;
160283: __extension__ typedef int __key_t;
160283:
160283:
160283: __extension__ typedef int __clockid_t;
160283:
160283:
160283: __extension__ typedef void * __timer_t;
160283:
160283:
160283: __extension__ typedef long int __blksize_t;
160283:
160283:
160283:
160283:
160283: __extension__ typedef long int __blkcnt_t;
160283: __extension__ typedef __int64_t __blkcnt64_t;
160283:
160283:
160283: __extension__ typedef unsigned long int __fsblkcnt_t;
160283: __extension__ typedef __uint64_t __fsblkcnt64_t;
160283:
160283:
160283: __extension__ typedef unsigned long int __fsfilcnt_t;
160283: __extension__ typedef __uint64_t __fsfilcnt64_t;
160283:
160283:
160283: __extension__ typedef int __fsword_t;
160283:
160283: __extension__ typedef int __ssize_t;
160283:
160283:
160283: __extension__ typedef long int __syscall_slong_t;
160283:
160283: __extension__ typedef unsigned long int __syscall_ulong_t;
160283:
160283:
160283:
160283: typedef __off64_t __loff_t;
160283: typedef char *__caddr_t;
160283:
160283:
160283: __extension__ typedef int __intptr_t;
160283:
160283:
160283: __extension__ typedef unsigned int __socklen_t;
160283:
160283:
160283:
160283:
160283: typedef int __sig_atomic_t;
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: __extension__ typedef __int64_t __time64_t;
160283: # 40 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/__fpos_t.h" 1 3 4
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
160283: # 13 "/usr/include/m68k-linux-gnu/bits/types/__mbstate_t.h" 3 4
160283: typedef struct
160283: {
160283: int __count;
160283: union
160283: {
160283: unsigned int __wch;
160283: char __wchb[4];
160283: } __value;
160283: } __mbstate_t;
160283: # 6 "/usr/include/m68k-linux-gnu/bits/types/__fpos_t.h" 2 3 4
160283:
160283:
160283:
160283:
160283: typedef struct _G_fpos_t
160283: {
160283: __off_t __pos;
160283: __mbstate_t __state;
160283: } __fpos_t;
160283: # 41 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/__fpos64_t.h" 1 3 4
160283: # 10 "/usr/include/m68k-linux-gnu/bits/types/__fpos64_t.h" 3 4
160283: typedef struct _G_fpos64_t
160283: {
160283: __off64_t __pos;
160283: __mbstate_t __state;
160283: } __fpos64_t;
160283: # 42 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/__FILE.h" 1 3 4
160283:
160283:
160283:
160283: struct _IO_FILE;
160283: typedef struct _IO_FILE __FILE;
160283: # 43 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/FILE.h" 1 3 4
160283:
160283:
160283:
160283: struct _IO_FILE;
160283:
160283:
160283: typedef struct _IO_FILE FILE;
160283: # 44 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_FILE.h" 1 3 4
160283: # 36 "/usr/include/m68k-linux-gnu/bits/types/struct_FILE.h" 3 4
160283: struct _IO_FILE;
160283: struct _IO_marker;
160283: struct _IO_codecvt;
160283: struct _IO_wide_data;
160283:
160283:
160283:
160283:
160283: typedef void _IO_lock_t;
160283:
160283:
160283:
160283:
160283:
160283: struct _IO_FILE
160283: {
160283: int _flags;
160283:
160283:
160283: char *_IO_read_ptr;
160283: char *_IO_read_end;
160283: char *_IO_read_base;
160283: char *_IO_write_base;
160283: char *_IO_write_ptr;
160283: char *_IO_write_end;
160283: char *_IO_buf_base;
160283: char *_IO_buf_end;
160283:
160283:
160283: char *_IO_save_base;
160283: char *_IO_backup_base;
160283: char *_IO_save_end;
160283:
160283: struct _IO_marker *_markers;
160283:
160283: struct _IO_FILE *_chain;
160283:
160283: int _fileno;
160283: int _flags2:24;
160283:
160283: char _short_backupbuf[1];
160283: __off_t _old_offset;
160283:
160283:
160283: unsigned short _cur_column;
160283: signed char _vtable_offset;
160283: char _shortbuf[1];
160283:
160283: _IO_lock_t *_lock;
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: __off64_t _offset;
160283:
160283: struct _IO_codecvt *_codecvt;
160283: struct _IO_wide_data *_wide_data;
160283: struct _IO_FILE *_freeres_list;
160283: void *_freeres_buf;
160283: struct _IO_FILE **_prevchain;
160283: int _mode;
160283:
160283: char _unused2[15 * sizeof (int) - 5 * sizeof (void *)];
160283: };
160283: # 45 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/cookie_io_functions_t.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/types/cookie_io_functions_t.h" 3 4
160283: typedef __ssize_t cookie_read_function_t (void *__cookie, char *__buf,
160283: size_t __nbytes);
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __ssize_t cookie_write_function_t (void *__cookie, const char *__buf,
160283: size_t __nbytes);
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef int cookie_seek_function_t (void *__cookie, __off64_t *__pos, int __w);
160283:
160283:
160283: typedef int cookie_close_function_t (void *__cookie);
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef struct _IO_cookie_io_functions_t
160283: {
160283: cookie_read_function_t *read;
160283: cookie_write_function_t *write;
160283: cookie_seek_function_t *seek;
160283: cookie_close_function_t *close;
160283: } cookie_io_functions_t;
160283: # 48 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283: typedef __gnuc_va_list va_list;
160283: # 66 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: typedef __off64_t off_t;
160283: # 78 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: typedef __ssize_t ssize_t;
160283: # 87 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: typedef __fpos64_t fpos_t;
160283: # 129 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdio_lim.h" 1 3 4
160283: # 130 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 149 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern FILE *stdin;
160283: extern FILE *stdout;
160283: extern FILE *stderr;
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283: extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int renameat (int __oldfd, const char *__old, int __newfd,
160283: const char *__new) __attribute__ ((__nothrow__ , __leaf__));
160283: # 184 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fclose (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283: # 198 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern FILE *tmpfile (void) __asm__ ("" "tmpfile64")
160283: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
160283: # 211 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern char *tmpnam (char[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern char *tmpnam_r (char __s[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: # 228 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern char *tempnam (const char *__dir, const char *__pfx)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fflush (FILE *__stream);
160283: # 245 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fflush_unlocked (FILE *__stream);
160283: # 276 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64")
160283:
160283: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
160283: extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (3)));
160283: # 299 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283: extern FILE *fopencookie (void *__restrict __magic_cookie,
160283: const char *__restrict __modes,
160283: cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
160283: # 334 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
160283: int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
160283: size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fprintf (FILE *__restrict __stream,
160283: const char *__restrict __format, ...) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern int printf (const char *__restrict __format, ...);
160283:
160283: extern int sprintf (char *__restrict __s,
160283: const char *__restrict __format, ...) __attribute__ ((__nothrow__));
160283:
160283:
160283:
160283:
160283:
160283: extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
160283: __gnuc_va_list __arg) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
160283:
160283: extern int vsprintf (char *__restrict __s, const char *__restrict __format,
160283: __gnuc_va_list __arg) __attribute__ ((__nothrow__));
160283:
160283:
160283:
160283: extern int snprintf (char *__restrict __s, size_t __maxlen,
160283: const char *__restrict __format, ...)
160283: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
160283:
160283: extern int vsnprintf (char *__restrict __s, size_t __maxlen,
160283: const char *__restrict __format, __gnuc_va_list __arg)
160283: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
160283:
160283:
160283:
160283:
160283:
160283: extern int vasprintf (char **__restrict __ptr, const char *__restrict __f,
160283: __gnuc_va_list __arg)
160283: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
160283: extern int __asprintf (char **__restrict __ptr,
160283: const char *__restrict __fmt, ...)
160283: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
160283: extern int asprintf (char **__restrict __ptr,
160283: const char *__restrict __fmt, ...)
160283: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int vdprintf (int __fd, const char *__restrict __fmt,
160283: __gnuc_va_list __arg)
160283: __attribute__ ((__format__ (__printf__, 2, 0)));
160283: extern int dprintf (int __fd, const char *__restrict __fmt, ...)
160283: __attribute__ ((__format__ (__printf__, 2, 3)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fscanf (FILE *__restrict __stream,
160283: const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
160283:
160283: extern int sscanf (const char *__restrict __s,
160283: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
160283: # 52 "/usr/include/m68k-linux-gnu/bits/floatn.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 1 3 4
160283: # 24 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/long-double.h" 1 3 4
160283: # 25 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 2 3 4
160283: # 53 "/usr/include/m68k-linux-gnu/bits/floatn.h" 2 3 4
160283: # 438 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283:
160283:
160283: extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc23_fscanf")
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283: extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc23_scanf")
160283: __attribute__ ((__warn_unused_result__));
160283: extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc23_sscanf") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: ;
160283: # 490 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
160283: __gnuc_va_list __arg)
160283: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
160283: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: extern int vsscanf (const char *__restrict __s,
160283: const char *__restrict __format, __gnuc_va_list __arg)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc23_vfscanf")
160283:
160283:
160283:
160283: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc23_vscanf")
160283:
160283: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
160283: extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc23_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__format__ (__scanf__, 2, 0)));
160283: # 575 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fgetc (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283: extern int getc (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int getchar (void);
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int getc_unlocked (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283: extern int getchar_unlocked (void);
160283: # 600 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fgetc_unlocked (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283: # 611 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fputc (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2)));
160283: extern int putc (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283: extern int putchar (int __c);
160283: # 627 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fputc_unlocked (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int putc_unlocked (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2)));
160283: extern int putchar_unlocked (int __c);
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int getw (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern int putw (int __w, FILE *__stream) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) __attribute__ ((__nonnull__ (3)));
160283: # 689 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern __ssize_t __getdelim (char **__restrict __lineptr,
160283: size_t *__restrict __n, int __delimiter,
160283: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4)));
160283: extern __ssize_t getdelim (char **__restrict __lineptr,
160283: size_t *__restrict __n, int __delimiter,
160283: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4)));
160283:
160283:
160283: extern __ssize_t getline (char **__restrict __lineptr,
160283: size_t *__restrict __n,
160283: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (3)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fputs (const char *__restrict __s, FILE *__restrict __stream)
160283: __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283: extern int puts (const char *__s);
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int ungetc (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern size_t fread (void *__restrict __ptr, size_t __size,
160283: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__nonnull__ (4)));
160283:
160283:
160283:
160283:
160283: extern size_t fwrite (const void *__restrict __ptr, size_t __size,
160283: size_t __n, FILE *__restrict __s) __attribute__ ((__nonnull__ (4)));
160283: # 756 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
160283: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__nonnull__ (4)));
160283: extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
160283: size_t __n, FILE *__restrict __stream)
160283: __attribute__ ((__nonnull__ (4)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fseek (FILE *__stream, long int __off, int __whence)
160283: __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern void rewind (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283: # 802 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64")
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64")
160283: __attribute__ ((__nonnull__ (1)));
160283: # 828 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64")
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64")
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: # 850 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283: extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283: extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283: extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern void perror (const char *__s) __attribute__ ((__cold__));
160283:
160283:
160283:
160283:
160283: extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283: # 887 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int pclose (FILE *__stream) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern FILE *popen (const char *__command, const char *__modes)
160283: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (pclose, 1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1)));
160283: # 931 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: # 949 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: extern int __uflow (FILE *);
160283: extern int __overflow (FILE *, int);
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 1 3 4
160283: # 26 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
160283: extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
160283: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 3)));
160283: extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
160283: const char *__restrict __format,
160283: __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 3)));
160283:
160283:
160283:
160283: extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
160283: size_t __slen, const char *__restrict __format,
160283: ...) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
160283: size_t __slen, const char *__restrict __format,
160283: __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283:
160283:
160283:
160283:
160283:
160283: extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
160283: const char *__restrict __format, ...)
160283: __attribute__ ((__nonnull__ (1)));
160283: extern int __printf_chk (int __flag, const char *__restrict __format, ...);
160283: extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
160283: const char *__restrict __format,
160283: __gnuc_va_list __ap) __attribute__ ((__nonnull__ (1)));
160283: extern int __vprintf_chk (int __flag, const char *__restrict __format,
160283: __gnuc_va_list __ap);
160283:
160283:
160283: extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt,
160283: ...) __attribute__ ((__format__ (__printf__, 3, 4)));
160283: extern int __vdprintf_chk (int __fd, int __flag,
160283: const char *__restrict __fmt, __gnuc_va_list __arg)
160283: __attribute__ ((__format__ (__printf__, 3, 0)));
160283: # 96 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
160283: extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")))
160283: ;
160283:
160283: extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
160283: FILE *__restrict __stream)
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__nonnull__ (4)));
160283:
160283: extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__));
160283: extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
160283:
160283:
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")))
160283: ;
160283:
160283: extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
160283: size_t __size, size_t __n,
160283: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (5)));
160283: # 145 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
160283: extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__));
160283: extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
160283:
160283:
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")))
160283: ;
160283:
160283: extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
160283: size_t __size, size_t __n,
160283: FILE *__restrict __stream)
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (5)));
160283: # 955 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283: # 966 "/usr/include/m68k-linux-gnu/stdio.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdio.h" 1 3 4
160283: # 46 "/usr/include/m68k-linux-gnu/bits/stdio.h" 3 4
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: getchar (void)
160283: {
160283: return getc (stdin);
160283: }
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: fgetc_unlocked (FILE *__fp)
160283: {
160283: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
160283: }
160283:
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: getc_unlocked (FILE *__fp)
160283: {
160283: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: getchar_unlocked (void)
160283: {
160283: return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
160283: }
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: putchar (int __c)
160283: {
160283: return putc (__c, stdout);
160283: }
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: fputc_unlocked (int __c, FILE *__stream)
160283: {
160283: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
160283: }
160283:
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: putc_unlocked (int __c, FILE *__stream)
160283: {
160283: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: putchar_unlocked (int __c)
160283: {
160283: return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
160283: }
160283: # 127 "/usr/include/m68k-linux-gnu/bits/stdio.h" 3 4
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream)
160283: {
160283: return (((__stream)->_flags & 0x0010) != 0);
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream)
160283: {
160283: return (((__stream)->_flags & 0x0020) != 0);
160283: }
160283: # 967 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...)
160283: {
160283: return __builtin___sprintf_chk (__s, 2 - 1,
160283: __builtin_object_size (__s, 2 > 1), __fmt,
160283: __builtin_va_arg_pack ());
160283: }
160283: # 54 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) vsprintf (char * __restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap)
160283:
160283: {
160283: return __builtin___vsprintf_chk (__s, 2 - 1,
160283: __builtin_object_size (__s, 2 > 1), __fmt, __ap);
160283: }
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...)
160283:
160283: {
160283: return __builtin___snprintf_chk (__s, __n, 2 - 1,
160283: __builtin_object_size (__s, 2 > 1), __fmt,
160283: __builtin_va_arg_pack ());
160283: }
160283: # 92 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char * __restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap)
160283:
160283:
160283:
160283:
160283:
160283: {
160283: return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
160283: __builtin_object_size (__s, 2 > 1), __fmt, __ap);
160283: }
160283:
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) int
160283: fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
160283: {
160283: return __fprintf_chk (__stream, 2 - 1, __fmt,
160283: __builtin_va_arg_pack ());
160283: }
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: printf (const char *__restrict __fmt, ...)
160283: {
160283: return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
160283: }
160283: # 151 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: vprintf (const char * __restrict __fmt,
160283: __gnuc_va_list __ap)
160283: {
160283:
160283: return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
160283:
160283:
160283:
160283: }
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) int
160283: vfprintf (FILE *__restrict __stream,
160283: const char *__restrict __fmt, __gnuc_va_list __ap)
160283: {
160283: return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
160283: }
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: dprintf (int __fd, const char *__restrict __fmt, ...)
160283: {
160283: return __dprintf_chk (__fd, 2 - 1, __fmt,
160283: __builtin_va_arg_pack ());
160283: }
160283: # 194 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap)
160283: {
160283: return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
160283: }
160283: # 303 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)))
160283: __attribute__ ((__nonnull__ (3))) char *
160283: fgets (char * __restrict __s, int __n,
160283: FILE *__restrict __stream)
160283:
160283:
160283:
160283: {
160283: size_t __sz = __builtin_object_size (__s, 2 > 1);
160283: if (((__builtin_constant_p (__sz) && (__sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((__sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((__sz)) / ((sizeof (char)))))))
160283: return __fgets_alias (__s, __n, __stream);
160283:
160283: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (__sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (__sz) / (sizeof (char)))))
160283: return __fgets_chk_warn (__s, __sz, __n, __stream);
160283:
160283: return __fgets_chk (__s, __sz, __n, __stream);
160283: }
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))) size_t
160283: fread (void * __restrict __ptr,
160283: size_t __size, size_t __n, FILE *__restrict __stream)
160283:
160283:
160283:
160283:
160283: {
160283: size_t __sz = __builtin_object_size (__ptr, 0);
160283: if (((__builtin_constant_p (__sz) && (__sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((__sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((__sz)) / ((__size))))))
160283: return __fread_alias (__ptr, __size, __n, __stream);
160283:
160283: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (__sz) / (__size))) && !(((unsigned int) (__n)) <= (__sz) / (__size))))
160283: return __fread_chk_warn (__ptr, __sz, __size, __n, __stream);
160283:
160283: return __fread_chk (__ptr, __sz, __size, __n, __stream);
160283: }
160283: # 361 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))) size_t
160283: fread_unlocked (void * __restrict __ptr,
160283: size_t __size, size_t __n, FILE *__restrict __stream)
160283:
160283:
160283:
160283:
160283: {
160283: size_t __sz = __builtin_object_size (__ptr, 0);
160283: if (((__builtin_constant_p (__sz) && (__sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((__sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((__sz)) / ((__size))))))
160283: {
160283:
160283: if (__builtin_constant_p (__size)
160283: && __builtin_constant_p (__n)
160283: && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
160283: && __size * __n <= 8)
160283: {
160283: size_t __cnt = __size * __n;
160283: char *__cptr = (char *) __ptr;
160283: if (__cnt == 0)
160283: return 0;
160283:
160283: for (; __cnt > 0; --__cnt)
160283: {
160283: int __c = getc_unlocked (__stream);
160283: if (__c == (-1))
160283: break;
160283: *__cptr++ = __c;
160283: }
160283: return (__cptr - (char *) __ptr) / __size;
160283: }
160283:
160283: return __fread_unlocked_alias (__ptr, __size, __n, __stream);
160283: }
160283:
160283: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (__sz) / (__size))) && !(((unsigned int) (__n)) <= (__sz) / (__size))))
160283: return __fread_unlocked_chk_warn (__ptr, __sz, __size, __n, __stream);
160283:
160283: return __fread_unlocked_chk (__ptr, __sz, __size, __n, __stream);
160283:
160283: }
160283: # 971 "/usr/include/m68k-linux-gnu/stdio.h" 2 3 4
160283:
160283:
160283:
160283: # 5 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283: # 1 "/usr/include/m68k-linux-gnu/ctype.h" 1 3 4
160283: # 28 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283:
160283: # 39 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/endian.h" 1 3 4
160283: # 35 "/usr/include/m68k-linux-gnu/bits/endian.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/endianness.h" 1 3 4
160283: # 36 "/usr/include/m68k-linux-gnu/bits/endian.h" 2 3 4
160283: # 40 "/usr/include/m68k-linux-gnu/ctype.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283: enum
160283: {
160283: _ISupper = (1 << (0)),
160283: _ISlower = (1 << (1)),
160283: _ISalpha = (1 << (2)),
160283: _ISdigit = (1 << (3)),
160283: _ISxdigit = (1 << (4)),
160283: _ISspace = (1 << (5)),
160283: _ISprint = (1 << (6)),
160283: _ISgraph = (1 << (7)),
160283: _ISblank = (1 << (8)),
160283: _IScntrl = (1 << (9)),
160283: _ISpunct = (1 << (10)),
160283: _ISalnum = (1 << (11))
160283: };
160283: # 79 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: extern const unsigned short int **__ctype_b_loc (void)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283: extern const __int32_t **__ctype_tolower_loc (void)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283: extern const __int32_t **__ctype_toupper_loc (void)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283: # 108 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: extern int isalnum (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isalpha (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int iscntrl (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isdigit (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int islower (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isgraph (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isprint (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int ispunct (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isspace (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isupper (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isxdigit (int) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int tolower (int __c) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern int toupper (int __c) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283: extern int isblank (int) __attribute__ ((__nothrow__ , __leaf__));
160283: # 142 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: extern int isascii (int __c) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int toascii (int __c) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int _toupper (int) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int _tolower (int) __attribute__ ((__nothrow__ , __leaf__));
160283: # 206 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) tolower (int __c)
160283: {
160283: return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
160283: }
160283:
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) toupper (int __c)
160283: {
160283: return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
160283: }
160283: # 237 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 1 3 4
160283: # 22 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/__locale_t.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/types/__locale_t.h" 3 4
160283: struct __locale_struct
160283: {
160283:
160283: struct __locale_data *__locales[13];
160283:
160283:
160283: const unsigned short int *__ctype_b;
160283: const int *__ctype_tolower;
160283: const int *__ctype_toupper;
160283:
160283:
160283: const char *__names[13];
160283: };
160283:
160283: typedef struct __locale_struct *__locale_t;
160283: # 23 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 2 3 4
160283:
160283: typedef __locale_t locale_t;
160283: # 238 "/usr/include/m68k-linux-gnu/ctype.h" 2 3 4
160283: # 251 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283: extern int isalnum_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isalpha_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int iscntrl_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isdigit_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int islower_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isgraph_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isprint_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int ispunct_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isspace_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isupper_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int isxdigit_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283: extern int isblank_l (int, locale_t) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int __tolower_l (int __c, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int tolower_l (int __c, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern int __toupper_l (int __c, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
160283: extern int toupper_l (int __c, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
160283: # 327 "/usr/include/m68k-linux-gnu/ctype.h" 3 4
160283:
160283: # 6 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/sys/types.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __u_char u_char;
160283: typedef __u_short u_short;
160283: typedef __u_int u_int;
160283: typedef __u_long u_long;
160283: typedef __quad_t quad_t;
160283: typedef __u_quad_t u_quad_t;
160283: typedef __fsid_t fsid_t;
160283:
160283:
160283: typedef __loff_t loff_t;
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __ino64_t ino_t;
160283: # 59 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: typedef __dev_t dev_t;
160283:
160283:
160283:
160283:
160283: typedef __gid_t gid_t;
160283:
160283:
160283:
160283:
160283: typedef __mode_t mode_t;
160283:
160283:
160283:
160283:
160283: typedef __nlink_t nlink_t;
160283:
160283:
160283:
160283:
160283: typedef __uid_t uid_t;
160283: # 97 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: typedef __pid_t pid_t;
160283:
160283:
160283:
160283:
160283:
160283: typedef __id_t id_t;
160283: # 114 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: typedef __daddr_t daddr_t;
160283: typedef __caddr_t caddr_t;
160283:
160283:
160283:
160283:
160283:
160283: typedef __key_t key_t;
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/clock_t.h" 1 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __clock_t clock_t;
160283: # 127 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/clockid_t.h" 1 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __clockid_t clockid_t;
160283: # 129 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/time_t.h" 1 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __time64_t time_t;
160283: # 130 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/timer_t.h" 1 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __timer_t timer_t;
160283: # 131 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283: # 144 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 145 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283:
160283:
160283:
160283: typedef unsigned long int ulong;
160283: typedef unsigned short int ushort;
160283: typedef unsigned int uint;
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdint-intn.h" 1 3 4
160283: # 24 "/usr/include/m68k-linux-gnu/bits/stdint-intn.h" 3 4
160283: typedef __int8_t int8_t;
160283: typedef __int16_t int16_t;
160283: typedef __int32_t int32_t;
160283: typedef __int64_t int64_t;
160283: # 156 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283:
160283:
160283: typedef __uint8_t u_int8_t;
160283: typedef __uint16_t u_int16_t;
160283: typedef __uint32_t u_int32_t;
160283: typedef __uint64_t u_int64_t;
160283:
160283:
160283: typedef int register_t __attribute__ ((__mode__ (__word__)));
160283: # 176 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/endian.h" 1 3 4
160283: # 35 "/usr/include/m68k-linux-gnu/endian.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 1 3 4
160283: # 33 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 3 4
160283: static __inline __uint16_t
160283: __bswap_16 (__uint16_t __bsx)
160283: {
160283:
160283: return __builtin_bswap16 (__bsx);
160283:
160283:
160283:
160283: }
160283:
160283:
160283:
160283:
160283:
160283:
160283: static __inline __uint32_t
160283: __bswap_32 (__uint32_t __bsx)
160283: {
160283:
160283: return __builtin_bswap32 (__bsx);
160283:
160283:
160283:
160283: }
160283: # 69 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 3 4
160283: __extension__ static __inline __uint64_t
160283: __bswap_64 (__uint64_t __bsx)
160283: {
160283:
160283: return __builtin_bswap64 (__bsx);
160283:
160283:
160283:
160283: }
160283: # 36 "/usr/include/m68k-linux-gnu/endian.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 1 3 4
160283: # 32 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 3 4
160283: static __inline __uint16_t
160283: __uint16_identity (__uint16_t __x)
160283: {
160283: return __x;
160283: }
160283:
160283: static __inline __uint32_t
160283: __uint32_identity (__uint32_t __x)
160283: {
160283: return __x;
160283: }
160283:
160283: static __inline __uint64_t
160283: __uint64_identity (__uint64_t __x)
160283: {
160283: return __x;
160283: }
160283: # 37 "/usr/include/m68k-linux-gnu/endian.h" 2 3 4
160283: # 177 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/sys/select.h" 1 3 4
160283: # 30 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/select.h" 1 3 4
160283: # 31 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigset_t.h" 1 3 4
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/__sigset_t.h" 1 3 4
160283:
160283:
160283:
160283:
160283: typedef struct
160283: {
160283: unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
160283: } __sigset_t;
160283: # 5 "/usr/include/m68k-linux-gnu/bits/types/sigset_t.h" 2 3 4
160283:
160283:
160283: typedef __sigset_t sigset_t;
160283: # 34 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_timeval.h" 1 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: struct timeval
160283: {
160283:
160283: __time64_t tv_sec;
160283: __suseconds64_t tv_usec;
160283:
160283:
160283:
160283:
160283: };
160283: # 38 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 1 3 4
160283: # 11 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 3 4
160283: struct timespec
160283: {
160283:
160283: __time64_t tv_sec;
160283: # 24 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 3 4
160283: int: 32;
160283: long int tv_nsec;
160283:
160283:
160283:
160283:
160283:
160283: };
160283: # 40 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
160283:
160283:
160283:
160283: typedef __suseconds_t suseconds_t;
160283:
160283:
160283:
160283:
160283:
160283: typedef long int __fd_mask;
160283: # 59 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
160283: typedef struct
160283: {
160283:
160283:
160283:
160283:
160283:
160283:
160283: __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
160283:
160283:
160283: } fd_set;
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __fd_mask fd_mask;
160283: # 91 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
160283:
160283: # 108 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
160283: extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout) __asm__ ("" "__select64")
160283:
160283:
160283:
160283:
160283: ;
160283: # 134 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
160283: extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask) __asm__ ("" "__pselect64")
160283:
160283:
160283:
160283:
160283:
160283: ;
160283: # 150 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/select2.h" 1 3 4
160283: # 23 "/usr/include/m68k-linux-gnu/bits/select2.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/select-decl.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/select-decl.h" 3 4
160283: extern long int __fdelt_chk (long int __d);
160283: extern long int __fdelt_warn (long int __d)
160283: __attribute__((__warning__ ("bit outside of fd_set selected")));
160283: # 24 "/usr/include/m68k-linux-gnu/bits/select2.h" 2 3 4
160283: # 151 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
160283:
160283:
160283:
160283: # 180 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283: typedef __blksize_t blksize_t;
160283: # 205 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: typedef __blkcnt64_t blkcnt_t;
160283:
160283:
160283:
160283: typedef __fsblkcnt64_t fsblkcnt_t;
160283:
160283:
160283:
160283: typedef __fsfilcnt64_t fsfilcnt_t;
160283: # 227 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 1 3 4
160283: # 23 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 1 3 4
160283: # 44 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
160283: # 45 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/atomic_wide_counter.h" 1 3 4
160283: # 25 "/usr/include/m68k-linux-gnu/bits/atomic_wide_counter.h" 3 4
160283: typedef union
160283: {
160283: __extension__ unsigned long long int __value64;
160283: struct
160283: {
160283: unsigned int __low;
160283: unsigned int __high;
160283: } __value32;
160283: } __atomic_wide_counter;
160283: # 47 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
160283:
160283:
160283:
160283:
160283: typedef struct __pthread_internal_list
160283: {
160283: struct __pthread_internal_list *__prev;
160283: struct __pthread_internal_list *__next;
160283: } __pthread_list_t;
160283:
160283: typedef struct __pthread_internal_slist
160283: {
160283: struct __pthread_internal_slist *__next;
160283: } __pthread_slist_t;
160283: # 76 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 3 4
160283: struct __pthread_mutex_s
160283: {
160283: int __lock __attribute__ ((__aligned__ (4)));
160283: unsigned int __count;
160283: int __owner;
160283: # 58 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 3 4
160283: int __kind;
160283:
160283: unsigned int __nusers;
160283:
160283:
160283:
160283:
160283:
160283:
160283: __extension__ union
160283: {
160283: int __spins;
160283: __pthread_slist_t __list;
160283: };
160283:
160283:
160283: };
160283: # 77 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
160283: # 89 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/struct_rwlock.h" 1 3 4
160283: # 29 "/usr/include/m68k-linux-gnu/bits/struct_rwlock.h" 3 4
160283: struct __pthread_rwlock_arch_t
160283: {
160283: unsigned int __readers;
160283: unsigned int __writers;
160283: unsigned int __wrphase_futex;
160283: unsigned int __writers_futex;
160283: unsigned int __pad3;
160283: unsigned int __pad4;
160283:
160283:
160283:
160283: unsigned char __pad1;
160283: unsigned char __pad2;
160283: unsigned char __shared;
160283: unsigned char __flags;
160283:
160283:
160283:
160283:
160283:
160283:
160283: int __cur_writer;
160283: };
160283: # 90 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
160283:
160283:
160283:
160283:
160283: struct __pthread_cond_s
160283: {
160283: __atomic_wide_counter __wseq;
160283: __atomic_wide_counter __g1_start;
160283: unsigned int __g_size[2] __attribute__ ((__aligned__ (4)));
160283: unsigned int __g1_orig_size;
160283: unsigned int __wrefs;
160283: unsigned int __g_signals[2];
160283: unsigned int __unused_initialized_1;
160283: unsigned int __unused_initialized_2;
160283: };
160283:
160283: typedef unsigned int __tss_t;
160283: typedef unsigned long int __thrd_t;
160283:
160283: typedef struct
160283: {
160283: int __data __attribute__ ((__aligned__ (4)));
160283: } __once_flag;
160283: # 24 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 2 3 4
160283:
160283:
160283:
160283: typedef unsigned long int pthread_t;
160283:
160283:
160283:
160283:
160283: typedef union
160283: {
160283: char __size[4];
160283: int __align;
160283: } pthread_mutexattr_t;
160283:
160283:
160283:
160283:
160283: typedef union
160283: {
160283: char __size[4];
160283: int __align;
160283: } pthread_condattr_t;
160283:
160283:
160283:
160283: typedef unsigned int pthread_key_t;
160283:
160283:
160283:
160283: typedef int __attribute__ ((__aligned__ (4))) pthread_once_t;
160283:
160283:
160283: union pthread_attr_t
160283: {
160283: char __size[36];
160283: long int __align;
160283: };
160283:
160283: typedef union pthread_attr_t pthread_attr_t;
160283:
160283:
160283:
160283:
160283: typedef union
160283: {
160283: struct __pthread_mutex_s __data;
160283: char __size[24];
160283: long int __align;
160283: } pthread_mutex_t;
160283:
160283:
160283: typedef union
160283: {
160283: struct __pthread_cond_s __data;
160283: char __size[48];
160283: __extension__ long long int __align;
160283: } pthread_cond_t;
160283:
160283:
160283:
160283:
160283:
160283: typedef union
160283: {
160283: struct __pthread_rwlock_arch_t __data;
160283: char __size[32];
160283: long int __align;
160283: } pthread_rwlock_t;
160283:
160283: typedef union
160283: {
160283: char __size[8];
160283: long int __align;
160283: } pthread_rwlockattr_t;
160283:
160283:
160283:
160283:
160283:
160283: typedef volatile int pthread_spinlock_t;
160283:
160283:
160283:
160283:
160283: typedef union
160283: {
160283: char __size[20];
160283: long int __align;
160283: } pthread_barrier_t;
160283:
160283: typedef union
160283: {
160283: char __size[4];
160283: int __align;
160283: } pthread_barrierattr_t;
160283: # 228 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
160283:
160283:
160283:
160283: # 9 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283: # 1 "/usr/include/m68k-linux-gnu/sys/stat.h" 1 3 4
160283: # 99 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stat.h" 1 3 4
160283: # 25 "/usr/include/m68k-linux-gnu/bits/stat.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 1 3 4
160283: # 26 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
160283: struct stat
160283: {
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 1 3 4
160283: # 20 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
160283: __dev_t st_dev;
160283: __ino64_t st_ino;
160283: __mode_t st_mode;
160283: __nlink_t st_nlink;
160283: __uid_t st_uid;
160283: __gid_t st_gid;
160283: __dev_t st_rdev;
160283: __off64_t st_size;
160283: __blksize_t st_blksize;
160283: __blkcnt64_t st_blocks;
160283: # 40 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
160283: struct timespec st_atim;
160283: struct timespec st_mtim;
160283: struct timespec st_ctim;
160283: # 30 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 2 3 4
160283: # 84 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
160283: };
160283: # 26 "/usr/include/m68k-linux-gnu/bits/stat.h" 2 3 4
160283: # 102 "/usr/include/m68k-linux-gnu/sys/stat.h" 2 3 4
160283: # 214 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "__stat64_time64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1, 2)));
160283: extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "__fstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (2)));
160283: # 270 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "__fstatat64_time64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (3)));
160283: # 318 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "__lstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1, 2)));
160283: # 352 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int chmod (const char *__file, __mode_t __mode)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int lchmod (const char *__file, __mode_t __mode)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283: extern int fchmodat (int __fd, const char *__file, __mode_t __mode,
160283: int __flag)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__));
160283: # 389 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int mkdir (const char *__path, __mode_t __mode)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int mkdirat (int __fd, const char *__path, __mode_t __mode)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int mknodat (int __fd, const char *__path, __mode_t __mode,
160283: __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283:
160283: extern int mkfifo (const char *__path, __mode_t __mode)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int mkfifoat (int __fd, const char *__path, __mode_t __mode)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283: # 439 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int utimensat (int fd, const char *__path, const struct timespec __times[2], int flags) __asm__ ("" "__utimensat64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: ;
160283: # 456 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283: extern int futimens (int fd, const struct timespec __times[2]) __asm__ ("" "__futimens64") __attribute__ ((__nothrow__ , __leaf__))
160283: ;
160283: # 468 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
160283:
160283: # 10 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283: # 1 "/usr/include/m68k-linux-gnu/fcntl.h" 1 3 4
160283: # 28 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/fcntl.h" 1 3 4
160283: # 28 "/usr/include/m68k-linux-gnu/bits/fcntl.h" 3 4
160283: struct flock
160283: {
160283: short int l_type;
160283: short int l_whence;
160283:
160283:
160283:
160283:
160283: __off64_t l_start;
160283: __off64_t l_len;
160283:
160283: __pid_t l_pid;
160283: };
160283: # 54 "/usr/include/m68k-linux-gnu/bits/fcntl.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/fcntl-linux.h" 1 3 4
160283: # 384 "/usr/include/m68k-linux-gnu/bits/fcntl-linux.h" 3 4
160283:
160283: # 458 "/usr/include/m68k-linux-gnu/bits/fcntl-linux.h" 3 4
160283:
160283: # 55 "/usr/include/m68k-linux-gnu/bits/fcntl.h" 2 3 4
160283: # 36 "/usr/include/m68k-linux-gnu/fcntl.h" 2 3 4
160283: # 78 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stat.h" 1 3 4
160283: # 79 "/usr/include/m68k-linux-gnu/fcntl.h" 2 3 4
160283: # 190 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int fcntl (int __fd, int __request, ...) __asm__ ("" "__fcntl_time64") __attribute__ ((__nothrow__ , __leaf__))
160283: ;
160283: extern int fcntl64 (int __fd, int __request, ...) __asm__ ("" "__fcntl_time64") __attribute__ ((__nothrow__ , __leaf__))
160283: ;
160283: # 212 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int open (const char *__file, int __oflag, ...) __asm__ ("" "open64")
160283: __attribute__ ((__nonnull__ (1)));
160283: # 237 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int openat (int __fd, const char *__file, int __oflag, ...) __asm__ ("" "openat64")
160283: __attribute__ ((__nonnull__ (2)));
160283: # 258 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int creat (const char *__file, mode_t __mode) __asm__ ("" "creat64")
160283: __attribute__ ((__nonnull__ (1)));
160283: # 287 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64");
160283: # 305 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) __asm__ ("" "posix_fadvise64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: ;
160283: # 326 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64")
160283:
160283: ;
160283: # 341 "/usr/include/m68k-linux-gnu/fcntl.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/fcntl2.h" 1 3 4
160283: # 30 "/usr/include/m68k-linux-gnu/bits/fcntl2.h" 3 4
160283: extern int __open_2 (const char *__path, int __oflag) __asm__ ("" "__open64_2")
160283: __attribute__ ((__nonnull__ (1)));
160283: extern int __open_alias (const char *__path, int __oflag, ...) __asm__ ("" "open64")
160283: __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more")))
160283: ;
160283: extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT or O_TMPFILE in second argument needs 3 arguments")))
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: open (const char *__path, int __oflag, ...)
160283: {
160283: if (__builtin_va_arg_pack_len () > 1)
160283: __open_too_many_args ();
160283:
160283: if (__builtin_constant_p (__oflag))
160283: {
160283: if ((((__oflag) & 0100) != 0 || ((__oflag) & (020000000 | 040000)) == (020000000 | 040000)) && __builtin_va_arg_pack_len () < 1)
160283: {
160283: __open_missing_mode ();
160283: return __open_2 (__path, __oflag);
160283: }
160283: return __open_alias (__path, __oflag, __builtin_va_arg_pack ());
160283: }
160283:
160283: if (__builtin_va_arg_pack_len () < 1)
160283: return __open_2 (__path, __oflag);
160283:
160283: return __open_alias (__path, __oflag, __builtin_va_arg_pack ());
160283: }
160283: # 144 "/usr/include/m68k-linux-gnu/bits/fcntl2.h" 3 4
160283: extern int __openat_2 (int __fd, const char *__path, int __oflag) __asm__ ("" "__openat64_2")
160283:
160283: __attribute__ ((__nonnull__ (2)));
160283: extern int __openat_alias (int __fd, const char *__path, int __oflag, ...) __asm__ ("" "openat64")
160283:
160283: __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283: extern void __openat_too_many_args (void) __attribute__((__error__ ("openat can be called either with 3 or 4 arguments, not more")))
160283: ;
160283: extern void __openat_missing_mode (void) __attribute__((__error__ ("openat with O_CREAT or O_TMPFILE in third argument needs 4 arguments")))
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: openat (int __fd, const char *__path, int __oflag, ...)
160283: {
160283: if (__builtin_va_arg_pack_len () > 1)
160283: __openat_too_many_args ();
160283:
160283: if (__builtin_constant_p (__oflag))
160283: {
160283: if ((((__oflag) & 0100) != 0 || ((__oflag) & (020000000 | 040000)) == (020000000 | 040000)) && __builtin_va_arg_pack_len () < 1)
160283: {
160283: __openat_missing_mode ();
160283: return __openat_2 (__fd, __path, __oflag);
160283: }
160283: return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ());
160283: }
160283:
160283: if (__builtin_va_arg_pack_len () < 1)
160283: return __openat_2 (__fd, __path, __oflag);
160283:
160283: return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ());
160283: }
160283: # 342 "/usr/include/m68k-linux-gnu/fcntl.h" 2 3 4
160283:
160283:
160283:
160283: # 11 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/unistd.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283:
160283: # 202 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/posix_opt.h" 1 3 4
160283: # 203 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/environments.h" 1 3 4
160283: # 22 "/usr/include/m68k-linux-gnu/bits/environments.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
160283: # 23 "/usr/include/m68k-linux-gnu/bits/environments.h" 2 3 4
160283: # 207 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283: # 226 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 227 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283: # 255 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: typedef __useconds_t useconds_t;
160283: # 267 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: typedef __intptr_t intptr_t;
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef __socklen_t socklen_t;
160283: # 287 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: # 309 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int faccessat (int __fd, const char *__file, int __type, int __flag)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
160283: # 342 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: ;
160283: # 358 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int close (int __fd);
160283:
160283:
160283:
160283:
160283: extern void closefrom (int __lowfd) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283:
160283:
160283:
160283:
160283:
160283: extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__read_only__, 2, 3)));
160283: # 404 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
160283:
160283: __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64")
160283:
160283: __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__read_only__, 2, 3)));
160283: # 437 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: # 452 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__));
160283: # 464 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern unsigned int sleep (unsigned int __seconds);
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
160283: __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int usleep (__useconds_t __useconds);
160283: # 489 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int pause (void);
160283:
160283:
160283:
160283: extern int chown (const char *__file, __uid_t __owner, __gid_t __group)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int lchown (const char *__file, __uid_t __owner, __gid_t __group)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fchownat (int __fd, const char *__file, __uid_t __owner,
160283: __gid_t __group, int __flag)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: # 531 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: # 545 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern char *getwd (char *__buf)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 1)));
160283:
160283:
160283:
160283:
160283: extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__));
160283: # 564 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern char **__environ;
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int execve (const char *__path, char *const __argv[],
160283: char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283: extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283:
160283: extern int execv (const char *__path, char *const __argv[])
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283: extern int execle (const char *__path, const char *__arg, ...)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283: extern int execl (const char *__path, const char *__arg, ...)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283: extern int execvp (const char *__file, char *const __argv[])
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283: extern int execlp (const char *__file, const char *__arg, ...)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: # 619 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern void _exit (int __status) __attribute__ ((__noreturn__));
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/confname.h" 1 3 4
160283: # 24 "/usr/include/m68k-linux-gnu/bits/confname.h" 3 4
160283: enum
160283: {
160283: _PC_LINK_MAX,
160283:
160283: _PC_MAX_CANON,
160283:
160283: _PC_MAX_INPUT,
160283:
160283: _PC_NAME_MAX,
160283:
160283: _PC_PATH_MAX,
160283:
160283: _PC_PIPE_BUF,
160283:
160283: _PC_CHOWN_RESTRICTED,
160283:
160283: _PC_NO_TRUNC,
160283:
160283: _PC_VDISABLE,
160283:
160283: _PC_SYNC_IO,
160283:
160283: _PC_ASYNC_IO,
160283:
160283: _PC_PRIO_IO,
160283:
160283: _PC_SOCK_MAXBUF,
160283:
160283: _PC_FILESIZEBITS,
160283:
160283: _PC_REC_INCR_XFER_SIZE,
160283:
160283: _PC_REC_MAX_XFER_SIZE,
160283:
160283: _PC_REC_MIN_XFER_SIZE,
160283:
160283: _PC_REC_XFER_ALIGN,
160283:
160283: _PC_ALLOC_SIZE_MIN,
160283:
160283: _PC_SYMLINK_MAX,
160283:
160283: _PC_2_SYMLINKS
160283:
160283: };
160283:
160283:
160283: enum
160283: {
160283: _SC_ARG_MAX,
160283:
160283: _SC_CHILD_MAX,
160283:
160283: _SC_CLK_TCK,
160283:
160283: _SC_NGROUPS_MAX,
160283:
160283: _SC_OPEN_MAX,
160283:
160283: _SC_STREAM_MAX,
160283:
160283: _SC_TZNAME_MAX,
160283:
160283: _SC_JOB_CONTROL,
160283:
160283: _SC_SAVED_IDS,
160283:
160283: _SC_REALTIME_SIGNALS,
160283:
160283: _SC_PRIORITY_SCHEDULING,
160283:
160283: _SC_TIMERS,
160283:
160283: _SC_ASYNCHRONOUS_IO,
160283:
160283: _SC_PRIORITIZED_IO,
160283:
160283: _SC_SYNCHRONIZED_IO,
160283:
160283: _SC_FSYNC,
160283:
160283: _SC_MAPPED_FILES,
160283:
160283: _SC_MEMLOCK,
160283:
160283: _SC_MEMLOCK_RANGE,
160283:
160283: _SC_MEMORY_PROTECTION,
160283:
160283: _SC_MESSAGE_PASSING,
160283:
160283: _SC_SEMAPHORES,
160283:
160283: _SC_SHARED_MEMORY_OBJECTS,
160283:
160283: _SC_AIO_LISTIO_MAX,
160283:
160283: _SC_AIO_MAX,
160283:
160283: _SC_AIO_PRIO_DELTA_MAX,
160283:
160283: _SC_DELAYTIMER_MAX,
160283:
160283: _SC_MQ_OPEN_MAX,
160283:
160283: _SC_MQ_PRIO_MAX,
160283:
160283: _SC_VERSION,
160283:
160283: _SC_PAGESIZE,
160283:
160283:
160283: _SC_RTSIG_MAX,
160283:
160283: _SC_SEM_NSEMS_MAX,
160283:
160283: _SC_SEM_VALUE_MAX,
160283:
160283: _SC_SIGQUEUE_MAX,
160283:
160283: _SC_TIMER_MAX,
160283:
160283:
160283:
160283:
160283: _SC_BC_BASE_MAX,
160283:
160283: _SC_BC_DIM_MAX,
160283:
160283: _SC_BC_SCALE_MAX,
160283:
160283: _SC_BC_STRING_MAX,
160283:
160283: _SC_COLL_WEIGHTS_MAX,
160283:
160283: _SC_EQUIV_CLASS_MAX,
160283:
160283: _SC_EXPR_NEST_MAX,
160283:
160283: _SC_LINE_MAX,
160283:
160283: _SC_RE_DUP_MAX,
160283:
160283: _SC_CHARCLASS_NAME_MAX,
160283:
160283:
160283: _SC_2_VERSION,
160283:
160283: _SC_2_C_BIND,
160283:
160283: _SC_2_C_DEV,
160283:
160283: _SC_2_FORT_DEV,
160283:
160283: _SC_2_FORT_RUN,
160283:
160283: _SC_2_SW_DEV,
160283:
160283: _SC_2_LOCALEDEF,
160283:
160283:
160283: _SC_PII,
160283:
160283: _SC_PII_XTI,
160283:
160283: _SC_PII_SOCKET,
160283:
160283: _SC_PII_INTERNET,
160283:
160283: _SC_PII_OSI,
160283:
160283: _SC_POLL,
160283:
160283: _SC_SELECT,
160283:
160283: _SC_UIO_MAXIOV,
160283:
160283: _SC_IOV_MAX = _SC_UIO_MAXIOV,
160283:
160283: _SC_PII_INTERNET_STREAM,
160283:
160283: _SC_PII_INTERNET_DGRAM,
160283:
160283: _SC_PII_OSI_COTS,
160283:
160283: _SC_PII_OSI_CLTS,
160283:
160283: _SC_PII_OSI_M,
160283:
160283: _SC_T_IOV_MAX,
160283:
160283:
160283:
160283: _SC_THREADS,
160283:
160283: _SC_THREAD_SAFE_FUNCTIONS,
160283:
160283: _SC_GETGR_R_SIZE_MAX,
160283:
160283: _SC_GETPW_R_SIZE_MAX,
160283:
160283: _SC_LOGIN_NAME_MAX,
160283:
160283: _SC_TTY_NAME_MAX,
160283:
160283: _SC_THREAD_DESTRUCTOR_ITERATIONS,
160283:
160283: _SC_THREAD_KEYS_MAX,
160283:
160283: _SC_THREAD_STACK_MIN,
160283:
160283: _SC_THREAD_THREADS_MAX,
160283:
160283: _SC_THREAD_ATTR_STACKADDR,
160283:
160283: _SC_THREAD_ATTR_STACKSIZE,
160283:
160283: _SC_THREAD_PRIORITY_SCHEDULING,
160283:
160283: _SC_THREAD_PRIO_INHERIT,
160283:
160283: _SC_THREAD_PRIO_PROTECT,
160283:
160283: _SC_THREAD_PROCESS_SHARED,
160283:
160283:
160283: _SC_NPROCESSORS_CONF,
160283:
160283: _SC_NPROCESSORS_ONLN,
160283:
160283: _SC_PHYS_PAGES,
160283:
160283: _SC_AVPHYS_PAGES,
160283:
160283: _SC_ATEXIT_MAX,
160283:
160283: _SC_PASS_MAX,
160283:
160283:
160283: _SC_XOPEN_VERSION,
160283:
160283: _SC_XOPEN_XCU_VERSION,
160283:
160283: _SC_XOPEN_UNIX,
160283:
160283: _SC_XOPEN_CRYPT,
160283:
160283: _SC_XOPEN_ENH_I18N,
160283:
160283: _SC_XOPEN_SHM,
160283:
160283:
160283: _SC_2_CHAR_TERM,
160283:
160283: _SC_2_C_VERSION,
160283:
160283: _SC_2_UPE,
160283:
160283:
160283: _SC_XOPEN_XPG2,
160283:
160283: _SC_XOPEN_XPG3,
160283:
160283: _SC_XOPEN_XPG4,
160283:
160283:
160283: _SC_CHAR_BIT,
160283:
160283: _SC_CHAR_MAX,
160283:
160283: _SC_CHAR_MIN,
160283:
160283: _SC_INT_MAX,
160283:
160283: _SC_INT_MIN,
160283:
160283: _SC_LONG_BIT,
160283:
160283: _SC_WORD_BIT,
160283:
160283: _SC_MB_LEN_MAX,
160283:
160283: _SC_NZERO,
160283:
160283: _SC_SSIZE_MAX,
160283:
160283: _SC_SCHAR_MAX,
160283:
160283: _SC_SCHAR_MIN,
160283:
160283: _SC_SHRT_MAX,
160283:
160283: _SC_SHRT_MIN,
160283:
160283: _SC_UCHAR_MAX,
160283:
160283: _SC_UINT_MAX,
160283:
160283: _SC_ULONG_MAX,
160283:
160283: _SC_USHRT_MAX,
160283:
160283:
160283: _SC_NL_ARGMAX,
160283:
160283: _SC_NL_LANGMAX,
160283:
160283: _SC_NL_MSGMAX,
160283:
160283: _SC_NL_NMAX,
160283:
160283: _SC_NL_SETMAX,
160283:
160283: _SC_NL_TEXTMAX,
160283:
160283:
160283: _SC_XBS5_ILP32_OFF32,
160283:
160283: _SC_XBS5_ILP32_OFFBIG,
160283:
160283: _SC_XBS5_LP64_OFF64,
160283:
160283: _SC_XBS5_LPBIG_OFFBIG,
160283:
160283:
160283: _SC_XOPEN_LEGACY,
160283:
160283: _SC_XOPEN_REALTIME,
160283:
160283: _SC_XOPEN_REALTIME_THREADS,
160283:
160283:
160283: _SC_ADVISORY_INFO,
160283:
160283: _SC_BARRIERS,
160283:
160283: _SC_BASE,
160283:
160283: _SC_C_LANG_SUPPORT,
160283:
160283: _SC_C_LANG_SUPPORT_R,
160283:
160283: _SC_CLOCK_SELECTION,
160283:
160283: _SC_CPUTIME,
160283:
160283: _SC_THREAD_CPUTIME,
160283:
160283: _SC_DEVICE_IO,
160283:
160283: _SC_DEVICE_SPECIFIC,
160283:
160283: _SC_DEVICE_SPECIFIC_R,
160283:
160283: _SC_FD_MGMT,
160283:
160283: _SC_FIFO,
160283:
160283: _SC_PIPE,
160283:
160283: _SC_FILE_ATTRIBUTES,
160283:
160283: _SC_FILE_LOCKING,
160283:
160283: _SC_FILE_SYSTEM,
160283:
160283: _SC_MONOTONIC_CLOCK,
160283:
160283: _SC_MULTI_PROCESS,
160283:
160283: _SC_SINGLE_PROCESS,
160283:
160283: _SC_NETWORKING,
160283:
160283: _SC_READER_WRITER_LOCKS,
160283:
160283: _SC_SPIN_LOCKS,
160283:
160283: _SC_REGEXP,
160283:
160283: _SC_REGEX_VERSION,
160283:
160283: _SC_SHELL,
160283:
160283: _SC_SIGNALS,
160283:
160283: _SC_SPAWN,
160283:
160283: _SC_SPORADIC_SERVER,
160283:
160283: _SC_THREAD_SPORADIC_SERVER,
160283:
160283: _SC_SYSTEM_DATABASE,
160283:
160283: _SC_SYSTEM_DATABASE_R,
160283:
160283: _SC_TIMEOUTS,
160283:
160283: _SC_TYPED_MEMORY_OBJECTS,
160283:
160283: _SC_USER_GROUPS,
160283:
160283: _SC_USER_GROUPS_R,
160283:
160283: _SC_2_PBS,
160283:
160283: _SC_2_PBS_ACCOUNTING,
160283:
160283: _SC_2_PBS_LOCATE,
160283:
160283: _SC_2_PBS_MESSAGE,
160283:
160283: _SC_2_PBS_TRACK,
160283:
160283: _SC_SYMLOOP_MAX,
160283:
160283: _SC_STREAMS,
160283:
160283: _SC_2_PBS_CHECKPOINT,
160283:
160283:
160283: _SC_V6_ILP32_OFF32,
160283:
160283: _SC_V6_ILP32_OFFBIG,
160283:
160283: _SC_V6_LP64_OFF64,
160283:
160283: _SC_V6_LPBIG_OFFBIG,
160283:
160283:
160283: _SC_HOST_NAME_MAX,
160283:
160283: _SC_TRACE,
160283:
160283: _SC_TRACE_EVENT_FILTER,
160283:
160283: _SC_TRACE_INHERIT,
160283:
160283: _SC_TRACE_LOG,
160283:
160283:
160283: _SC_LEVEL1_ICACHE_SIZE,
160283:
160283: _SC_LEVEL1_ICACHE_ASSOC,
160283:
160283: _SC_LEVEL1_ICACHE_LINESIZE,
160283:
160283: _SC_LEVEL1_DCACHE_SIZE,
160283:
160283: _SC_LEVEL1_DCACHE_ASSOC,
160283:
160283: _SC_LEVEL1_DCACHE_LINESIZE,
160283:
160283: _SC_LEVEL2_CACHE_SIZE,
160283:
160283: _SC_LEVEL2_CACHE_ASSOC,
160283:
160283: _SC_LEVEL2_CACHE_LINESIZE,
160283:
160283: _SC_LEVEL3_CACHE_SIZE,
160283:
160283: _SC_LEVEL3_CACHE_ASSOC,
160283:
160283: _SC_LEVEL3_CACHE_LINESIZE,
160283:
160283: _SC_LEVEL4_CACHE_SIZE,
160283:
160283: _SC_LEVEL4_CACHE_ASSOC,
160283:
160283: _SC_LEVEL4_CACHE_LINESIZE,
160283:
160283:
160283:
160283: _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
160283:
160283: _SC_RAW_SOCKETS,
160283:
160283:
160283: _SC_V7_ILP32_OFF32,
160283:
160283: _SC_V7_ILP32_OFFBIG,
160283:
160283: _SC_V7_LP64_OFF64,
160283:
160283: _SC_V7_LPBIG_OFFBIG,
160283:
160283:
160283: _SC_SS_REPL_MAX,
160283:
160283:
160283: _SC_TRACE_EVENT_NAME_MAX,
160283:
160283: _SC_TRACE_NAME_MAX,
160283:
160283: _SC_TRACE_SYS_MAX,
160283:
160283: _SC_TRACE_USER_EVENT_MAX,
160283:
160283:
160283: _SC_XOPEN_STREAMS,
160283:
160283:
160283: _SC_THREAD_ROBUST_PRIO_INHERIT,
160283:
160283: _SC_THREAD_ROBUST_PRIO_PROTECT,
160283:
160283:
160283: _SC_MINSIGSTKSZ,
160283:
160283:
160283: _SC_SIGSTKSZ
160283:
160283: };
160283:
160283:
160283: enum
160283: {
160283: _CS_PATH,
160283:
160283:
160283: _CS_V6_WIDTH_RESTRICTED_ENVS,
160283:
160283:
160283:
160283: _CS_GNU_LIBC_VERSION,
160283:
160283: _CS_GNU_LIBPTHREAD_VERSION,
160283:
160283:
160283: _CS_V5_WIDTH_RESTRICTED_ENVS,
160283:
160283:
160283:
160283: _CS_V7_WIDTH_RESTRICTED_ENVS,
160283:
160283:
160283:
160283: _CS_LFS_CFLAGS = 1000,
160283:
160283: _CS_LFS_LDFLAGS,
160283:
160283: _CS_LFS_LIBS,
160283:
160283: _CS_LFS_LINTFLAGS,
160283:
160283: _CS_LFS64_CFLAGS,
160283:
160283: _CS_LFS64_LDFLAGS,
160283:
160283: _CS_LFS64_LIBS,
160283:
160283: _CS_LFS64_LINTFLAGS,
160283:
160283:
160283: _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
160283:
160283: _CS_XBS5_ILP32_OFF32_LDFLAGS,
160283:
160283: _CS_XBS5_ILP32_OFF32_LIBS,
160283:
160283: _CS_XBS5_ILP32_OFF32_LINTFLAGS,
160283:
160283: _CS_XBS5_ILP32_OFFBIG_CFLAGS,
160283:
160283: _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
160283:
160283: _CS_XBS5_ILP32_OFFBIG_LIBS,
160283:
160283: _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
160283:
160283: _CS_XBS5_LP64_OFF64_CFLAGS,
160283:
160283: _CS_XBS5_LP64_OFF64_LDFLAGS,
160283:
160283: _CS_XBS5_LP64_OFF64_LIBS,
160283:
160283: _CS_XBS5_LP64_OFF64_LINTFLAGS,
160283:
160283: _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
160283:
160283: _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
160283:
160283: _CS_XBS5_LPBIG_OFFBIG_LIBS,
160283:
160283: _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
160283:
160283:
160283: _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
160283:
160283: _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
160283:
160283: _CS_POSIX_V6_ILP32_OFF32_LIBS,
160283:
160283: _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
160283:
160283: _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
160283:
160283: _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
160283:
160283: _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
160283:
160283: _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
160283:
160283: _CS_POSIX_V6_LP64_OFF64_CFLAGS,
160283:
160283: _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
160283:
160283: _CS_POSIX_V6_LP64_OFF64_LIBS,
160283:
160283: _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
160283:
160283: _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
160283:
160283: _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
160283:
160283: _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
160283:
160283: _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
160283:
160283:
160283: _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
160283:
160283: _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
160283:
160283: _CS_POSIX_V7_ILP32_OFF32_LIBS,
160283:
160283: _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
160283:
160283: _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
160283:
160283: _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
160283:
160283: _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
160283:
160283: _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
160283:
160283: _CS_POSIX_V7_LP64_OFF64_CFLAGS,
160283:
160283: _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
160283:
160283: _CS_POSIX_V7_LP64_OFF64_LIBS,
160283:
160283: _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
160283:
160283: _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
160283:
160283: _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
160283:
160283: _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
160283:
160283: _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
160283:
160283:
160283: _CS_V6_ENV,
160283:
160283: _CS_V7_ENV
160283:
160283: };
160283: # 631 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283:
160283:
160283: extern long int pathconf (const char *__path, int __name)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283:
160283:
160283:
160283:
160283: extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283: extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__));
160283: # 682 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283: extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 2, 1)));
160283: # 722 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: # 778 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern __pid_t fork (void) __attribute__ ((__nothrow__));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__));
160283: # 799 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283:
160283:
160283:
160283: extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283: extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283: extern int link (const char *__from, const char *__to)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int linkat (int __fromfd, const char *__from, int __tofd,
160283: const char *__to, int __flags)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int symlink (const char *__from, const char *__to)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern ssize_t readlink (const char *__restrict __path,
160283: char *__restrict __buf, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283:
160283:
160283:
160283:
160283:
160283: extern int symlinkat (const char *__from, int __tofd,
160283: const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: extern ssize_t readlinkat (int __fd, const char *__restrict __path,
160283: char *__restrict __buf, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 3, 4)));
160283:
160283:
160283:
160283: extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern int unlinkat (int __fd, const char *__name, int __flag)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283: extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern char *getlogin (void);
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283:
160283:
160283:
160283:
160283: extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 1 3 4
160283: # 28 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern char *optarg;
160283: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
160283: extern int optind;
160283:
160283:
160283:
160283:
160283: extern int opterr;
160283:
160283:
160283:
160283: extern int optopt;
160283: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
160283: extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
160283:
160283:
160283: # 28 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 2 3 4
160283:
160283:
160283: # 49 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 3 4
160283:
160283: # 904 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int sethostname (const char *__name, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2)));
160283:
160283:
160283:
160283: extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283: extern int getdomainname (char *__name, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int setdomainname (const char *__name, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2)));
160283:
160283:
160283:
160283:
160283: extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int profil (unsigned short int *__sample_buffer, size_t __size,
160283: size_t __offset, unsigned int __scale)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__));
160283: extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__));
160283: extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283: extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int fsync (int __fd);
160283: # 1002 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern long int gethostid (void);
160283:
160283:
160283: extern void sync (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283: extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283:
160283:
160283:
160283:
160283: extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__));
160283: # 1030 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 1052 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__warn_unused_result__));
160283: # 1070 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283: extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__));
160283: # 1091 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__));
160283: # 1150 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern int fdatasync (int __fildes);
160283: # 1162 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: extern char *crypt (const char *__key, const char *__salt)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: # 1201 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: int getentropy (void *__buffer, size_t __length) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: # 1217 "/usr/include/m68k-linux-gnu/unistd.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/unistd.h" 1 3 4
160283: # 23 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/unistd-decl.h" 1 3 4
160283: # 26 "/usr/include/m68k-linux-gnu/bits/unistd-decl.h" 3 4
160283: extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
160283: size_t __buflen)
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read")
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")))
160283: ;
160283:
160283:
160283: extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
160283: __off_t __offset, size_t __bufsize)
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
160283: __off64_t __offset, size_t __bufsize)
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")))
160283: ;
160283: extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
160283:
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")))
160283: ;
160283:
160283:
160283:
160283: extern ssize_t __readlink_chk (const char *__restrict __path,
160283: char *__restrict __buf, size_t __len,
160283: size_t __buflen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __readlink_alias (const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern ssize_t __readlink_chk_warn (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")))
160283: ;
160283:
160283:
160283:
160283: extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path,
160283: char *__restrict __buf, size_t __len,
160283: size_t __buflen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4)));
160283: extern ssize_t __readlinkat_alias (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4)));
160283: extern ssize_t __readlinkat_chk_warn (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")))
160283:
160283: ;
160283:
160283:
160283: extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__warn_unused_result__));
160283: extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")))
160283: ;
160283:
160283:
160283: extern char *__getwd_chk (char *__buf, size_t buflen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")))
160283: ;
160283:
160283:
160283: extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
160283: size_t __buflen) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")))
160283: ;
160283:
160283:
160283: extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1)));
160283: extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1)));
160283: extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")))
160283: ;
160283:
160283:
160283: extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
160283: size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (2)));
160283: extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")))
160283: ;
160283:
160283:
160283:
160283: extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r")
160283: __attribute__ ((__nonnull__ (1)));
160283: extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
160283:
160283:
160283: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")))
160283: ;
160283:
160283:
160283:
160283:
160283: extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")))
160283: ;
160283:
160283:
160283:
160283:
160283: extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (1)))
160283: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283: extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")))
160283:
160283: ;
160283: # 24 "/usr/include/m68k-linux-gnu/bits/unistd.h" 2 3 4
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
160283: read (int __fd, void * __buf, size_t __nbytes)
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __read_alias (__fd, __buf, __nbytes) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)) : __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0))))
160283:
160283: ;
160283: }
160283: # 51 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
160283: pread (int __fd, void * __buf,
160283: size_t __nbytes, __off64_t __offset)
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0))))
160283:
160283: ;
160283: }
160283: # 80 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
160283: __attribute__ ((__nothrow__ , __leaf__)) readlink (const char *__restrict __path, char * __restrict __buf, size_t __len)
160283:
160283:
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlink_alias (__path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
160283: __attribute__ ((__nothrow__ , __leaf__)) readlinkat (int __fd, const char *__restrict __path, char * __restrict __buf, size_t __len)
160283:
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlinkat_alias (__fd, __path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlinkat_chk_warn (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) getcwd (char * __buf, size_t __size)
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getcwd_alias (__buf, __size) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)) : __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1)))
160283: __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) getwd (char * __buf)
160283: {
160283: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
160283: return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
160283: return __getwd_warn (__buf);
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
160283: __attribute__ ((__nothrow__ , __leaf__)) confstr (int __name, char * __buf, size_t __len)
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __confstr_alias (__name, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) getgroups (int __size, __gid_t * __list)
160283:
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__list, 2 > 1)) && (__builtin_object_size (__list, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t)))))) ? __getgroups_alias (__size, __list) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) ? __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)) : __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) ttyname_r (int __fd, char * __buf, size_t __buflen)
160283:
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ttyname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: getlogin_r (char * __buf, size_t __buflen)
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getlogin_r_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) gethostname (char * __buf, size_t __buflen)
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __gethostname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) getdomainname (char * __buf, size_t __buflen)
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getdomainname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283: # 1218 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 1 3 4
160283: # 1222 "/usr/include/m68k-linux-gnu/unistd.h" 2 3 4
160283:
160283:
160283: # 14 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/stdlib.h" 1 3 4
160283: # 26 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 329 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 3 4
160283: typedef long int wchar_t;
160283: # 33 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/waitflags.h" 1 3 4
160283: # 41 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/waitstatus.h" 1 3 4
160283: # 42 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283: # 56 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
160283: # 57 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283: typedef struct
160283: {
160283: int quot;
160283: int rem;
160283: } div_t;
160283:
160283:
160283:
160283: typedef struct
160283: {
160283: long int quot;
160283: long int rem;
160283: } ldiv_t;
160283:
160283:
160283:
160283:
160283:
160283: __extension__ typedef struct
160283: {
160283: long long int quot;
160283: long long int rem;
160283: } lldiv_t;
160283: # 98 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern double atof (const char *__nptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283: extern int atoi (const char *__nptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283: extern long int atol (const char *__nptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: __extension__ extern long long int atoll (const char *__nptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern double strtod (const char *__restrict __nptr,
160283: char **__restrict __endptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern float strtof (const char *__restrict __nptr,
160283: char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283: extern long double strtold (const char *__restrict __nptr,
160283: char **__restrict __endptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: # 177 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern long int strtol (const char *__restrict __nptr,
160283: char **__restrict __endptr, int __base)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283: extern unsigned long int strtoul (const char *__restrict __nptr,
160283: char **__restrict __endptr, int __base)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: __extension__
160283: extern long long int strtoq (const char *__restrict __nptr,
160283: char **__restrict __endptr, int __base)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283: __extension__
160283: extern unsigned long long int strtouq (const char *__restrict __nptr,
160283: char **__restrict __endptr, int __base)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: __extension__
160283: extern long long int strtoll (const char *__restrict __nptr,
160283: char **__restrict __endptr, int __base)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283: __extension__
160283: extern unsigned long long int strtoull (const char *__restrict __nptr,
160283: char **__restrict __endptr, int __base)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtol") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoul") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283:
160283: __extension__
160283: extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoll") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: __extension__
160283: extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoull") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283:
160283: __extension__
160283: extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoll") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: __extension__
160283: extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoull") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__nonnull__ (1)));
160283: # 278 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int strfromd (char *__dest, size_t __size, const char *__format,
160283: double __f)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
160283:
160283: extern int strfromf (char *__dest, size_t __size, const char *__format,
160283: float __f)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
160283:
160283: extern int strfroml (char *__dest, size_t __size, const char *__format,
160283: long double __f)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
160283: # 480 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern __inline __attribute__ ((__gnu_inline__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr)
160283: {
160283: return (int) strtol (__nptr, (char **) ((void *)0), 10);
160283: }
160283: extern __inline __attribute__ ((__gnu_inline__)) long int
160283: __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr)
160283: {
160283: return strtol (__nptr, (char **) ((void *)0), 10);
160283: }
160283:
160283:
160283: __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int
160283: __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr)
160283: {
160283: return strtoll (__nptr, (char **) ((void *)0), 10);
160283: }
160283: # 505 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: extern long int a64l (const char *__s)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 521 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern long int random (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283: extern char *initstate (unsigned int __seed, char *__statebuf,
160283: size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283: extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: struct random_data
160283: {
160283: int32_t *fptr;
160283: int32_t *rptr;
160283: int32_t *state;
160283: int rand_type;
160283: int rand_deg;
160283: int rand_sep;
160283: int32_t *end_ptr;
160283: };
160283:
160283: extern int random_r (struct random_data *__restrict __buf,
160283: int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283: extern int srandom_r (unsigned int __seed, struct random_data *__buf)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283: extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
160283: size_t __statelen,
160283: struct random_data *__restrict __buf)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)));
160283:
160283: extern int setstate_r (char *__restrict __statebuf,
160283: struct random_data *__restrict __buf)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283:
160283: extern int rand (void) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283: extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__));
160283: extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
160283: extern long int nrand48 (unsigned short int __xsubi[3])
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
160283: extern long int jrand48 (unsigned short int __xsubi[3])
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__));
160283: extern unsigned short int *seed48 (unsigned short int __seed16v[3])
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: struct drand48_data
160283: {
160283: unsigned short int __x[3];
160283: unsigned short int __old_x[3];
160283: unsigned short int __c;
160283: unsigned short int __init;
160283: __extension__ unsigned long long int __a;
160283:
160283: };
160283:
160283:
160283: extern int drand48_r (struct drand48_data *__restrict __buffer,
160283: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: extern int erand48_r (unsigned short int __xsubi[3],
160283: struct drand48_data *__restrict __buffer,
160283: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern int lrand48_r (struct drand48_data *__restrict __buffer,
160283: long int *__restrict __result)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: extern int nrand48_r (unsigned short int __xsubi[3],
160283: struct drand48_data *__restrict __buffer,
160283: long int *__restrict __result)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern int mrand48_r (struct drand48_data *__restrict __buffer,
160283: long int *__restrict __result)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: extern int jrand48_r (unsigned short int __xsubi[3],
160283: struct drand48_data *__restrict __buffer,
160283: long int *__restrict __result)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283: extern int seed48_r (unsigned short int __seed16v[3],
160283: struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283: extern int lcong48_r (unsigned short int __param[7],
160283: struct drand48_data *__buffer)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern __uint32_t arc4random (void)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: extern void arc4random_buf (void *__buf, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283: extern __uint32_t arc4random_uniform (__uint32_t __upper_bound)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
160283: __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283: extern void *calloc (size_t __nmemb, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern void *realloc (void *__ptr, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2)));
160283:
160283:
160283: extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
160283: __attribute__ ((__alloc_size__ (2, 3)))
160283: __attribute__ ((__malloc__ (__builtin_free, 1)));
160283:
160283:
160283: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__ (reallocarray, 1)));
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/alloca.h" 1 3 4
160283: # 24 "/usr/include/m68k-linux-gnu/alloca.h" 3 4
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 25 "/usr/include/m68k-linux-gnu/alloca.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: # 707 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283: extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
160283: __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern void *aligned_alloc (size_t __alignment, size_t __size)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_align__ (1)))
160283: __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283: extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)) __attribute__ ((__cold__));
160283:
160283:
160283:
160283: extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
160283:
160283:
160283:
160283:
160283:
160283: extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
160283:
160283:
160283:
160283:
160283:
160283: extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
160283:
160283:
160283:
160283:
160283: extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 786 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern int setenv (const char *__name, const char *__value, int __replace)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283: extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__));
160283: # 814 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: # 830 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int mkstemp (char *__template) __asm__ ("" "mkstemp64")
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 852 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64")
160283: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 870 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 923 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int system (const char *__command) __attribute__ ((__warn_unused_result__));
160283: # 940 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern char *realpath (const char *__restrict __name,
160283: char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef int (*__compar_fn_t) (const void *, const void *);
160283: # 960 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern void *bsearch (const void *__key, const void *__base,
160283: size_t __nmemb, size_t __size, __compar_fn_t __compar)
160283: __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib-bsearch.h" 1 3 4
160283: # 19 "/usr/include/m68k-linux-gnu/bits/stdlib-bsearch.h" 3 4
160283: extern __inline __attribute__ ((__gnu_inline__)) void *
160283: bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
160283: __compar_fn_t __compar)
160283: {
160283: const void *__p;
160283: int __comparison;
160283:
160283: while (__nmemb)
160283: {
160283: __p = (const void *) (((const char *) __base) + ((__nmemb >> 1) * __size));
160283: __comparison = (*__compar) (__key, __p);
160283: if (__comparison == 0)
160283: {
160283:
160283: #pragma GCC diagnostic push
160283: #pragma GCC diagnostic ignored "-Wcast-qual"
160283:
160283: return (void *) __p;
160283:
160283: #pragma GCC diagnostic pop
160283:
160283: }
160283: if (__comparison > 0)
160283: {
160283: __base = ((const char *) __p) + __size;
160283: --__nmemb;
160283: }
160283: __nmemb >>= 1;
160283: }
160283:
160283: return ((void *)0);
160283: }
160283: # 966 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283:
160283:
160283: extern void qsort (void *__base, size_t __nmemb, size_t __size,
160283: __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
160283: # 980 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
160283: extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: __extension__ extern long long int llabs (long long int __x)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern div_t div (int __numer, int __denom)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
160283: extern ldiv_t ldiv (long int __numer, long int __denom)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283: __extension__ extern lldiv_t lldiv (long long int __numer,
160283: long long int __denom)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
160283: # 1012 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
160283: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
160283: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern char *gcvt (double __value, int __ndigit, char *__buf)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern char *qecvt (long double __value, int __ndigit,
160283: int *__restrict __decpt, int *__restrict __sign)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
160283: extern char *qfcvt (long double __value, int __ndigit,
160283: int *__restrict __decpt, int *__restrict __sign)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
160283: extern char *qgcvt (long double __value, int __ndigit, char *__buf)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
160283:
160283:
160283:
160283:
160283: extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
160283: int *__restrict __sign, char *__restrict __buf,
160283: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
160283: extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
160283: int *__restrict __sign, char *__restrict __buf,
160283: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
160283:
160283: extern int qecvt_r (long double __value, int __ndigit,
160283: int *__restrict __decpt, int *__restrict __sign,
160283: char *__restrict __buf, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
160283: extern int qfcvt_r (long double __value, int __ndigit,
160283: int *__restrict __decpt, int *__restrict __sign,
160283: char *__restrict __buf, size_t __len)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
160283:
160283:
160283:
160283:
160283:
160283: extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern int mbtowc (wchar_t *__restrict __pwc,
160283: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283: extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: extern size_t mbstowcs (wchar_t *__restrict __pwcs,
160283: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__read_only__, 2)));
160283:
160283: extern size_t wcstombs (char *__restrict __s,
160283: const wchar_t *__restrict __pwcs, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 3)))
160283: __attribute__ ((__access__ (__read_only__, 2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
160283: # 1099 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int getsubopt (char **__restrict __optionp,
160283: char *const *__restrict __tokens,
160283: char **__restrict __valuep)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
160283: # 1145 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: extern int getloadavg (double __loadavg[], int __nelem)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: # 1155 "/usr/include/m68k-linux-gnu/stdlib.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib-float.h" 1 3 4
160283: # 24 "/usr/include/m68k-linux-gnu/bits/stdlib-float.h" 3 4
160283: extern __inline __attribute__ ((__gnu_inline__)) double
160283: __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr)
160283: {
160283: return strtod (__nptr, (char **) ((void *)0));
160283: }
160283: # 1156 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib.h" 1 3 4
160283: # 23 "/usr/include/m68k-linux-gnu/bits/stdlib.h" 3 4
160283: extern char *__realpath_chk (const char *__restrict __name,
160283: char *__restrict __resolved,
160283: size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__warn_unused_result__));
160283: extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__warn_unused_result__))
160283: __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")))
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char * __restrict __resolved)
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: {
160283: size_t __sz = __builtin_object_size (__resolved, 2 > 1);
160283:
160283: if (__sz == (size_t) -1)
160283: return __realpath_alias (__name, __resolved);
160283:
160283:
160283:
160283:
160283:
160283: return __realpath_chk (__name, __resolved, __sz);
160283: }
160283:
160283:
160283: extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
160283: size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")))
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char * __buf, size_t __buflen)
160283:
160283:
160283:
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ptsname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
160283:
160283: ;
160283: }
160283:
160283:
160283: extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
160283: extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__warn_unused_result__));
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
160283: __attribute__ ((__nothrow__ , __leaf__)) wctomb (char * __s, wchar_t __wchar)
160283: {
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1
160283: && 16 > __builtin_object_size (__s, 2 > 1))
160283: return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
160283: return __wctomb_alias (__s, __wchar);
160283: }
160283:
160283:
160283: extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
160283: const char *__restrict __src,
160283: size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
160283: extern size_t __mbstowcs_nulldst (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__access__ (__read_only__, 2)));
160283: extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
160283: extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
160283: __attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t * __restrict __dst, const char *__restrict __src, size_t __len)
160283:
160283:
160283:
160283:
160283:
160283: {
160283: if (__builtin_constant_p (__dst == ((void *)0)) && __dst == ((void *)0))
160283: return __mbstowcs_nulldst (__dst, __src, __len);
160283: else
160283: return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t)))))) ? __mbstowcs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) ? __mbstowcs_chk_warn (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))) : __mbstowcs_chk (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))))
160283: ;
160283: }
160283:
160283: extern size_t __wcstombs_chk (char *__restrict __dst,
160283: const wchar_t *__restrict __src,
160283: size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__))
160283: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
160283: extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
160283: extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283:
160283:
160283: __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
160283: __attribute__ ((__nothrow__ , __leaf__)) wcstombs (char * __restrict __dst, const wchar_t *__restrict __src, size_t __len)
160283:
160283:
160283: {
160283: return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char)))))) ? __wcstombs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) ? __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)) : __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1))))
160283:
160283: ;
160283: }
160283: # 1160 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
160283: # 1163 "/usr/include/m68k-linux-gnu/stdlib.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283: # 19 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283: # 1 "/usr/include/m68k-linux-gnu/string.h" 1 3 4
160283: # 26 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
160283: # 27 "/usr/include/m68k-linux-gnu/string.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 34 "/usr/include/m68k-linux-gnu/string.h" 2 3 4
160283: # 43 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
160283: size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern void *memmove (void *__dest, const void *__src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283:
160283: extern void *memccpy (void *__restrict __dest, const void *__restrict __src,
160283: int __c, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 4)));
160283:
160283:
160283:
160283:
160283: extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283: extern int memcmp (const void *__s1, const void *__s2, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283: # 80 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern int __memcmpeq (const void *__s1, const void *__s2, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283: # 107 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern void *memchr (const void *__s, int __c, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283: # 141 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283: extern char *strncpy (char *__restrict __dest,
160283: const char *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern char *strcat (char *__restrict __dest, const char *__restrict __src)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283: extern char *strncat (char *__restrict __dest, const char *__restrict __src,
160283: size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern int strcmp (const char *__s1, const char *__s2)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283: extern int strncmp (const char *__s1, const char *__s2, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern int strcoll (const char *__s1, const char *__s2)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283: extern size_t strxfrm (char *__restrict __dest,
160283: const char *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 1, 3)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
160283:
160283:
160283: extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
160283: locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)))
160283: __attribute__ ((__access__ (__write_only__, 1, 3)));
160283:
160283:
160283:
160283:
160283:
160283: extern char *strdup (const char *__s)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern char *strndup (const char *__string, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
160283: # 246 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strchr (const char *__s, int __c)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283: # 273 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strrchr (const char *__s, int __c)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283: # 286 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strchrnul (const char *__s, int __c)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283: extern size_t strcspn (const char *__s, const char *__reject)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern size_t strspn (const char *__s, const char *__accept)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283: # 323 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strpbrk (const char *__s, const char *__accept)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283: # 350 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strstr (const char *__haystack, const char *__needle)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283: extern char *strtok (char *__restrict __s, const char *__restrict __delim)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
160283:
160283:
160283:
160283: extern char *__strtok_r (char *__restrict __s,
160283: const char *__restrict __delim,
160283: char **__restrict __save_ptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
160283:
160283: extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
160283: char **__restrict __save_ptr)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
160283: # 380 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strcasestr (const char *__haystack, const char *__needle)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern void *memmem (const void *__haystack, size_t __haystacklen,
160283: const void *__needle, size_t __needlelen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)))
160283: __attribute__ ((__access__ (__read_only__, 1, 2)))
160283: __attribute__ ((__access__ (__read_only__, 3, 4)));
160283:
160283:
160283:
160283: extern void *__mempcpy (void *__restrict __dest,
160283: const void *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: extern void *mempcpy (void *__restrict __dest,
160283: const void *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283: extern size_t strlen (const char *__s)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern size_t strnlen (const char *__string, size_t __maxlen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283: extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__));
160283: # 432 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: __attribute__ ((__nonnull__ (2)))
160283: __attribute__ ((__access__ (__write_only__, 2, 3)));
160283: # 458 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/strings.h" 1 3 4
160283: # 23 "/usr/include/m68k-linux-gnu/strings.h" 3 4
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stddef.h" 1 3 4
160283: # 24 "/usr/include/m68k-linux-gnu/strings.h" 2 3 4
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int bcmp (const void *__s1, const void *__s2, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern void bcopy (const void *__src, void *__dest, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
160283: # 68 "/usr/include/m68k-linux-gnu/strings.h" 3 4
160283: extern char *index (const char *__s, int __c)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283: # 96 "/usr/include/m68k-linux-gnu/strings.h" 3 4
160283: extern char *rindex (const char *__s, int __c)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283:
160283:
160283:
160283:
160283:
160283: extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283: __extension__ extern int ffsll (long long int __ll)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
160283:
160283:
160283:
160283: extern int strcasecmp (const char *__s1, const char *__s2)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283:
160283:
160283: extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
160283:
160283:
160283:
160283: extern int strncasecmp_l (const char *__s1, const char *__s2,
160283: size_t __n, locale_t __loc)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: # 1 "/usr/include/m68k-linux-gnu/bits/strings_fortified.h" 1 3 4
160283: # 22 "/usr/include/m68k-linux-gnu/bits/strings_fortified.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
160283: __attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len)
160283: {
160283: (void) __builtin___memmove_chk (__dest, __src, __len,
160283: __builtin_object_size (__dest, 0));
160283: }
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
160283: __attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len)
160283: {
160283: (void) __builtin___memset_chk (__dest, '\0', __len,
160283: __builtin_object_size (__dest, 0));
160283: }
160283: # 145 "/usr/include/m68k-linux-gnu/strings.h" 2 3 4
160283: # 463 "/usr/include/m68k-linux-gnu/string.h" 2 3 4
160283:
160283:
160283:
160283: extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
160283: __attribute__ ((__access__ (__write_only__, 1, 2)));
160283:
160283:
160283:
160283: extern char *strsep (char **__restrict __stringp,
160283: const char *__restrict __delim)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283: extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
160283: # 489 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283: extern char *__stpncpy (char *__restrict __dest,
160283: const char *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283: extern char *stpncpy (char *__restrict __dest,
160283: const char *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
160283:
160283:
160283:
160283:
160283: extern size_t strlcpy (char *__restrict __dest,
160283: const char *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 3)));
160283:
160283:
160283:
160283: extern size_t strlcat (char *__restrict __dest,
160283: const char *__restrict __src, size_t __n)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__read_write__, 1, 3)));
160283: # 548 "/usr/include/m68k-linux-gnu/string.h" 3 4
160283: # 1 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 1 3 4
160283: # 25 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
160283: __attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len)
160283:
160283: {
160283: return __builtin___memcpy_chk (__dest, __src, __len,
160283: __builtin_object_size (__dest, 0));
160283: }
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
160283: __attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len)
160283: {
160283: return __builtin___memmove_chk (__dest, __src, __len,
160283: __builtin_object_size (__dest, 0));
160283: }
160283: # 56 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
160283: __attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len)
160283: {
160283: return __builtin___memset_chk (__dest, __ch, __len,
160283: __builtin_object_size (__dest, 0));
160283: }
160283:
160283:
160283:
160283:
160283: void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
160283: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
160283: __attribute__ ((__nothrow__ , __leaf__)) explicit_bzero (void *__dest, size_t __len)
160283: {
160283: __explicit_bzero_chk (__dest, __len, __builtin_object_size (__dest, 0));
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) strcpy (char * __restrict __dest, const char *__restrict __src)
160283:
160283:
160283: {
160283: return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) stpcpy (char * __restrict __dest, const char *__restrict __src)
160283:
160283:
160283: {
160283: return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
160283: }
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) strncpy (char * __restrict __dest, const char *__restrict __src, size_t __len)
160283:
160283:
160283: {
160283: return __builtin___strncpy_chk (__dest, __src, __len,
160283: __builtin_object_size (__dest, 2 > 1));
160283: }
160283:
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) stpncpy (char * __dest, const char *__src, size_t __n)
160283:
160283:
160283: {
160283: return __builtin___stpncpy_chk (__dest, __src, __n,
160283: __builtin_object_size (__dest, 2 > 1));
160283: }
160283: # 135 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) strcat (char * __restrict __dest, const char *__restrict __src)
160283:
160283:
160283: {
160283: return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
160283: }
160283:
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
160283: __attribute__ ((__nothrow__ , __leaf__)) strncat (char * __restrict __dest, const char *__restrict __src, size_t __len)
160283:
160283:
160283: {
160283: return __builtin___strncat_chk (__dest, __src, __len,
160283: __builtin_object_size (__dest, 2 > 1));
160283: }
160283:
160283:
160283: extern size_t __strlcpy_chk (char *__dest, const char *__src, size_t __n,
160283: size_t __destlen) __attribute__ ((__nothrow__ , __leaf__));
160283: extern size_t __strlcpy_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "strlcpy") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
160283: __attribute__ ((__nothrow__ , __leaf__)) strlcpy (char * __restrict __dest, const char *__restrict __src, size_t __n)
160283:
160283:
160283: {
160283: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1
160283: && (!__builtin_constant_p (__n > __builtin_object_size (__dest, 2 > 1))
160283: || __n > __builtin_object_size (__dest, 2 > 1)))
160283: return __strlcpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1));
160283: return __strlcpy_alias (__dest, __src, __n);
160283: }
160283:
160283: extern size_t __strlcat_chk (char *__dest, const char *__src, size_t __n,
160283: size_t __destlen) __attribute__ ((__nothrow__ , __leaf__));
160283: extern size_t __strlcat_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "strlcat") __attribute__ ((__nothrow__ , __leaf__))
160283:
160283: ;
160283:
160283: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
160283: __attribute__ ((__nothrow__ , __leaf__)) strlcat (char * __restrict __dest, const char *__restrict __src, size_t __n)
160283:
160283: {
160283: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1
160283: && (!__builtin_constant_p (__n > __builtin_object_size (__dest, 2 > 1))
160283: || __n > __builtin_object_size (__dest, 2 > 1)))
160283: return __strlcat_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1));
160283: return __strlcat_alias (__dest, __src, __n);
160283: }
160283: # 549 "/usr/include/m68k-linux-gnu/string.h" 2 3 4
160283:
160283:
160283:
160283:
160283: # 20 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283: # 1 "/usr/include/m68k-linux-gnu/assert.h" 1 3 4
160283: # 21 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283: # 1 "./sqlite3.h" 1
160283: # 35 "./sqlite3.h"
160283: # 1 "/usr/lib/gcc/m68k-linux-gnu/15/include/stdarg.h" 1 3 4
160283: # 36 "./sqlite3.h" 2
160283: # 185 "./sqlite3.h"
160283:
160283: # 185 "./sqlite3.h"
160283: extern const char sqlite3_version[];
160283: const char *sqlite3_libversion(void);
160283: const char *sqlite3_sourceid(void);
160283: int sqlite3_libversion_number(void);
160283: # 213 "./sqlite3.h"
160283: int sqlite3_compileoption_used(const char *zOptName);
160283: const char *sqlite3_compileoption_get(int N);
160283: # 256 "./sqlite3.h"
160283: int sqlite3_threadsafe(void);
160283: # 272 "./sqlite3.h"
160283: typedef struct sqlite3 sqlite3;
160283: # 301 "./sqlite3.h"
160283: typedef long long int sqlite_int64;
160283: typedef unsigned long long int sqlite_uint64;
160283:
160283: typedef sqlite_int64 sqlite3_int64;
160283: typedef sqlite_uint64 sqlite3_uint64;
160283: # 353 "./sqlite3.h"
160283: int sqlite3_close(sqlite3*);
160283: int sqlite3_close_v2(sqlite3*);
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef int (*sqlite3_callback)(void*,int,char**, char**);
160283: # 427 "./sqlite3.h"
160283: int sqlite3_exec(
160283: sqlite3*,
160283: const char *sql,
160283: int (*callback)(void*,int,char**,char**),
160283: void *,
160283: char **errmsg
160283: );
160283: # 730 "./sqlite3.h"
160283: typedef struct sqlite3_file sqlite3_file;
160283: struct sqlite3_file {
160283: const struct sqlite3_io_methods *pMethods;
160283: };
160283: # 836 "./sqlite3.h"
160283: typedef struct sqlite3_io_methods sqlite3_io_methods;
160283: struct sqlite3_io_methods {
160283: int iVersion;
160283: int (*xClose)(sqlite3_file*);
160283: int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
160283: int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
160283: int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
160283: int (*xSync)(sqlite3_file*, int flags);
160283: int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
160283: int (*xLock)(sqlite3_file*, int);
160283: int (*xUnlock)(sqlite3_file*, int);
160283: int (*xCheckReservedLock)(sqlite3_file*, int *pResOut);
160283: int (*xFileControl)(sqlite3_file*, int op, void *pArg);
160283: int (*xSectorSize)(sqlite3_file*);
160283: int (*xDeviceCharacteristics)(sqlite3_file*);
160283:
160283: int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
160283: int (*xShmLock)(sqlite3_file*, int offset, int n, int flags);
160283: void (*xShmBarrier)(sqlite3_file*);
160283: int (*xShmUnmap)(sqlite3_file*, int deleteFlag);
160283:
160283: int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
160283: int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
160283:
160283:
160283: };
160283: # 1264 "./sqlite3.h"
160283: typedef struct sqlite3_mutex sqlite3_mutex;
160283: # 1274 "./sqlite3.h"
160283: typedef struct sqlite3_api_routines sqlite3_api_routines;
160283: # 1294 "./sqlite3.h"
160283: typedef const char *sqlite3_filename;
160283: # 1465 "./sqlite3.h"
160283: typedef struct sqlite3_vfs sqlite3_vfs;
160283: typedef void (*sqlite3_syscall_ptr)(void);
160283: struct sqlite3_vfs {
160283: int iVersion;
160283: int szOsFile;
160283: int mxPathname;
160283: sqlite3_vfs *pNext;
160283: const char *zName;
160283: void *pAppData;
160283: int (*xOpen)(sqlite3_vfs*, sqlite3_filename zName, sqlite3_file*,
160283: int flags, int *pOutFlags);
160283: int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir);
160283: int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut);
160283: int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
160283: void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename);
160283: void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg);
160283: void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(void);
160283: void (*xDlClose)(sqlite3_vfs*, void*);
160283: int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut);
160283: int (*xSleep)(sqlite3_vfs*, int microseconds);
160283: int (*xCurrentTime)(sqlite3_vfs*, double*);
160283: int (*xGetLastError)(sqlite3_vfs*, int, char *);
160283:
160283:
160283:
160283:
160283: int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*);
160283:
160283:
160283:
160283:
160283: int (*xSetSystemCall)(sqlite3_vfs*, const char *zName, sqlite3_syscall_ptr);
160283: sqlite3_syscall_ptr (*xGetSystemCall)(sqlite3_vfs*, const char *zName);
160283: const char *(*xNextSystemCall)(sqlite3_vfs*, const char *zName);
160283:
160283:
160283:
160283:
160283:
160283: };
160283: # 1643 "./sqlite3.h"
160283: int sqlite3_initialize(void);
160283: int sqlite3_shutdown(void);
160283: int sqlite3_os_init(void);
160283: int sqlite3_os_end(void);
160283: # 1682 "./sqlite3.h"
160283: int sqlite3_config(int, ...);
160283: # 1701 "./sqlite3.h"
160283: int sqlite3_db_config(sqlite3*, int op, ...);
160283: # 1766 "./sqlite3.h"
160283: typedef struct sqlite3_mem_methods sqlite3_mem_methods;
160283: struct sqlite3_mem_methods {
160283: void *(*xMalloc)(int);
160283: void (*xFree)(void*);
160283: void *(*xRealloc)(void*,int);
160283: int (*xSize)(void*);
160283: int (*xRoundup)(int);
160283: int (*xInit)(void*);
160283: void (*xShutdown)(void*);
160283: void *pAppData;
160283: };
160283: # 2543 "./sqlite3.h"
160283: int sqlite3_extended_result_codes(sqlite3*, int onoff);
160283: # 2605 "./sqlite3.h"
160283: sqlite3_int64 sqlite3_last_insert_rowid(sqlite3*);
160283: # 2615 "./sqlite3.h"
160283: void sqlite3_set_last_insert_rowid(sqlite3*,sqlite3_int64);
160283: # 2676 "./sqlite3.h"
160283: int sqlite3_changes(sqlite3*);
160283: sqlite3_int64 sqlite3_changes64(sqlite3*);
160283: # 2718 "./sqlite3.h"
160283: int sqlite3_total_changes(sqlite3*);
160283: sqlite3_int64 sqlite3_total_changes64(sqlite3*);
160283: # 2760 "./sqlite3.h"
160283: void sqlite3_interrupt(sqlite3*);
160283: int sqlite3_is_interrupted(sqlite3*);
160283: # 2796 "./sqlite3.h"
160283: int sqlite3_complete(const char *sql);
160283: int sqlite3_complete16(const void *sql);
160283: # 2858 "./sqlite3.h"
160283: int sqlite3_busy_handler(sqlite3*,int(*)(void*,int),void*);
160283: # 2881 "./sqlite3.h"
160283: int sqlite3_busy_timeout(sqlite3*, int ms);
160283: # 2956 "./sqlite3.h"
160283: int sqlite3_get_table(
160283: sqlite3 *db,
160283: const char *zSql,
160283: char ***pazResult,
160283: int *pnRow,
160283: int *pnColumn,
160283: char **pzErrmsg
160283: );
160283: void sqlite3_free_table(char **result);
160283: # 3006 "./sqlite3.h"
160283: char *sqlite3_mprintf(const char*,...);
160283: char *sqlite3_vmprintf(const char*, va_list);
160283: char *sqlite3_snprintf(int,char*,const char*, ...);
160283: char *sqlite3_vsnprintf(int,char*,const char*, va_list);
160283: # 3086 "./sqlite3.h"
160283: void *sqlite3_malloc(int);
160283: void *sqlite3_malloc64(sqlite3_uint64);
160283: void *sqlite3_realloc(void*, int);
160283: void *sqlite3_realloc64(void*, sqlite3_uint64);
160283: void sqlite3_free(void*);
160283: sqlite3_uint64 sqlite3_msize(void*);
160283: # 3116 "./sqlite3.h"
160283: sqlite3_int64 sqlite3_memory_used(void);
160283: sqlite3_int64 sqlite3_memory_highwater(int resetFlag);
160283: # 3140 "./sqlite3.h"
160283: void sqlite3_randomness(int N, void *P);
160283: # 3231 "./sqlite3.h"
160283: int sqlite3_set_authorizer(
160283: sqlite3*,
160283: int (*xAuth)(void*,int,const char*,const char*,const char*,const char*),
160283: void *pUserData
160283: );
160283: # 3339 "./sqlite3.h"
160283: void *sqlite3_trace(sqlite3*,
160283: void(*xTrace)(void*,const char*), void*);
160283: void *sqlite3_profile(sqlite3*,
160283: void(*xProfile)(void*,const char*,sqlite3_uint64), void*);
160283: # 3432 "./sqlite3.h"
160283: int sqlite3_trace_v2(
160283: sqlite3*,
160283: unsigned uMask,
160283: int(*xCallback)(unsigned,void*,void*,void*),
160283: void *pCtx
160283: );
160283: # 3478 "./sqlite3.h"
160283: void sqlite3_progress_handler(sqlite3*, int, int(*)(void*), void*);
160283: # 3758 "./sqlite3.h"
160283: int sqlite3_open(
160283: const char *filename,
160283: sqlite3 **ppDb
160283: );
160283: int sqlite3_open16(
160283: const void *filename,
160283: sqlite3 **ppDb
160283: );
160283: int sqlite3_open_v2(
160283: const char *filename,
160283: sqlite3 **ppDb,
160283: int flags,
160283: const char *zVfs
160283: );
160283: # 3839 "./sqlite3.h"
160283: const char *sqlite3_uri_parameter(sqlite3_filename z, const char *zParam);
160283: int sqlite3_uri_boolean(sqlite3_filename z, const char *zParam, int bDefault);
160283: sqlite3_int64 sqlite3_uri_int64(sqlite3_filename, const char*, sqlite3_int64);
160283: const char *sqlite3_uri_key(sqlite3_filename z, int N);
160283: # 3871 "./sqlite3.h"
160283: const char *sqlite3_filename_database(sqlite3_filename);
160283: const char *sqlite3_filename_journal(sqlite3_filename);
160283: const char *sqlite3_filename_wal(sqlite3_filename);
160283: # 3892 "./sqlite3.h"
160283: sqlite3_file *sqlite3_database_file_object(const char*);
160283: # 3939 "./sqlite3.h"
160283: sqlite3_filename sqlite3_create_filename(
160283: const char *zDatabase,
160283: const char *zJournal,
160283: const char *zWal,
160283: int nParam,
160283: const char **azParam
160283: );
160283: void sqlite3_free_filename(sqlite3_filename);
160283: # 4011 "./sqlite3.h"
160283: int sqlite3_errcode(sqlite3 *db);
160283: int sqlite3_extended_errcode(sqlite3 *db);
160283: const char *sqlite3_errmsg(sqlite3*);
160283: const void *sqlite3_errmsg16(sqlite3*);
160283: const char *sqlite3_errstr(int);
160283: int sqlite3_error_offset(sqlite3 *db);
160283: # 4042 "./sqlite3.h"
160283: typedef struct sqlite3_stmt sqlite3_stmt;
160283: # 4084 "./sqlite3.h"
160283: int sqlite3_limit(sqlite3*, int id, int newVal);
160283: # 4294 "./sqlite3.h"
160283: int sqlite3_prepare(
160283: sqlite3 *db,
160283: const char *zSql,
160283: int nByte,
160283: sqlite3_stmt **ppStmt,
160283: const char **pzTail
160283: );
160283: int sqlite3_prepare_v2(
160283: sqlite3 *db,
160283: const char *zSql,
160283: int nByte,
160283: sqlite3_stmt **ppStmt,
160283: const char **pzTail
160283: );
160283: int sqlite3_prepare_v3(
160283: sqlite3 *db,
160283: const char *zSql,
160283: int nByte,
160283: unsigned int prepFlags,
160283: sqlite3_stmt **ppStmt,
160283: const char **pzTail
160283: );
160283: int sqlite3_prepare16(
160283: sqlite3 *db,
160283: const void *zSql,
160283: int nByte,
160283: sqlite3_stmt **ppStmt,
160283: const void **pzTail
160283: );
160283: int sqlite3_prepare16_v2(
160283: sqlite3 *db,
160283: const void *zSql,
160283: int nByte,
160283: sqlite3_stmt **ppStmt,
160283: const void **pzTail
160283: );
160283: int sqlite3_prepare16_v3(
160283: sqlite3 *db,
160283: const void *zSql,
160283: int nByte,
160283: unsigned int prepFlags,
160283: sqlite3_stmt **ppStmt,
160283: const void **pzTail
160283: );
160283: # 4380 "./sqlite3.h"
160283: const char *sqlite3_sql(sqlite3_stmt *pStmt);
160283: char *sqlite3_expanded_sql(sqlite3_stmt *pStmt);
160283: # 4433 "./sqlite3.h"
160283: int sqlite3_stmt_readonly(sqlite3_stmt *pStmt);
160283: # 4445 "./sqlite3.h"
160283: int sqlite3_stmt_isexplain(sqlite3_stmt *pStmt);
160283: # 4480 "./sqlite3.h"
160283: int sqlite3_stmt_explain(sqlite3_stmt *pStmt, int eMode);
160283: # 4501 "./sqlite3.h"
160283: int sqlite3_stmt_busy(sqlite3_stmt*);
160283: # 4545 "./sqlite3.h"
160283: typedef struct sqlite3_value sqlite3_value;
160283: # 4559 "./sqlite3.h"
160283: typedef struct sqlite3_context sqlite3_context;
160283: # 4701 "./sqlite3.h"
160283: int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*));
160283: int sqlite3_bind_blob64(sqlite3_stmt*, int, const void*, sqlite3_uint64,
160283: void(*)(void*));
160283: int sqlite3_bind_double(sqlite3_stmt*, int, double);
160283: int sqlite3_bind_int(sqlite3_stmt*, int, int);
160283: int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64);
160283: int sqlite3_bind_null(sqlite3_stmt*, int);
160283: int sqlite3_bind_text(sqlite3_stmt*,int,const char*,int,void(*)(void*));
160283: int sqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void(*)(void*));
160283: int sqlite3_bind_text64(sqlite3_stmt*, int, const char*, sqlite3_uint64,
160283: void(*)(void*), unsigned char encoding);
160283: int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
160283: int sqlite3_bind_pointer(sqlite3_stmt*, int, void*, const char*,void(*)(void*));
160283: int sqlite3_bind_zeroblob(sqlite3_stmt*, int, int n);
160283: int sqlite3_bind_zeroblob64(sqlite3_stmt*, int, sqlite3_uint64);
160283: # 4736 "./sqlite3.h"
160283: int sqlite3_bind_parameter_count(sqlite3_stmt*);
160283: # 4764 "./sqlite3.h"
160283: const char *sqlite3_bind_parameter_name(sqlite3_stmt*, int);
160283: # 4782 "./sqlite3.h"
160283: int sqlite3_bind_parameter_index(sqlite3_stmt*, const char *zName);
160283: # 4792 "./sqlite3.h"
160283: int sqlite3_clear_bindings(sqlite3_stmt*);
160283: # 4808 "./sqlite3.h"
160283: int sqlite3_column_count(sqlite3_stmt *pStmt);
160283: # 4837 "./sqlite3.h"
160283: const char *sqlite3_column_name(sqlite3_stmt*, int N);
160283: const void *sqlite3_column_name16(sqlite3_stmt*, int N);
160283: # 4882 "./sqlite3.h"
160283: const char *sqlite3_column_database_name(sqlite3_stmt*,int);
160283: const void *sqlite3_column_database_name16(sqlite3_stmt*,int);
160283: const char *sqlite3_column_table_name(sqlite3_stmt*,int);
160283: const void *sqlite3_column_table_name16(sqlite3_stmt*,int);
160283: const char *sqlite3_column_origin_name(sqlite3_stmt*,int);
160283: const void *sqlite3_column_origin_name16(sqlite3_stmt*,int);
160283: # 4919 "./sqlite3.h"
160283: const char *sqlite3_column_decltype(sqlite3_stmt*,int);
160283: const void *sqlite3_column_decltype16(sqlite3_stmt*,int);
160283: # 5004 "./sqlite3.h"
160283: int sqlite3_step(sqlite3_stmt*);
160283: # 5025 "./sqlite3.h"
160283: int sqlite3_data_count(sqlite3_stmt *pStmt);
160283: # 5272 "./sqlite3.h"
160283: const void *sqlite3_column_blob(sqlite3_stmt*, int iCol);
160283: double sqlite3_column_double(sqlite3_stmt*, int iCol);
160283: int sqlite3_column_int(sqlite3_stmt*, int iCol);
160283: sqlite3_int64 sqlite3_column_int64(sqlite3_stmt*, int iCol);
160283: const unsigned char *sqlite3_column_text(sqlite3_stmt*, int iCol);
160283: const void *sqlite3_column_text16(sqlite3_stmt*, int iCol);
160283: sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
160283: int sqlite3_column_bytes(sqlite3_stmt*, int iCol);
160283: int sqlite3_column_bytes16(sqlite3_stmt*, int iCol);
160283: int sqlite3_column_type(sqlite3_stmt*, int iCol);
160283: # 5309 "./sqlite3.h"
160283: int sqlite3_finalize(sqlite3_stmt *pStmt);
160283: # 5348 "./sqlite3.h"
160283: int sqlite3_reset(sqlite3_stmt *pStmt);
160283: # 5474 "./sqlite3.h"
160283: int sqlite3_create_function(
160283: sqlite3 *db,
160283: const char *zFunctionName,
160283: int nArg,
160283: int eTextRep,
160283: void *pApp,
160283: void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xStep)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xFinal)(sqlite3_context*)
160283: );
160283: int sqlite3_create_function16(
160283: sqlite3 *db,
160283: const void *zFunctionName,
160283: int nArg,
160283: int eTextRep,
160283: void *pApp,
160283: void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xStep)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xFinal)(sqlite3_context*)
160283: );
160283: int sqlite3_create_function_v2(
160283: sqlite3 *db,
160283: const char *zFunctionName,
160283: int nArg,
160283: int eTextRep,
160283: void *pApp,
160283: void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xStep)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xFinal)(sqlite3_context*),
160283: void(*xDestroy)(void*)
160283: );
160283: int sqlite3_create_window_function(
160283: sqlite3 *db,
160283: const char *zFunctionName,
160283: int nArg,
160283: int eTextRep,
160283: void *pApp,
160283: void (*xStep)(sqlite3_context*,int,sqlite3_value**),
160283: void (*xFinal)(sqlite3_context*),
160283: void (*xValue)(sqlite3_context*),
160283: void (*xInverse)(sqlite3_context*,int,sqlite3_value**),
160283: void(*xDestroy)(void*)
160283: );
160283: # 5638 "./sqlite3.h"
160283: int sqlite3_aggregate_count(sqlite3_context*);
160283: int sqlite3_expired(sqlite3_stmt*);
160283: int sqlite3_transfer_bindings(sqlite3_stmt*, sqlite3_stmt*);
160283: int sqlite3_global_recover(void);
160283: void sqlite3_thread_cleanup(void);
160283: int sqlite3_memory_alarm(void(*)(void*,sqlite3_int64,int),
160283: void*,sqlite3_int64);
160283: # 5775 "./sqlite3.h"
160283: const void *sqlite3_value_blob(sqlite3_value*);
160283: double sqlite3_value_double(sqlite3_value*);
160283: int sqlite3_value_int(sqlite3_value*);
160283: sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
160283: void *sqlite3_value_pointer(sqlite3_value*, const char*);
160283: const unsigned char *sqlite3_value_text(sqlite3_value*);
160283: const void *sqlite3_value_text16(sqlite3_value*);
160283: const void *sqlite3_value_text16le(sqlite3_value*);
160283: const void *sqlite3_value_text16be(sqlite3_value*);
160283: int sqlite3_value_bytes(sqlite3_value*);
160283: int sqlite3_value_bytes16(sqlite3_value*);
160283: int sqlite3_value_type(sqlite3_value*);
160283: int sqlite3_value_numeric_type(sqlite3_value*);
160283: int sqlite3_value_nochange(sqlite3_value*);
160283: int sqlite3_value_frombind(sqlite3_value*);
160283: # 5811 "./sqlite3.h"
160283: int sqlite3_value_encoding(sqlite3_value*);
160283: # 5829 "./sqlite3.h"
160283: unsigned int sqlite3_value_subtype(sqlite3_value*);
160283: # 5846 "./sqlite3.h"
160283: sqlite3_value *sqlite3_value_dup(const sqlite3_value*);
160283: void sqlite3_value_free(sqlite3_value*);
160283: # 5892 "./sqlite3.h"
160283: void *sqlite3_aggregate_context(sqlite3_context*, int nBytes);
160283: # 5907 "./sqlite3.h"
160283: void *sqlite3_user_data(sqlite3_context*);
160283: # 5919 "./sqlite3.h"
160283: sqlite3 *sqlite3_context_db_handle(sqlite3_context*);
160283: # 5988 "./sqlite3.h"
160283: void *sqlite3_get_auxdata(sqlite3_context*, int N);
160283: void sqlite3_set_auxdata(sqlite3_context*, int N, void*, void (*)(void*));
160283: # 6044 "./sqlite3.h"
160283: void *sqlite3_get_clientdata(sqlite3*,const char*);
160283: int sqlite3_set_clientdata(sqlite3*, const char*, void*, void(*)(void*));
160283: # 6061 "./sqlite3.h"
160283: typedef void (*sqlite3_destructor_type)(void*);
160283: # 6212 "./sqlite3.h"
160283: void sqlite3_result_blob(sqlite3_context*, const void*, int, void(*)(void*));
160283: void sqlite3_result_blob64(sqlite3_context*,const void*,
160283: sqlite3_uint64,void(*)(void*));
160283: void sqlite3_result_double(sqlite3_context*, double);
160283: void sqlite3_result_error(sqlite3_context*, const char*, int);
160283: void sqlite3_result_error16(sqlite3_context*, const void*, int);
160283: void sqlite3_result_error_toobig(sqlite3_context*);
160283: void sqlite3_result_error_nomem(sqlite3_context*);
160283: void sqlite3_result_error_code(sqlite3_context*, int);
160283: void sqlite3_result_int(sqlite3_context*, int);
160283: void sqlite3_result_int64(sqlite3_context*, sqlite3_int64);
160283: void sqlite3_result_null(sqlite3_context*);
160283: void sqlite3_result_text(sqlite3_context*, const char*, int, void(*)(void*));
160283: void sqlite3_result_text64(sqlite3_context*, const char*,sqlite3_uint64,
160283: void(*)(void*), unsigned char encoding);
160283: void sqlite3_result_text16(sqlite3_context*, const void*, int, void(*)(void*));
160283: void sqlite3_result_text16le(sqlite3_context*, const void*, int,void(*)(void*));
160283: void sqlite3_result_text16be(sqlite3_context*, const void*, int,void(*)(void*));
160283: void sqlite3_result_value(sqlite3_context*, sqlite3_value*);
160283: void sqlite3_result_pointer(sqlite3_context*, void*,const char*,void(*)(void*));
160283: void sqlite3_result_zeroblob(sqlite3_context*, int n);
160283: int sqlite3_result_zeroblob64(sqlite3_context*, sqlite3_uint64 n);
160283: # 6262 "./sqlite3.h"
160283: void sqlite3_result_subtype(sqlite3_context*,unsigned int);
160283: # 6345 "./sqlite3.h"
160283: int sqlite3_create_collation(
160283: sqlite3*,
160283: const char *zName,
160283: int eTextRep,
160283: void *pArg,
160283: int(*xCompare)(void*,int,const void*,int,const void*)
160283: );
160283: int sqlite3_create_collation_v2(
160283: sqlite3*,
160283: const char *zName,
160283: int eTextRep,
160283: void *pArg,
160283: int(*xCompare)(void*,int,const void*,int,const void*),
160283: void(*xDestroy)(void*)
160283: );
160283: int sqlite3_create_collation16(
160283: sqlite3*,
160283: const void *zName,
160283: int eTextRep,
160283: void *pArg,
160283: int(*xCompare)(void*,int,const void*,int,const void*)
160283: );
160283: # 6395 "./sqlite3.h"
160283: int sqlite3_collation_needed(
160283: sqlite3*,
160283: void*,
160283: void(*)(void*,sqlite3*,int eTextRep,const char*)
160283: );
160283: int sqlite3_collation_needed16(
160283: sqlite3*,
160283: void*,
160283: void(*)(void*,sqlite3*,int eTextRep,const void*)
160283: );
160283: # 6440 "./sqlite3.h"
160283: int sqlite3_sleep(int);
160283: # 6498 "./sqlite3.h"
160283: extern char *sqlite3_temp_directory;
160283: # 6535 "./sqlite3.h"
160283: extern char *sqlite3_data_directory;
160283: # 6556 "./sqlite3.h"
160283: int sqlite3_win32_set_directory(
160283: unsigned long type,
160283: void *zValue
160283: );
160283: int sqlite3_win32_set_directory8(unsigned long type, const char *zValue);
160283: int sqlite3_win32_set_directory16(unsigned long type, const void *zValue);
160283: # 6594 "./sqlite3.h"
160283: int sqlite3_get_autocommit(sqlite3*);
160283: # 6607 "./sqlite3.h"
160283: sqlite3 *sqlite3_db_handle(sqlite3_stmt*);
160283: # 6629 "./sqlite3.h"
160283: const char *sqlite3_db_name(sqlite3 *db, int N);
160283: # 6661 "./sqlite3.h"
160283: sqlite3_filename sqlite3_db_filename(sqlite3 *db, const char *zDbName);
160283: # 6671 "./sqlite3.h"
160283: int sqlite3_db_readonly(sqlite3 *db, const char *zDbName);
160283: # 6689 "./sqlite3.h"
160283: int sqlite3_txn_state(sqlite3*,const char *zSchema);
160283: # 6738 "./sqlite3.h"
160283: sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt);
160283: # 6787 "./sqlite3.h"
160283: void *sqlite3_commit_hook(sqlite3*, int(*)(void*), void*);
160283: void *sqlite3_rollback_hook(sqlite3*, void(*)(void *), void*);
160283: # 6848 "./sqlite3.h"
160283: int sqlite3_autovacuum_pages(
160283: sqlite3 *db,
160283: unsigned int(*)(void*,const char*,unsigned int,unsigned int,unsigned int),
160283: void*,
160283: void(*)(void*)
160283: );
160283: # 6911 "./sqlite3.h"
160283: void *sqlite3_update_hook(
160283: sqlite3*,
160283: void(*)(void *,int ,char const *,char const *,sqlite3_int64),
160283: void*
160283: );
160283: # 6961 "./sqlite3.h"
160283: int sqlite3_enable_shared_cache(int);
160283: # 6977 "./sqlite3.h"
160283: int sqlite3_release_memory(int);
160283: # 6991 "./sqlite3.h"
160283: int sqlite3_db_release_memory(sqlite3*);
160283: # 7057 "./sqlite3.h"
160283: sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N);
160283: sqlite3_int64 sqlite3_hard_heap_limit64(sqlite3_int64 N);
160283: # 7069 "./sqlite3.h"
160283: void sqlite3_soft_heap_limit(int N);
160283: # 7141 "./sqlite3.h"
160283: int sqlite3_table_column_metadata(
160283: sqlite3 *db,
160283: const char *zDbName,
160283: const char *zTableName,
160283: const char *zColumnName,
160283: char const **pzDataType,
160283: char const **pzCollSeq,
160283: int *pNotNull,
160283: int *pPrimaryKey,
160283: int *pAutoinc
160283: );
160283: # 7197 "./sqlite3.h"
160283: int sqlite3_load_extension(
160283: sqlite3 *db,
160283: const char *zFile,
160283: const char *zProc,
160283: char **pzErrMsg
160283: );
160283: # 7229 "./sqlite3.h"
160283: int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
160283: # 7267 "./sqlite3.h"
160283: int sqlite3_auto_extension(void(*xEntryPoint)(void));
160283: # 7279 "./sqlite3.h"
160283: int sqlite3_cancel_auto_extension(void(*xEntryPoint)(void));
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: void sqlite3_reset_auto_extension(void);
160283:
160283:
160283:
160283:
160283: typedef struct sqlite3_vtab sqlite3_vtab;
160283: typedef struct sqlite3_index_info sqlite3_index_info;
160283: typedef struct sqlite3_vtab_cursor sqlite3_vtab_cursor;
160283: typedef struct sqlite3_module sqlite3_module;
160283: # 7313 "./sqlite3.h"
160283: struct sqlite3_module {
160283: int iVersion;
160283: int (*xCreate)(sqlite3*, void *pAux,
160283: int argc, const char *const*argv,
160283: sqlite3_vtab **ppVTab, char**);
160283: int (*xConnect)(sqlite3*, void *pAux,
160283: int argc, const char *const*argv,
160283: sqlite3_vtab **ppVTab, char**);
160283: int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
160283: int (*xDisconnect)(sqlite3_vtab *pVTab);
160283: int (*xDestroy)(sqlite3_vtab *pVTab);
160283: int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
160283: int (*xClose)(sqlite3_vtab_cursor*);
160283: int (*xFilter)(sqlite3_vtab_cursor*, int idxNum, const char *idxStr,
160283: int argc, sqlite3_value **argv);
160283: int (*xNext)(sqlite3_vtab_cursor*);
160283: int (*xEof)(sqlite3_vtab_cursor*);
160283: int (*xColumn)(sqlite3_vtab_cursor*, sqlite3_context*, int);
160283: int (*xRowid)(sqlite3_vtab_cursor*, sqlite3_int64 *pRowid);
160283: int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
160283: int (*xBegin)(sqlite3_vtab *pVTab);
160283: int (*xSync)(sqlite3_vtab *pVTab);
160283: int (*xCommit)(sqlite3_vtab *pVTab);
160283: int (*xRollback)(sqlite3_vtab *pVTab);
160283: int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
160283: void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
160283: void **ppArg);
160283: int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
160283:
160283:
160283: int (*xSavepoint)(sqlite3_vtab *pVTab, int);
160283: int (*xRelease)(sqlite3_vtab *pVTab, int);
160283: int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
160283:
160283:
160283: int (*xShadowName)(const char*);
160283:
160283:
160283: int (*xIntegrity)(sqlite3_vtab *pVTab, const char *zSchema,
160283: const char *zTabName, int mFlags, char **pzErr);
160283: };
160283: # 7457 "./sqlite3.h"
160283: struct sqlite3_index_info {
160283:
160283: int nConstraint;
160283: struct sqlite3_index_constraint {
160283: int iColumn;
160283: unsigned char op;
160283: unsigned char usable;
160283: int iTermOffset;
160283: } *aConstraint;
160283: int nOrderBy;
160283: struct sqlite3_index_orderby {
160283: int iColumn;
160283: unsigned char desc;
160283: } *aOrderBy;
160283:
160283: struct sqlite3_index_constraint_usage {
160283: int argvIndex;
160283: unsigned char omit;
160283: } *aConstraintUsage;
160283: int idxNum;
160283: char *idxStr;
160283: int needToFreeIdxStr;
160283: int orderByConsumed;
160283: double estimatedCost;
160283:
160283: sqlite3_int64 estimatedRows;
160283:
160283: int idxFlags;
160283:
160283: sqlite3_uint64 colUsed;
160283: };
160283: # 7586 "./sqlite3.h"
160283: int sqlite3_create_module(
160283: sqlite3 *db,
160283: const char *zName,
160283: const sqlite3_module *p,
160283: void *pClientData
160283: );
160283: int sqlite3_create_module_v2(
160283: sqlite3 *db,
160283: const char *zName,
160283: const sqlite3_module *p,
160283: void *pClientData,
160283: void(*xDestroy)(void*)
160283: );
160283: # 7612 "./sqlite3.h"
160283: int sqlite3_drop_modules(
160283: sqlite3 *db,
160283: const char **azKeep
160283: );
160283: # 7635 "./sqlite3.h"
160283: struct sqlite3_vtab {
160283: const sqlite3_module *pModule;
160283: int nRef;
160283: char *zErrMsg;
160283:
160283: };
160283: # 7659 "./sqlite3.h"
160283: struct sqlite3_vtab_cursor {
160283: sqlite3_vtab *pVtab;
160283:
160283: };
160283: # 7672 "./sqlite3.h"
160283: int sqlite3_declare_vtab(sqlite3*, const char *zSQL);
160283: # 7691 "./sqlite3.h"
160283: int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
160283: # 7705 "./sqlite3.h"
160283: typedef struct sqlite3_blob sqlite3_blob;
160283: # 7790 "./sqlite3.h"
160283: int sqlite3_blob_open(
160283: sqlite3*,
160283: const char *zDb,
160283: const char *zTable,
160283: const char *zColumn,
160283: sqlite3_int64 iRow,
160283: int flags,
160283: sqlite3_blob **ppBlob
160283: );
160283: # 7823 "./sqlite3.h"
160283: int sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64);
160283: # 7846 "./sqlite3.h"
160283: int sqlite3_blob_close(sqlite3_blob *);
160283: # 7862 "./sqlite3.h"
160283: int sqlite3_blob_bytes(sqlite3_blob *);
160283: # 7891 "./sqlite3.h"
160283: int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset);
160283: # 7933 "./sqlite3.h"
160283: int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
160283: # 7964 "./sqlite3.h"
160283: sqlite3_vfs *sqlite3_vfs_find(const char *zVfsName);
160283: int sqlite3_vfs_register(sqlite3_vfs*, int makeDflt);
160283: int sqlite3_vfs_unregister(sqlite3_vfs*);
160283: # 8084 "./sqlite3.h"
160283: sqlite3_mutex *sqlite3_mutex_alloc(int);
160283: void sqlite3_mutex_free(sqlite3_mutex*);
160283: void sqlite3_mutex_enter(sqlite3_mutex*);
160283: int sqlite3_mutex_try(sqlite3_mutex*);
160283: void sqlite3_mutex_leave(sqlite3_mutex*);
160283: # 8155 "./sqlite3.h"
160283: typedef struct sqlite3_mutex_methods sqlite3_mutex_methods;
160283: struct sqlite3_mutex_methods {
160283: int (*xMutexInit)(void);
160283: int (*xMutexEnd)(void);
160283: sqlite3_mutex *(*xMutexAlloc)(int);
160283: void (*xMutexFree)(sqlite3_mutex *);
160283: void (*xMutexEnter)(sqlite3_mutex *);
160283: int (*xMutexTry)(sqlite3_mutex *);
160283: void (*xMutexLeave)(sqlite3_mutex *);
160283: int (*xMutexHeld)(sqlite3_mutex *);
160283: int (*xMutexNotheld)(sqlite3_mutex *);
160283: };
160283: # 8243 "./sqlite3.h"
160283: sqlite3_mutex *sqlite3_db_mutex(sqlite3*);
160283: # 8286 "./sqlite3.h"
160283: int sqlite3_file_control(sqlite3*, const char *zDbName, int op, void*);
160283: # 8305 "./sqlite3.h"
160283: int sqlite3_test_control(int op, ...);
160283: # 8402 "./sqlite3.h"
160283: int sqlite3_keyword_count(void);
160283: int sqlite3_keyword_name(int,const char**,int*);
160283: int sqlite3_keyword_check(const char*,int);
160283: # 8422 "./sqlite3.h"
160283: typedef struct sqlite3_str sqlite3_str;
160283: # 8449 "./sqlite3.h"
160283: sqlite3_str *sqlite3_str_new(sqlite3*);
160283: # 8464 "./sqlite3.h"
160283: char *sqlite3_str_finish(sqlite3_str*);
160283: # 8498 "./sqlite3.h"
160283: void sqlite3_str_appendf(sqlite3_str*, const char *zFormat, ...);
160283: void sqlite3_str_vappendf(sqlite3_str*, const char *zFormat, va_list);
160283: void sqlite3_str_append(sqlite3_str*, const char *zIn, int N);
160283: void sqlite3_str_appendall(sqlite3_str*, const char *zIn);
160283: void sqlite3_str_appendchar(sqlite3_str*, int N, char C);
160283: void sqlite3_str_reset(sqlite3_str*);
160283: # 8534 "./sqlite3.h"
160283: int sqlite3_str_errcode(sqlite3_str*);
160283: int sqlite3_str_length(sqlite3_str*);
160283: char *sqlite3_str_value(sqlite3_str*);
160283: # 8564 "./sqlite3.h"
160283: int sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag);
160283: int sqlite3_status64(
160283: int op,
160283: sqlite3_int64 *pCurrent,
160283: sqlite3_int64 *pHighwater,
160283: int resetFlag
160283: );
160283: # 8674 "./sqlite3.h"
160283: int sqlite3_db_status(sqlite3*, int op, int *pCur, int *pHiwtr, int resetFlg);
160283: # 8827 "./sqlite3.h"
160283: int sqlite3_stmt_status(sqlite3_stmt*, int op,int resetFlg);
160283: # 8915 "./sqlite3.h"
160283: typedef struct sqlite3_pcache sqlite3_pcache;
160283: # 8927 "./sqlite3.h"
160283: typedef struct sqlite3_pcache_page sqlite3_pcache_page;
160283: struct sqlite3_pcache_page {
160283: void *pBuf;
160283: void *pExtra;
160283: };
160283: # 9092 "./sqlite3.h"
160283: typedef struct sqlite3_pcache_methods2 sqlite3_pcache_methods2;
160283: struct sqlite3_pcache_methods2 {
160283: int iVersion;
160283: void *pArg;
160283: int (*xInit)(void*);
160283: void (*xShutdown)(void*);
160283: sqlite3_pcache *(*xCreate)(int szPage, int szExtra, int bPurgeable);
160283: void (*xCachesize)(sqlite3_pcache*, int nCachesize);
160283: int (*xPagecount)(sqlite3_pcache*);
160283: sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
160283: void (*xUnpin)(sqlite3_pcache*, sqlite3_pcache_page*, int discard);
160283: void (*xRekey)(sqlite3_pcache*, sqlite3_pcache_page*,
160283: unsigned oldKey, unsigned newKey);
160283: void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
160283: void (*xDestroy)(sqlite3_pcache*);
160283: void (*xShrink)(sqlite3_pcache*);
160283: };
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef struct sqlite3_pcache_methods sqlite3_pcache_methods;
160283: struct sqlite3_pcache_methods {
160283: void *pArg;
160283: int (*xInit)(void*);
160283: void (*xShutdown)(void*);
160283: sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable);
160283: void (*xCachesize)(sqlite3_pcache*, int nCachesize);
160283: int (*xPagecount)(sqlite3_pcache*);
160283: void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
160283: void (*xUnpin)(sqlite3_pcache*, void*, int discard);
160283: void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);
160283: void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
160283: void (*xDestroy)(sqlite3_pcache*);
160283: };
160283: # 9141 "./sqlite3.h"
160283: typedef struct sqlite3_backup sqlite3_backup;
160283: # 9329 "./sqlite3.h"
160283: sqlite3_backup *sqlite3_backup_init(
160283: sqlite3 *pDest,
160283: const char *zDestName,
160283: sqlite3 *pSource,
160283: const char *zSourceName
160283: );
160283: int sqlite3_backup_step(sqlite3_backup *p, int nPage);
160283: int sqlite3_backup_finish(sqlite3_backup *p);
160283: int sqlite3_backup_remaining(sqlite3_backup *p);
160283: int sqlite3_backup_pagecount(sqlite3_backup *p);
160283: # 9455 "./sqlite3.h"
160283: int sqlite3_unlock_notify(
160283: sqlite3 *pBlocked,
160283: void (*xNotify)(void **apArg, int nArg),
160283: void *pNotifyArg
160283: );
160283: # 9470 "./sqlite3.h"
160283: int sqlite3_stricmp(const char *, const char *);
160283: int sqlite3_strnicmp(const char *, const char *, int);
160283: # 9488 "./sqlite3.h"
160283: int sqlite3_strglob(const char *zGlob, const char *zStr);
160283: # 9511 "./sqlite3.h"
160283: int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc);
160283: # 9534 "./sqlite3.h"
160283: void sqlite3_log(int iErrCode, const char *zFormat, ...);
160283: # 9571 "./sqlite3.h"
160283: void *sqlite3_wal_hook(
160283: sqlite3*,
160283: int(*)(void *,sqlite3*,const char*,int),
160283: void*
160283: );
160283: # 9606 "./sqlite3.h"
160283: int sqlite3_wal_autocheckpoint(sqlite3 *db, int N);
160283: # 9628 "./sqlite3.h"
160283: int sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb);
160283: # 9722 "./sqlite3.h"
160283: int sqlite3_wal_checkpoint_v2(
160283: sqlite3 *db,
160283: const char *zDb,
160283: int eMode,
160283: int *pnLog,
160283: int *pnCkpt
160283: );
160283: # 9762 "./sqlite3.h"
160283: int sqlite3_vtab_config(sqlite3*, int op, ...);
160283: # 9850 "./sqlite3.h"
160283: int sqlite3_vtab_on_conflict(sqlite3 *);
160283: # 9876 "./sqlite3.h"
160283: int sqlite3_vtab_nochange(sqlite3_context*);
160283: # 9911 "./sqlite3.h"
160283: const char *sqlite3_vtab_collation(sqlite3_index_info*,int);
160283: # 10005 "./sqlite3.h"
160283: int sqlite3_vtab_distinct(sqlite3_index_info*);
160283: # 10078 "./sqlite3.h"
160283: int sqlite3_vtab_in(sqlite3_index_info*, int iCons, int bHandle);
160283: # 10125 "./sqlite3.h"
160283: int sqlite3_vtab_in_first(sqlite3_value *pVal, sqlite3_value **ppOut);
160283: int sqlite3_vtab_in_next(sqlite3_value *pVal, sqlite3_value **ppOut);
160283: # 10168 "./sqlite3.h"
160283: int sqlite3_vtab_rhs_value(sqlite3_index_info*, int, sqlite3_value **ppVal);
160283: # 10297 "./sqlite3.h"
160283: int sqlite3_stmt_scanstatus(
160283: sqlite3_stmt *pStmt,
160283: int idx,
160283: int iScanStatusOp,
160283: void *pOut
160283: );
160283: int sqlite3_stmt_scanstatus_v2(
160283: sqlite3_stmt *pStmt,
160283: int idx,
160283: int iScanStatusOp,
160283: int flags,
160283: void *pOut
160283: );
160283: # 10326 "./sqlite3.h"
160283: void sqlite3_stmt_scanstatus_reset(sqlite3_stmt*);
160283: # 10359 "./sqlite3.h"
160283: int sqlite3_db_cacheflush(sqlite3*);
160283: # 10458 "./sqlite3.h"
160283: void *sqlite3_preupdate_hook(
160283: sqlite3 *db,
160283: void(*xPreUpdate)(
160283: void *pCtx,
160283: sqlite3 *db,
160283: int op,
160283: char const *zDb,
160283: char const *zName,
160283: sqlite3_int64 iKey1,
160283: sqlite3_int64 iKey2
160283: ),
160283: void*
160283: );
160283: int sqlite3_preupdate_old(sqlite3 *, int, sqlite3_value **);
160283: int sqlite3_preupdate_count(sqlite3 *);
160283: int sqlite3_preupdate_depth(sqlite3 *);
160283: int sqlite3_preupdate_new(sqlite3 *, int, sqlite3_value **);
160283: int sqlite3_preupdate_blobwrite(sqlite3 *);
160283: # 10489 "./sqlite3.h"
160283: int sqlite3_system_errno(sqlite3*);
160283: # 10511 "./sqlite3.h"
160283: typedef struct sqlite3_snapshot {
160283: unsigned char hidden[48];
160283: } sqlite3_snapshot;
160283: # 10558 "./sqlite3.h"
160283: int sqlite3_snapshot_get(
160283: sqlite3 *db,
160283: const char *zSchema,
160283: sqlite3_snapshot **ppSnapshot
160283: );
160283: # 10607 "./sqlite3.h"
160283: int sqlite3_snapshot_open(
160283: sqlite3 *db,
160283: const char *zSchema,
160283: sqlite3_snapshot *pSnapshot
160283: );
160283: # 10624 "./sqlite3.h"
160283: void sqlite3_snapshot_free(sqlite3_snapshot*);
160283: # 10651 "./sqlite3.h"
160283: int sqlite3_snapshot_cmp(
160283: sqlite3_snapshot *p1,
160283: sqlite3_snapshot *p2
160283: );
160283: # 10679 "./sqlite3.h"
160283: int sqlite3_snapshot_recover(sqlite3 *db, const char *zDb);
160283: # 10724 "./sqlite3.h"
160283: unsigned char *sqlite3_serialize(
160283: sqlite3 *db,
160283: const char *zSchema,
160283: sqlite3_int64 *piSize,
160283: unsigned int mFlags
160283: );
160283: # 10790 "./sqlite3.h"
160283: int sqlite3_deserialize(
160283: sqlite3 *db,
160283: const char *zSchema,
160283: unsigned char *pData,
160283: sqlite3_int64 szDb,
160283: sqlite3_int64 szBuf,
160283: unsigned mFlags
160283: );
160283: # 10872 "./sqlite3.h"
160283: typedef struct sqlite3_rtree_geometry sqlite3_rtree_geometry;
160283: typedef struct sqlite3_rtree_query_info sqlite3_rtree_query_info;
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef double sqlite3_rtree_dbl;
160283: # 10890 "./sqlite3.h"
160283: int sqlite3_rtree_geometry_callback(
160283: sqlite3 *db,
160283: const char *zGeom,
160283: int (*xGeom)(sqlite3_rtree_geometry*, int, sqlite3_rtree_dbl*,int*),
160283: void *pContext
160283: );
160283:
160283:
160283:
160283:
160283:
160283:
160283: struct sqlite3_rtree_geometry {
160283: void *pContext;
160283: int nParam;
160283: sqlite3_rtree_dbl *aParam;
160283: void *pUser;
160283: void (*xDelUser)(void *);
160283: };
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: int sqlite3_rtree_query_callback(
160283: sqlite3 *db,
160283: const char *zQueryFunc,
160283: int (*xQueryFunc)(sqlite3_rtree_query_info*),
160283: void *pContext,
160283: void (*xDestructor)(void*)
160283: );
160283: # 10934 "./sqlite3.h"
160283: struct sqlite3_rtree_query_info {
160283: void *pContext;
160283: int nParam;
160283: sqlite3_rtree_dbl *aParam;
160283: void *pUser;
160283: void (*xDelUser)(void*);
160283: sqlite3_rtree_dbl *aCoord;
160283: unsigned int *anQueue;
160283: int nCoord;
160283: int iLevel;
160283: int mxLevel;
160283: sqlite3_int64 iRowid;
160283: sqlite3_rtree_dbl rParentScore;
160283: int eParentWithin;
160283: int eWithin;
160283: sqlite3_rtree_dbl rScore;
160283:
160283: sqlite3_value **apSqlParam;
160283: };
160283: # 10988 "./sqlite3.h"
160283: typedef struct sqlite3_session sqlite3_session;
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: typedef struct sqlite3_changeset_iter sqlite3_changeset_iter;
160283: # 11029 "./sqlite3.h"
160283: int sqlite3session_create(
160283: sqlite3 *db,
160283: const char *zDb,
160283: sqlite3_session **ppSession
160283: );
160283: # 11048 "./sqlite3.h"
160283: void sqlite3session_delete(sqlite3_session *pSession);
160283: # 11059 "./sqlite3.h"
160283: int sqlite3session_object_config(sqlite3_session*, int op, void *pArg);
160283: # 11114 "./sqlite3.h"
160283: int sqlite3session_enable(sqlite3_session *pSession, int bEnable);
160283: # 11144 "./sqlite3.h"
160283: int sqlite3session_indirect(sqlite3_session *pSession, int bIndirect);
160283: # 11204 "./sqlite3.h"
160283: int sqlite3session_attach(
160283: sqlite3_session *pSession,
160283: const char *zTab
160283: );
160283: # 11219 "./sqlite3.h"
160283: void sqlite3session_table_filter(
160283: sqlite3_session *pSession,
160283: int(*xFilter)(
160283: void *pCtx,
160283: const char *zTab
160283: ),
160283: void *pCtx
160283: );
160283: # 11333 "./sqlite3.h"
160283: int sqlite3session_changeset(
160283: sqlite3_session *pSession,
160283: int *pnChangeset,
160283: void **ppChangeset
160283: );
160283: # 11353 "./sqlite3.h"
160283: sqlite3_int64 sqlite3session_changeset_size(sqlite3_session *pSession);
160283: # 11412 "./sqlite3.h"
160283: int sqlite3session_diff(
160283: sqlite3_session *pSession,
160283: const char *zFromDb,
160283: const char *zTbl,
160283: char **pzErrMsg
160283: );
160283: # 11449 "./sqlite3.h"
160283: int sqlite3session_patchset(
160283: sqlite3_session *pSession,
160283: int *pnPatchset,
160283: void **ppPatchset
160283: );
160283: # 11470 "./sqlite3.h"
160283: int sqlite3session_isempty(sqlite3_session *pSession);
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: sqlite3_int64 sqlite3session_memory_used(sqlite3_session *pSession);
160283: # 11521 "./sqlite3.h"
160283: int sqlite3changeset_start(
160283: sqlite3_changeset_iter **pp,
160283: int nChangeset,
160283: void *pChangeset
160283: );
160283: int sqlite3changeset_start_v2(
160283: sqlite3_changeset_iter **pp,
160283: int nChangeset,
160283: void *pChangeset,
160283: int flags
160283: );
160283: # 11570 "./sqlite3.h"
160283: int sqlite3changeset_next(sqlite3_changeset_iter *pIter);
160283: # 11604 "./sqlite3.h"
160283: int sqlite3changeset_op(
160283: sqlite3_changeset_iter *pIter,
160283: const char **pzTab,
160283: int *pnCol,
160283: int *pOp,
160283: int *pbIndirect
160283: );
160283: # 11638 "./sqlite3.h"
160283: int sqlite3changeset_pk(
160283: sqlite3_changeset_iter *pIter,
160283: unsigned char **pabPK,
160283: int *pnCol
160283: );
160283: # 11669 "./sqlite3.h"
160283: int sqlite3changeset_old(
160283: sqlite3_changeset_iter *pIter,
160283: int iVal,
160283: sqlite3_value **ppValue
160283: );
160283: # 11703 "./sqlite3.h"
160283: int sqlite3changeset_new(
160283: sqlite3_changeset_iter *pIter,
160283: int iVal,
160283: sqlite3_value **ppValue
160283: );
160283: # 11731 "./sqlite3.h"
160283: int sqlite3changeset_conflict(
160283: sqlite3_changeset_iter *pIter,
160283: int iVal,
160283: sqlite3_value **ppValue
160283: );
160283: # 11748 "./sqlite3.h"
160283: int sqlite3changeset_fk_conflicts(
160283: sqlite3_changeset_iter *pIter,
160283: int *pnOut
160283: );
160283: # 11784 "./sqlite3.h"
160283: int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter);
160283: # 11814 "./sqlite3.h"
160283: int sqlite3changeset_invert(
160283: int nIn, const void *pIn,
160283: int *pnOut, void **ppOut
160283: );
160283: # 11845 "./sqlite3.h"
160283: int sqlite3changeset_concat(
160283: int nA,
160283: void *pA,
160283: int nB,
160283: void *pB,
160283: int *pnOut,
160283: void **ppOut
160283: );
160283:
160283:
160283:
160283:
160283:
160283: int sqlite3changeset_upgrade(
160283: sqlite3 *db,
160283: const char *zDb,
160283: int nIn, const void *pIn,
160283: int *pnOut, void **ppOut
160283: );
160283: # 11873 "./sqlite3.h"
160283: typedef struct sqlite3_changegroup sqlite3_changegroup;
160283: # 11911 "./sqlite3.h"
160283: int sqlite3changegroup_new(sqlite3_changegroup **pp);
160283: # 11943 "./sqlite3.h"
160283: int sqlite3changegroup_schema(sqlite3_changegroup*, sqlite3*, const char *zDb);
160283: # 12026 "./sqlite3.h"
160283: int sqlite3changegroup_add(sqlite3_changegroup*, int nData, void *pData);
160283: # 12045 "./sqlite3.h"
160283: int sqlite3changegroup_add_change(
160283: sqlite3_changegroup*,
160283: sqlite3_changeset_iter*
160283: );
160283: # 12077 "./sqlite3.h"
160283: int sqlite3changegroup_output(
160283: sqlite3_changegroup*,
160283: int *pnData,
160283: void **ppData
160283: );
160283:
160283:
160283:
160283:
160283:
160283: void sqlite3changegroup_delete(sqlite3_changegroup*);
160283: # 12247 "./sqlite3.h"
160283: int sqlite3changeset_apply(
160283: sqlite3 *db,
160283: int nChangeset,
160283: void *pChangeset,
160283: int(*xFilter)(
160283: void *pCtx,
160283: const char *zTab
160283: ),
160283: int(*xConflict)(
160283: void *pCtx,
160283: int eConflict,
160283: sqlite3_changeset_iter *p
160283: ),
160283: void *pCtx
160283: );
160283: int sqlite3changeset_apply_v2(
160283: sqlite3 *db,
160283: int nChangeset,
160283: void *pChangeset,
160283: int(*xFilter)(
160283: void *pCtx,
160283: const char *zTab
160283: ),
160283: int(*xConflict)(
160283: void *pCtx,
160283: int eConflict,
160283: sqlite3_changeset_iter *p
160283: ),
160283: void *pCtx,
160283: void **ppRebase, int *pnRebase,
160283: int flags
160283: );
160283: # 12519 "./sqlite3.h"
160283: typedef struct sqlite3_rebaser sqlite3_rebaser;
160283: # 12530 "./sqlite3.h"
160283: int sqlite3rebaser_create(sqlite3_rebaser **ppNew);
160283: # 12541 "./sqlite3.h"
160283: int sqlite3rebaser_configure(
160283: sqlite3_rebaser*,
160283: int nRebase, const void *pRebase
160283: );
160283: # 12560 "./sqlite3.h"
160283: int sqlite3rebaser_rebase(
160283: sqlite3_rebaser*,
160283: int nIn, const void *pIn,
160283: int *pnOut, void **ppOut
160283: );
160283: # 12574 "./sqlite3.h"
160283: void sqlite3rebaser_delete(sqlite3_rebaser *p);
160283: # 12666 "./sqlite3.h"
160283: int sqlite3changeset_apply_strm(
160283: sqlite3 *db,
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn,
160283: int(*xFilter)(
160283: void *pCtx,
160283: const char *zTab
160283: ),
160283: int(*xConflict)(
160283: void *pCtx,
160283: int eConflict,
160283: sqlite3_changeset_iter *p
160283: ),
160283: void *pCtx
160283: );
160283: int sqlite3changeset_apply_v2_strm(
160283: sqlite3 *db,
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn,
160283: int(*xFilter)(
160283: void *pCtx,
160283: const char *zTab
160283: ),
160283: int(*xConflict)(
160283: void *pCtx,
160283: int eConflict,
160283: sqlite3_changeset_iter *p
160283: ),
160283: void *pCtx,
160283: void **ppRebase, int *pnRebase,
160283: int flags
160283: );
160283: int sqlite3changeset_concat_strm(
160283: int (*xInputA)(void *pIn, void *pData, int *pnData),
160283: void *pInA,
160283: int (*xInputB)(void *pIn, void *pData, int *pnData),
160283: void *pInB,
160283: int (*xOutput)(void *pOut, const void *pData, int nData),
160283: void *pOut
160283: );
160283: int sqlite3changeset_invert_strm(
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn,
160283: int (*xOutput)(void *pOut, const void *pData, int nData),
160283: void *pOut
160283: );
160283: int sqlite3changeset_start_strm(
160283: sqlite3_changeset_iter **pp,
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn
160283: );
160283: int sqlite3changeset_start_v2_strm(
160283: sqlite3_changeset_iter **pp,
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn,
160283: int flags
160283: );
160283: int sqlite3session_changeset_strm(
160283: sqlite3_session *pSession,
160283: int (*xOutput)(void *pOut, const void *pData, int nData),
160283: void *pOut
160283: );
160283: int sqlite3session_patchset_strm(
160283: sqlite3_session *pSession,
160283: int (*xOutput)(void *pOut, const void *pData, int nData),
160283: void *pOut
160283: );
160283: int sqlite3changegroup_add_strm(sqlite3_changegroup*,
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn
160283: );
160283: int sqlite3changegroup_output_strm(sqlite3_changegroup*,
160283: int (*xOutput)(void *pOut, const void *pData, int nData),
160283: void *pOut
160283: );
160283: int sqlite3rebaser_rebase_strm(
160283: sqlite3_rebaser *pRebaser,
160283: int (*xInput)(void *pIn, void *pData, int *pnData),
160283: void *pIn,
160283: int (*xOutput)(void *pOut, const void *pData, int nData),
160283: void *pOut
160283: );
160283: # 12782 "./sqlite3.h"
160283: int sqlite3session_config(int op, void *pArg);
160283: # 12835 "./sqlite3.h"
160283: typedef struct Fts5ExtensionApi Fts5ExtensionApi;
160283: typedef struct Fts5Context Fts5Context;
160283: typedef struct Fts5PhraseIter Fts5PhraseIter;
160283:
160283: typedef void (*fts5_extension_function)(
160283: const Fts5ExtensionApi *pApi,
160283: Fts5Context *pFts,
160283: sqlite3_context *pCtx,
160283: int nVal,
160283: sqlite3_value **apVal
160283: );
160283:
160283: struct Fts5PhraseIter {
160283: const unsigned char *a;
160283: const unsigned char *b;
160283: };
160283: # 13106 "./sqlite3.h"
160283: struct Fts5ExtensionApi {
160283: int iVersion;
160283:
160283: void *(*xUserData)(Fts5Context*);
160283:
160283: int (*xColumnCount)(Fts5Context*);
160283: int (*xRowCount)(Fts5Context*, sqlite3_int64 *pnRow);
160283: int (*xColumnTotalSize)(Fts5Context*, int iCol, sqlite3_int64 *pnToken);
160283:
160283: int (*xTokenize)(Fts5Context*,
160283: const char *pText, int nText,
160283: void *pCtx,
160283: int (*xToken)(void*, int, const char*, int, int, int)
160283: );
160283:
160283: int (*xPhraseCount)(Fts5Context*);
160283: int (*xPhraseSize)(Fts5Context*, int iPhrase);
160283:
160283: int (*xInstCount)(Fts5Context*, int *pnInst);
160283: int (*xInst)(Fts5Context*, int iIdx, int *piPhrase, int *piCol, int *piOff);
160283:
160283: sqlite3_int64 (*xRowid)(Fts5Context*);
160283: int (*xColumnText)(Fts5Context*, int iCol, const char **pz, int *pn);
160283: int (*xColumnSize)(Fts5Context*, int iCol, int *pnToken);
160283:
160283: int (*xQueryPhrase)(Fts5Context*, int iPhrase, void *pUserData,
160283: int(*)(const Fts5ExtensionApi*,Fts5Context*,void*)
160283: );
160283: int (*xSetAuxdata)(Fts5Context*, void *pAux, void(*xDelete)(void*));
160283: void *(*xGetAuxdata)(Fts5Context*, int bClear);
160283:
160283: int (*xPhraseFirst)(Fts5Context*, int iPhrase, Fts5PhraseIter*, int*, int*);
160283: void (*xPhraseNext)(Fts5Context*, Fts5PhraseIter*, int *piCol, int *piOff);
160283:
160283: int (*xPhraseFirstColumn)(Fts5Context*, int iPhrase, Fts5PhraseIter*, int*);
160283: void (*xPhraseNextColumn)(Fts5Context*, Fts5PhraseIter*, int *piCol);
160283:
160283:
160283: int (*xQueryToken)(Fts5Context*,
160283: int iPhrase, int iToken,
160283: const char **ppToken, int *pnToken
160283: );
160283: int (*xInstToken)(Fts5Context*, int iIdx, int iToken, const char**, int*);
160283: };
160283: # 13347 "./sqlite3.h"
160283: typedef struct Fts5Tokenizer Fts5Tokenizer;
160283: typedef struct fts5_tokenizer fts5_tokenizer;
160283: struct fts5_tokenizer {
160283: int (*xCreate)(void*, const char **azArg, int nArg, Fts5Tokenizer **ppOut);
160283: void (*xDelete)(Fts5Tokenizer*);
160283: int (*xTokenize)(Fts5Tokenizer*,
160283: void *pCtx,
160283: int flags,
160283: const char *pText, int nText,
160283: int (*xToken)(
160283: void *pCtx,
160283: int tflags,
160283: const char *pToken,
160283: int nToken,
160283: int iStart,
160283: int iEnd
160283: )
160283: );
160283: };
160283: # 13384 "./sqlite3.h"
160283: typedef struct fts5_api fts5_api;
160283: struct fts5_api {
160283: int iVersion;
160283:
160283:
160283: int (*xCreateTokenizer)(
160283: fts5_api *pApi,
160283: const char *zName,
160283: void *pUserData,
160283: fts5_tokenizer *pTokenizer,
160283: void (*xDestroy)(void*)
160283: );
160283:
160283:
160283: int (*xFindTokenizer)(
160283: fts5_api *pApi,
160283: const char *zName,
160283: void **ppUserData,
160283: fts5_tokenizer *pTokenizer
160283: );
160283:
160283:
160283: int (*xCreateFunction)(
160283: fts5_api *pApi,
160283: const char *zName,
160283: void *pUserData,
160283: fts5_extension_function xFunction,
160283: void (*xDestroy)(void*)
160283: );
160283: };
160283: # 22 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 2
160283:
160283: typedef unsigned char u8;
160283: typedef unsigned int u32;
160283: typedef sqlite3_int64 i64;
160283: typedef sqlite3_uint64 u64;
160283:
160283:
160283: static struct GlobalData {
160283: u32 pagesize;
160283: int dbfd;
160283: u32 mxPage;
160283: int perLine;
160283: int bRaw;
160283: sqlite3_file *pFd;
160283: sqlite3 *pDb;
160283: } g = {1024, -1, 0, 16, 0, 0, 0};
160283:
160283:
160283:
160283:
160283:
160283: static int decodeVarint(const unsigned char *z, i64 *pVal){
160283: i64 v = 0;
160283: int i;
160283: for(i=0; i<8; i++){
160283: v = (v<<7) + (z[i]&0x7f);
160283: if( (z[i]&0x80)==0 ){ *pVal = v; return i+1; }
160283: }
160283: v = (v<<8) + (z[i]&0xff);
160283: *pVal = v;
160283: return 9;
160283: }
160283:
160283:
160283:
160283:
160283: static u32 decodeInt32(const u8 *z){
160283: return (z[0]<<24) + (z[1]<<16) + (z[2]<<8) + z[3];
160283: }
160283:
160283:
160283:
160283: static void out_of_memory(void){
160283: fprintf(
160283: # 65 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 65 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,"Out of memory...\n");
160283: exit(1);
160283: }
160283:
160283:
160283:
160283:
160283: static sqlite3 *openDatabase(const char *zPrg, const char *zName){
160283: sqlite3 *db = 0;
160283: int flags = 0x00000002 | 0x00000040;
160283: int rc = sqlite3_open_v2(zName, &db, flags, 0);
160283: if( rc!=0 ){
160283: const char *zErr = sqlite3_errmsg(db);
160283: fprintf(
160283: # 78 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 78 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "%s: can't open %s (%s)\n", zPrg, zName, zErr);
160283: sqlite3_close(db);
160283: exit(1);
160283: }
160283: return db;
160283: }
160283: # 100 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: static void fileOpen(const char *zPrg, const char *zName){
160283:
160283: # 101 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ((void) (0))
160283: # 101 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ;
160283: if( g.bRaw==0 ){
160283: int rc;
160283: void *pArg = (void *)(&g.pFd);
160283: g.pDb = openDatabase(zPrg, zName);
160283: rc = sqlite3_file_control(g.pDb, "main", 7, pArg);
160283: if( rc!=0 ){
160283: fprintf(
160283: # 108 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 108 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,
160283: "%s: failed to obtain fd for %s (SQLite too old?)\n", zPrg, zName
160283: );
160283: exit(1);
160283: }
160283: }else{
160283: g.dbfd = open(zName,
160283: # 114 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: 00
160283: # 114 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: );
160283: if( g.dbfd<0 ){
160283: fprintf(
160283: # 116 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 116 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,"%s: can't open %s\n", zPrg, zName);
160283: exit(1);
160283: }
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static void fileClose(){
160283: if( g.bRaw==0 ){
160283: sqlite3_close(g.pDb);
160283: g.pDb = 0;
160283: g.pFd = 0;
160283: }else{
160283: close(g.dbfd);
160283: g.dbfd = -1;
160283: }
160283: }
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: static unsigned char *fileRead(sqlite3_int64 ofst, int nByte){
160283: unsigned char *aData;
160283: int got;
160283: aData = sqlite3_malloc64(32+(i64)nByte);
160283: if( aData==0 ) out_of_memory();
160283: memset(aData, 0, nByte+32);
160283: if( g.bRaw==0 ){
160283: int rc = g.pFd->pMethods->xRead(g.pFd, (void*)aData, nByte, ofst);
160283: if( rc!=0 && rc!=(10 | (2<<8)) ){
160283: fprintf(
160283: # 151 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 151 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "error in xRead() - %d\n", rc);
160283: exit(1);
160283: }
160283: }else{
160283: lseek(g.dbfd, (long)ofst,
160283: # 155 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: 0
160283: # 155 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: );
160283: got = read(g.dbfd, aData, nByte);
160283: if( got>0 && got<nByte ) memset(aData+got, 0, nByte-got);
160283: }
160283: return aData;
160283: }
160283:
160283:
160283:
160283:
160283: static i64 fileGetsize(void){
160283: i64 res = 0;
160283: if( g.bRaw==0 ){
160283: int rc = g.pFd->pMethods->xFileSize(g.pFd, &res);
160283: if( rc!=0 ){
160283: fprintf(
160283: # 170 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 170 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "error in xFileSize() - %d\n", rc);
160283: exit(1);
160283: }
160283: }else{
160283: struct stat sbuf;
160283: fstat(g.dbfd, &sbuf);
160283: res = (sqlite3_int64)(sbuf.st_size);
160283: }
160283: return res;
160283: }
160283: # 188 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: static unsigned char *print_byte_range(
160283: sqlite3_int64 ofst,
160283: int nByte,
160283: int printOfst
160283: ){
160283: unsigned char *aData;
160283: int i, j;
160283: const char *zOfstFmt;
160283:
160283: if( ((printOfst+nByte)&~0xfff)==0 ){
160283: zOfstFmt = " %03x: ";
160283: }else if( ((printOfst+nByte)&~0xffff)==0 ){
160283: zOfstFmt = " %04x: ";
160283: }else if( ((printOfst+nByte)&~0xfffff)==0 ){
160283: zOfstFmt = " %05x: ";
160283: }else if( ((printOfst+nByte)&~0xffffff)==0 ){
160283: zOfstFmt = " %06x: ";
160283: }else{
160283: zOfstFmt = " %08x: ";
160283: }
160283:
160283: aData = fileRead(ofst, nByte);
160283: for(i=0; i<nByte; i += g.perLine){
160283: int go = 0;
160283: for(j=0; j<g.perLine; j++){
160283: if( i+j>nByte ){ break; }
160283: if( aData[i+j] ){ go = 1; break; }
160283: }
160283: if( !go && i>0 && i+g.perLine<nByte ) continue;
160283: fprintf(
160283: # 217 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 217 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , zOfstFmt, i+printOfst);
160283: for(j=0; j<g.perLine; j++){
160283: if( i+j>nByte ){
160283: fprintf(
160283: # 220 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 220 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , " ");
160283: }else{
160283: fprintf(
160283: # 222 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 222 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,"%02x ", aData[i+j]);
160283: }
160283: }
160283: for(j=0; j<g.perLine; j++){
160283: if( i+j>nByte ){
160283: fprintf(
160283: # 227 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 227 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , " ");
160283: }else{
160283: fprintf(
160283: # 229 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 229 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,"%c",
160283: # 229 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ((*__ctype_b_loc ())[(int) ((
160283: # 229 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: (unsigned char)(aData[i+j])
160283: # 229 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ))] & (unsigned short int) _ISprint)
160283: # 229 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ? aData[i+j] : '.');
160283: }
160283: }
160283: fprintf(
160283: # 232 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 232 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,"\n");
160283: }
160283: return aData;
160283: }
160283:
160283:
160283:
160283:
160283: static void print_page(u32 iPg){
160283: i64 iStart;
160283: unsigned char *aData;
160283: iStart = ((i64)(iPg-1))*g.pagesize;
160283: fprintf(
160283: # 244 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stdout
160283: # 244 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "Page %u: (offsets 0x%llx..0x%llx)\n",
160283: iPg, iStart, iStart+g.pagesize-1);
160283: aData = print_byte_range(iStart, g.pagesize, 0);
160283: sqlite3_free(aData);
160283: }
160283:
160283:
160283:
160283:
160283: static void print_decode_line(
160283: unsigned char *aData,
160283: int ofst, int nByte,
160283: const char *zMsg
160283: ){
160283: int i, j;
160283: u32 val = aData[ofst];
160283: char zBuf[100];
160283: sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]);
160283: i = (int)strlen(zBuf);
160283: for(j=1; j<4; j++){
160283: if( j>=nByte ){
160283: sprintf(&zBuf[i], " ");
160283: }else{
160283: sprintf(&zBuf[i], " %02x", aData[ofst+j]);
160283: val = val*256 + aData[ofst+j];
160283: }
160283: i += (int)strlen(&zBuf[i]);
160283: }
160283: sprintf(&zBuf[i], " %10u", val);
160283: printf("%s %s\n", zBuf, zMsg);
160283: }
160283:
160283:
160283:
160283:
160283: static void print_db_header(void){
160283: unsigned char *aData;
160283: aData = print_byte_range(0, 100, 0);
160283: printf("Decoded:\n");
160283: print_decode_line(aData, 16, 2, "Database page size");
160283: print_decode_line(aData, 18, 1, "File format write version");
160283: print_decode_line(aData, 19, 1, "File format read version");
160283: print_decode_line(aData, 20, 1, "Reserved space at end of page");
160283: print_decode_line(aData, 24, 4, "File change counter");
160283: print_decode_line(aData, 28, 4, "Size of database in pages");
160283: print_decode_line(aData, 32, 4, "Page number of first freelist page");
160283: print_decode_line(aData, 36, 4, "Number of freelist pages");
160283: print_decode_line(aData, 40, 4, "Schema cookie");
160283: print_decode_line(aData, 44, 4, "Schema format version");
160283: print_decode_line(aData, 48, 4, "Default page cache size");
160283: print_decode_line(aData, 52, 4, "Largest auto-vac root page");
160283: print_decode_line(aData, 56, 4, "Text encoding");
160283: print_decode_line(aData, 60, 4, "User version");
160283: print_decode_line(aData, 64, 4, "Incremental-vacuum mode");
160283: print_decode_line(aData, 68, 4, "Application ID");
160283: print_decode_line(aData, 72, 4, "meta[8]");
160283: print_decode_line(aData, 76, 4, "meta[9]");
160283: print_decode_line(aData, 80, 4, "meta[10]");
160283: print_decode_line(aData, 84, 4, "meta[11]");
160283: print_decode_line(aData, 88, 4, "meta[12]");
160283: print_decode_line(aData, 92, 4, "Change counter for version number");
160283: print_decode_line(aData, 96, 4, "SQLite version number");
160283: sqlite3_free(aData);
160283: }
160283:
160283:
160283:
160283:
160283: static i64 describeContent(
160283: unsigned char *a,
160283: i64 nLocal,
160283: char *zDesc
160283: ){
160283: i64 nDesc = 0;
160283: int n, j;
160283: i64 i, x, v;
160283: const unsigned char *pData;
160283: const unsigned char *pLimit;
160283: char sep = ' ';
160283:
160283: pLimit = &a[nLocal];
160283: n = decodeVarint(a, &x);
160283: pData = &a[x];
160283: a += n;
160283: i = x - n;
160283: while( i>0 && pData<=pLimit ){
160283: n = decodeVarint(a, &x);
160283: a += n;
160283: i -= n;
160283: nLocal -= n;
160283: zDesc[0] = sep;
160283: sep = ',';
160283: nDesc++;
160283: zDesc++;
160283: if( x==0 ){
160283: sprintf(zDesc, "*");
160283: }else if( x>=1 && x<=6 ){
160283: v = (signed char)pData[0];
160283: pData++;
160283: switch( x ){
160283: case 6: v = (v<<16) + (pData[0]<<8) + pData[1]; pData += 2;
160283: case 5: v = (v<<16) + (pData[0]<<8) + pData[1]; pData += 2;
160283: case 4: v = (v<<8) + pData[0]; pData++;
160283: case 3: v = (v<<8) + pData[0]; pData++;
160283: case 2: v = (v<<8) + pData[0]; pData++;
160283: }
160283: sprintf(zDesc, "%lld", v);
160283: }else if( x==7 ){
160283: sprintf(zDesc, "real");
160283: pData += 8;
160283: }else if( x==8 ){
160283: sprintf(zDesc, "0");
160283: }else if( x==9 ){
160283: sprintf(zDesc, "1");
160283: }else if( x>=12 ){
160283: i64 size = (x-12)/2;
160283: if( (x&1)==0 ){
160283: sprintf(zDesc, "blob(%lld)", size);
160283: }else{
160283: sprintf(zDesc, "txt(%lld)", size);
160283: }
160283: pData += size;
160283: }
160283: j = (int)strlen(zDesc);
160283: zDesc += j;
160283: nDesc += j;
160283: }
160283: return nDesc;
160283: }
160283:
160283:
160283:
160283:
160283:
160283: static i64 localPayload(i64 nPayload, char cType){
160283: i64 maxLocal;
160283: i64 minLocal;
160283: i64 surplus;
160283: i64 nLocal;
160283: if( cType==13 ){
160283:
160283: maxLocal = g.pagesize-35;
160283: minLocal = (g.pagesize-12)*32/255-23;
160283: }else{
160283: maxLocal = (g.pagesize-12)*64/255-23;
160283: minLocal = (g.pagesize-12)*32/255-23;
160283: }
160283: if( nPayload>maxLocal ){
160283: surplus = minLocal + (nPayload-minLocal)%(g.pagesize-4);
160283: if( surplus<=maxLocal ){
160283: nLocal = surplus;
160283: }else{
160283: nLocal = minLocal;
160283: }
160283: }else{
160283: nLocal = nPayload;
160283: }
160283: return nLocal;
160283: }
160283:
160283:
160283:
160283:
160283:
160283:
160283:
160283: static i64 describeCell(
160283: unsigned char cType,
160283: unsigned char *a,
160283: int showCellContent,
160283: char **pzDesc
160283: ){
160283: int i;
160283: i64 nDesc = 0;
160283: int n = 0;
160283: u32 leftChild;
160283: i64 nPayload;
160283: i64 rowid;
160283: i64 nLocal;
160283: static char zDesc[1000];
160283: i = 0;
160283: if( cType<=5 ){
160283: leftChild = ((a[0]*256 + a[1])*256 + a[2])*256 + a[3];
160283: a += 4;
160283: n += 4;
160283: sprintf(zDesc, "lx: %u ", leftChild);
160283: nDesc = strlen(zDesc);
160283: }
160283: if( cType!=5 ){
160283: i = decodeVarint(a, &nPayload);
160283: a += i;
160283: n += i;
160283: sprintf(&zDesc[nDesc], "n: %lld ", nPayload);
160283: nDesc += strlen(&zDesc[nDesc]);
160283: nLocal = localPayload(nPayload, cType);
160283: }else{
160283: nPayload = nLocal = 0;
160283: }
160283: if( cType==5 || cType==13 ){
160283: i = decodeVarint(a, &rowid);
160283: a += i;
160283: n += i;
160283: sprintf(&zDesc[nDesc], "r: %lld ", rowid);
160283: nDesc += strlen(&zDesc[nDesc]);
160283: }
160283: if( nLocal<nPayload ){
160283: u32 ovfl;
160283: unsigned char *b = &a[nLocal];
160283: ovfl = ((b[0]*256 + b[1])*256 + b[2])*256 + b[3];
160283: sprintf(&zDesc[nDesc], "ov: %u ", ovfl);
160283: nDesc += strlen(&zDesc[nDesc]);
160283: n += 4;
160283: }
160283: if( showCellContent && cType!=5 ){
160283: nDesc += describeContent(a, nLocal, &zDesc[nDesc-1]);
160283: }
160283: *pzDesc = zDesc;
160283: return nLocal+n;
160283: }
160283:
160283:
160283:
160283:
160283: static void printBytes(
160283: unsigned char *aData,
160283: unsigned char *aStart,
160283: int nByte
160283: ){
160283: int j;
160283: printf(" %03x: ", (int)(aStart-aData));
160283: for(j=0; j<9; j++){
160283: if( j>=nByte ){
160283: printf(" ");
160283: }else{
160283: printf("%02x ", aStart[j]);
160283: }
160283: }
160283: }
160283:
160283:
160283:
160283:
160283:
160283:
160283: static void decodeCell(
160283: unsigned char *a,
160283: unsigned pgno,
160283: int iCell,
160283: int szPgHdr,
160283: int ofst
160283: ){
160283: int i, j = 0;
160283: u32 leftChild;
160283: i64 k;
160283: i64 nPayload;
160283: i64 rowid;
160283: i64 nHdr;
160283: i64 iType;
160283: i64 nLocal;
160283: unsigned char *x = a + ofst;
160283: unsigned char *end;
160283: unsigned char cType = a[0];
160283: int nCol = 0;
160283: int szCol[2000];
160283: int ofstCol[2000];
160283: int typeCol[2000];
160283:
160283: printf("Cell[%d]:\n", iCell);
160283: if( cType<=5 ){
160283: leftChild = ((x[0]*256 + x[1])*256 + x[2])*256 + x[3];
160283: printBytes(a, x, 4);
160283: printf("left child page:: %u\n", leftChild);
160283: x += 4;
160283: }
160283: if( cType!=5 ){
160283: i = decodeVarint(x, &nPayload);
160283: printBytes(a, x, i);
160283: nLocal = localPayload(nPayload, cType);
160283: if( nLocal==nPayload ){
160283: printf("payload-size: %lld\n", nPayload);
160283: }else{
160283: printf("payload-size: %lld (%lld local, %lld overflow)\n",
160283: nPayload, nLocal, nPayload-nLocal);
160283: }
160283: x += i;
160283: }else{
160283: nPayload = nLocal = 0;
160283: }
160283: end = x + nLocal;
160283: if( cType==5 || cType==13 ){
160283: i = decodeVarint(x, &rowid);
160283: printBytes(a, x, i);
160283: printf("rowid: %lld\n", rowid);
160283: x += i;
160283: }
160283: if( nLocal>0 ){
160283: i = decodeVarint(x, &nHdr);
160283: printBytes(a, x, i);
160283: printf("record-header-size: %d\n", (int)nHdr);
160283: j = i;
160283: nCol = 0;
160283: k = nHdr;
160283: while( x+j<=end && j<nHdr ){
160283: const char *zTypeName;
160283: int sz = 0;
160283: char zNm[30];
160283: i = decodeVarint(x+j, &iType);
160283: printBytes(a, x+j, i);
160283: printf("typecode[%d]: %d - ", nCol, (int)iType);
160283: switch( iType ){
160283: case 0: zTypeName = "NULL"; sz = 0; break;
160283: case 1: zTypeName = "int8"; sz = 1; break;
160283: case 2: zTypeName = "int16"; sz = 2; break;
160283: case 3: zTypeName = "int24"; sz = 3; break;
160283: case 4: zTypeName = "int32"; sz = 4; break;
160283: case 5: zTypeName = "int48"; sz = 6; break;
160283: case 6: zTypeName = "int64"; sz = 8; break;
160283: case 7: zTypeName = "double"; sz = 8; break;
160283: case 8: zTypeName = "zero"; sz = 0; break;
160283: case 9: zTypeName = "one"; sz = 0; break;
160283: case 10:
160283: case 11: zTypeName = "error"; sz = 0; break;
160283: default: {
160283: sz = (int)(iType-12)/2;
160283: sprintf(zNm, (iType&1)==0 ? "blob(%d)" : "text(%d)", sz);
160283: zTypeName = zNm;
160283: break;
160283: }
160283: }
160283: printf("%s\n", zTypeName);
160283: szCol[nCol] = sz;
160283: ofstCol[nCol] = (int)k;
160283: typeCol[nCol] = (int)iType;
160283: k += sz;
160283: nCol++;
160283: j += i;
160283: }
160283: for(i=0; i<nCol && ofstCol[i]+szCol[i]<=nLocal; i++){
160283: int s = ofstCol[i];
160283: i64 v;
160283: const unsigned char *pData;
160283: if( szCol[i]==0 ) continue;
160283: printBytes(a, x+s, szCol[i]);
160283: printf("data[%d]: ", i);
160283: pData = x+s;
160283: if( typeCol[i]<=7 ){
160283: v = (signed char)pData[0];
160283: for(k=1; k<szCol[i]; k++){
160283: v = (v<<8) + pData[k];
160283: }
160283: if( typeCol[i]==7 ){
160283: double r;
160283: memcpy(&r, &v, sizeof(r));
160283: printf("%#g\n", r);
160283: }else{
160283: printf("%lld\n", v);
160283: }
160283: }else{
160283: int ii, jj;
160283: char zConst[32];
160283: if( (typeCol[i]&1)==0 ){
160283: zConst[0] = 'x';
160283: zConst[1] = '\'';
160283: for(ii=2, jj=0; jj<szCol[i] && ii<24; jj++, ii+=2){
160283: sprintf(zConst+ii, "%02x", pData[jj]);
160283: }
160283: }else{
160283: zConst[0] = '\'';
160283: for(ii=1, jj=0; jj<szCol[i] && ii<24; jj++, ii++){
160283: zConst[ii] =
160283: # 613 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ((*__ctype_b_loc ())[(int) ((
160283: # 613 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: (unsigned char)(pData[jj])
160283: # 613 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ))] & (unsigned short int) _ISprint)
160283: # 613 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ? pData[jj] : '.';
160283: }
160283: zConst[ii] = 0;
160283: }
160283: if( jj<szCol[i] ){
160283: memcpy(zConst+ii, "...'", 5);
160283: }else{
160283: memcpy(zConst+ii, "'", 2);
160283: }
160283: printf("%s\n", zConst);
160283: }
160283: j = ofstCol[i] + szCol[i];
160283: }
160283: }
160283: if( j<nLocal ){
160283: printBytes(a, x+j, 0);
160283: printf("... %lld bytes of content ...\n", nLocal-j);
160283: }
160283: if( nLocal<nPayload ){
160283: printBytes(a, x+nLocal, 4);
160283: printf("overflow-page: %u\n", decodeInt32(x+nLocal));
160283: }
160283: }
160283:
160283:
160283:
160283:
160283:
160283: static void decode_btree_page(
160283: unsigned char *a,
160283: int pgno,
160283: int hdrSize,
160283: char *zArgs
160283: ){
160283: const char *zType = "unknown";
160283: int nCell;
160283: int i, j;
160283: int iCellPtr;
160283: int showCellContent = 0;
160283: int showMap = 0;
160283: int cellToDecode = -2;
160283: char *zMap = 0;
160283: switch( a[0] ){
160283: case 2: zType = "index interior node"; break;
160283: case 5: zType = "table interior node"; break;
160283: case 10: zType = "index leaf"; break;
160283: case 13: zType = "table leaf"; break;
160283: }
160283: while( zArgs[0] ){
160283: switch( zArgs[0] ){
160283: case 'c': showCellContent = 1; break;
160283: case 'm': showMap = 1; break;
160283: case 'd': {
160283: if( !
160283: # 666 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ((*__ctype_b_loc ())[(int) ((
160283: # 666 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: (unsigned char)(zArgs[1])
160283: # 666 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ))] & (unsigned short int) _ISdigit)
160283: # 666 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ){
160283: cellToDecode = -1;
160283: }else{
160283: cellToDecode = 0;
160283: while(
160283: # 670 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ((*__ctype_b_loc ())[(int) ((
160283: # 670 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: (unsigned char)(zArgs[1])
160283: # 670 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ))] & (unsigned short int) _ISdigit)
160283: # 670 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ){
160283: zArgs++;
160283: cellToDecode = cellToDecode*10 + zArgs[0] - '0';
160283: }
160283: }
160283: break;
160283: }
160283: }
160283: zArgs++;
160283: }
160283: nCell = a[3]*256 + a[4];
160283: iCellPtr = (a[0]==2 || a[0]==5) ? 12 : 8;
160283: if( cellToDecode>=nCell ){
160283: printf("Page %d has only %d cells\n", pgno, nCell);
160283: return;
160283: }
160283: printf("Header on btree page %d:\n", pgno);
160283: print_decode_line(a, 0, 1, zType);
160283: print_decode_line(a, 1, 2, "Offset to first freeblock");
160283: print_decode_line(a, 3, 2, "Number of cells on this page");
160283: print_decode_line(a, 5, 2, "Offset to cell content area");
160283: print_decode_line(a, 7, 1, "Fragmented byte count");
160283: if( a[0]==2 || a[0]==5 ){
160283: print_decode_line(a, 8, 4, "Right child");
160283: }
160283: if( cellToDecode==(-2) && nCell>0 ){
160283: printf(" key: lx=left-child n=payload-size r=rowid\n");
160283: }
160283: if( showMap ){
160283: zMap = sqlite3_malloc(g.pagesize);
160283: memset(zMap, '.', g.pagesize);
160283: memset(zMap, '1', hdrSize);
160283: memset(&zMap[hdrSize], 'H', iCellPtr);
160283: memset(&zMap[hdrSize+iCellPtr], 'P', 2*nCell);
160283: }
160283: for(i=0; i<nCell; i++){
160283: int cofst = iCellPtr + i*2;
160283: char *zDesc;
160283: i64 n;
160283:
160283: cofst = a[cofst]*256 + a[cofst+1];
160283: n = describeCell(a[0], &a[cofst-hdrSize], showCellContent, &zDesc);
160283: if( showMap ){
160283: char zBuf[30];
160283: memset(&zMap[cofst], '*', (size_t)n);
160283: zMap[cofst] = '[';
160283: zMap[cofst+n-1] = ']';
160283: sprintf(zBuf, "%d", i);
160283: j = (int)strlen(zBuf);
160283: if( j<=n-2 ) memcpy(&zMap[cofst+1], zBuf, j);
160283: }
160283: if( cellToDecode==(-2) ){
160283: printf(" %03x: cell[%d] %s\n", cofst, i, zDesc);
160283: }else if( cellToDecode==(-1) || cellToDecode==i ){
160283: decodeCell(a, pgno, i, hdrSize, cofst-hdrSize);
160283: }
160283: }
160283: if( showMap ){
160283: printf("Page map: (H=header P=cell-index 1=page-1-header .=free-space)\n");
160283: for(i=0; (u32)i<g.pagesize; i+=64){
160283: printf(" %03x: %.64s\n", i, &zMap[i]);
160283: }
160283: sqlite3_free(zMap);
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static void decode_trunk_page(
160283: u32 pgno,
160283: int detail,
160283: int recursive
160283: ){
160283: u32 i;
160283: u32 n;
160283: unsigned char *a;
160283: while( pgno>0 ){
160283: a = fileRead((pgno-1)*g.pagesize, g.pagesize);
160283: printf("Decode of freelist trunk page %d:\n", pgno);
160283: print_decode_line(a, 0, 4, "Next freelist trunk page");
160283: print_decode_line(a, 4, 4, "Number of entries on this page");
160283: if( detail ){
160283: n = decodeInt32(&a[4]);
160283: for(i=0; i<n && i<g.pagesize/4; i++){
160283: u32 x = decodeInt32(&a[8+4*i]);
160283: char zIdx[13];
160283: sprintf(zIdx, "[%d]", i);
160283: printf(" %5s %7u", zIdx, x);
160283: if( i%5==4 ) printf("\n");
160283: }
160283: if( i%5!=0 ) printf("\n");
160283: }
160283: if( !recursive ){
160283: pgno = 0;
160283: }else{
160283: pgno = decodeInt32(&a[0]);
160283: }
160283: sqlite3_free(a);
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static char **zPageUse;
160283:
160283:
160283:
160283:
160283: static void page_usage_msg(u32 pgno, const char *zFormat, ...){
160283: va_list ap;
160283: char *zMsg;
160283:
160283:
160283: # 784 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: __builtin_c23_va_start(
160283: # 784 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ap, zFormat
160283: # 784 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: )
160283: # 784 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ;
160283: zMsg = sqlite3_vmprintf(zFormat, ap);
160283:
160283: # 786 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: __builtin_va_end(
160283: # 786 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ap
160283: # 786 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: )
160283: # 786 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ;
160283: if( pgno<=0 || pgno>g.mxPage ){
160283: printf("ERROR: page %d out of range 1..%u: %s\n",
160283: pgno, g.mxPage, zMsg);
160283: sqlite3_free(zMsg);
160283: return;
160283: }
160283: if( zPageUse[pgno]!=0 ){
160283: printf("ERROR: page %d used multiple times:\n", pgno);
160283: printf("ERROR: previous: %s\n", zPageUse[pgno]);
160283: printf("ERROR: current: %s\n", zMsg);
160283: sqlite3_free(zPageUse[pgno]);
160283: }
160283: zPageUse[pgno] = zMsg;
160283: }
160283:
160283:
160283:
160283:
160283: static void page_usage_cell(
160283: unsigned char cType,
160283: unsigned char *a,
160283: u32 pgno,
160283: int cellno
160283: ){
160283: int i;
160283: int n = 0;
160283: i64 nPayload;
160283: i64 rowid;
160283: i64 nLocal;
160283: i = 0;
160283: if( cType<=5 ){
160283: a += 4;
160283: n += 4;
160283: }
160283: if( cType!=5 ){
160283: i = decodeVarint(a, &nPayload);
160283: a += i;
160283: n += i;
160283: nLocal = localPayload(nPayload, cType);
160283: }else{
160283: nPayload = nLocal = 0;
160283: }
160283: if( cType==5 || cType==13 ){
160283: i = decodeVarint(a, &rowid);
160283: a += i;
160283: n += i;
160283: }
160283: if( nLocal<nPayload ){
160283: u32 ovfl = decodeInt32(a+nLocal);
160283: u32 cnt = 0;
160283: while( ovfl && (cnt++)<g.mxPage ){
160283: page_usage_msg(ovfl, "overflow %d from cell %d of page %u",
160283: cnt, cellno, pgno);
160283: a = fileRead((ovfl-1)*(sqlite3_int64)g.pagesize, 4);
160283: ovfl = decodeInt32(a);
160283: sqlite3_free(a);
160283: }
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static int allZero(unsigned char *a, int n){
160283: while( n && (a++)[0]==0 ){ n--; }
160283: return n==0;
160283: }
160283: # 862 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: static void page_usage_btree(
160283: u32 pgno,
160283: int parent,
160283: int idx,
160283: const char *zName
160283: ){
160283: unsigned char *a;
160283: const char *zType = "corrupt node";
160283: int nCell;
160283: int i;
160283: int hdr = pgno==1 ? 100 : 0;
160283: char zEntry[30];
160283:
160283: if( pgno<=0 || pgno>g.mxPage ) return;
160283: a = fileRead((pgno-1)*g.pagesize, g.pagesize);
160283: switch( a[hdr] ){
160283: case 0: {
160283: if( allZero(a, g.pagesize) ){
160283: zType = "zeroed page";
160283: }else if( parent<0 ){
160283: return;
160283: }else{
160283: zType = "corrupt node";
160283: }
160283: break;
160283: }
160283: case 2: zType = "interior node of index"; break;
160283: case 5: zType = "interior node of table"; break;
160283: case 10: zType = "leaf of index"; break;
160283: case 13: zType = "leaf of table"; break;
160283: default: {
160283: if( parent<0 ) return;
160283: zType = "corrupt node";
160283: }
160283: }
160283: nCell = a[hdr+3]*256 + a[hdr+4];
160283: if( nCell==1 ){
160283: sqlite3_snprintf(sizeof(zEntry),zEntry,"1 row");
160283: }else{
160283: sqlite3_snprintf(sizeof(zEntry),zEntry,"%d rows", nCell);
160283: }
160283: if( parent>0 ){
160283: page_usage_msg(pgno, "%s [%s], child %d of page %d, %s",
160283: zType, zName, idx, parent, zEntry);
160283: }else if( parent==0 ){
160283: page_usage_msg(pgno, "root %s [%s], %s", zType, zName, zEntry);
160283: }else{
160283: page_usage_msg(pgno, "orphaned %s, %s", zType, zEntry);
160283: }
160283: if( a[hdr]==2 || a[hdr]==5 ){
160283: int cellstart = hdr+12;
160283: u32 child;
160283: for(i=0; i<nCell; i++){
160283: u32 cellidx;
160283: u32 ofst;
160283:
160283: cellidx = cellstart + i*2;
160283: if( cellidx+1 >= g.pagesize ){
160283: printf("ERROR: page %d too many cells (%d)\n", pgno, nCell);
160283: break;
160283: }
160283: ofst = a[cellidx]*256 + a[cellidx+1];
160283: if( ofst<cellidx+2 || ofst+4>=g.pagesize ){
160283: printf("ERROR: page %d cell %d out of bounds\n", pgno, i);
160283: continue;
160283: }
160283: child = decodeInt32(a+ofst);
160283: page_usage_btree(child, pgno, i, zName);
160283: }
160283: child = decodeInt32(a+cellstart-4);
160283: page_usage_btree(child, pgno, i, zName);
160283: }
160283: if( a[hdr]==2 || a[hdr]==10 || a[hdr]==13 ){
160283: int cellstart = hdr + 8 + 4*(a[hdr]<=5);
160283: for(i=0; i<nCell; i++){
160283: int ofst;
160283: ofst = cellstart + i*2;
160283: ofst = a[ofst]*256 + a[ofst+1];
160283: page_usage_cell(a[hdr], a+ofst, pgno, i);
160283: }
160283: }
160283: sqlite3_free(a);
160283: }
160283:
160283:
160283:
160283:
160283: static void page_usage_freelist(u32 pgno){
160283: unsigned char *a;
160283: int cnt = 0;
160283: int i;
160283: int n;
160283: int iNext;
160283: int parent = 1;
160283:
160283: while( pgno>0 && pgno<=g.mxPage && (u32)(cnt++)<g.mxPage ){
160283: page_usage_msg(pgno, "freelist trunk #%d child of %d", cnt, parent);
160283: a = fileRead((pgno-1)*g.pagesize, g.pagesize);
160283: iNext = decodeInt32(a);
160283: n = decodeInt32(a+4);
160283: if( n>(g.pagesize - 8)/4 ){
160283: printf("ERROR: page %d too many freelist entries (%d)\n", pgno, n);
160283: n = (g.pagesize - 8)/4;
160283: }
160283: for(i=0; i<n; i++){
160283: int child = decodeInt32(a + (i*4+8));
160283: page_usage_msg(child, "freelist leaf, child %d of trunk page %d",
160283: i, pgno);
160283: }
160283: sqlite3_free(a);
160283: parent = pgno;
160283: pgno = iNext;
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static void page_usage_ptrmap(u8 *a){
160283: if( decodeInt32(a+52) ){
160283: int usable = g.pagesize - a[20];
160283: u64 pgno = 2;
160283: int perPage = usable/5;
160283: while( pgno<=g.mxPage ){
160283: page_usage_msg((u32)pgno, "PTRMAP page covering %llu..%llu",
160283: pgno+1, pgno+perPage);
160283: pgno += perPage + 1;
160283: }
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static void page_usage_report(const char *zPrg, const char *zDbName){
160283: u32 i, j;
160283: int rc;
160283: sqlite3 *db;
160283: sqlite3_stmt *pStmt;
160283: unsigned char *a;
160283: char zQuery[200];
160283:
160283:
160283: if( g.mxPage<1 ){
160283: printf("empty database\n");
160283: return;
160283: }
160283:
160283:
160283: db = openDatabase(zPrg, zDbName);
160283:
160283:
160283:
160283: zPageUse = sqlite3_malloc64( sizeof(zPageUse[0])*(g.mxPage+1) );
160283: if( zPageUse==0 ) out_of_memory();
160283: memset(zPageUse, 0, sizeof(zPageUse[0])*(g.mxPage+1));
160283:
160283:
160283: a = fileRead(0, 100);
160283: page_usage_freelist(decodeInt32(a+32));
160283: page_usage_ptrmap(a);
160283: sqlite3_free(a);
160283: page_usage_btree(1, 0, 0, "sqlite_schema");
160283: sqlite3_exec(db, "PRAGMA writable_schema=ON", 0, 0, 0);
160283: for(j=0; j<2; j++){
160283: sqlite3_snprintf(sizeof(zQuery), zQuery,
160283: "SELECT type, name, rootpage FROM SQLITE_MASTER WHERE rootpage"
160283: " ORDER BY rowid %s", j?"DESC":"");
160283: rc = sqlite3_prepare_v2(db, zQuery, -1, &pStmt, 0);
160283: if( rc==0 ){
160283: while( sqlite3_step(pStmt)==100 ){
160283: u32 pgno = (u32)sqlite3_column_int64(pStmt, 2);
160283: page_usage_btree(pgno, 0, 0, (const char*)sqlite3_column_text(pStmt,1));
160283: }
160283: }else{
160283: printf("ERROR: cannot query database: %s\n", sqlite3_errmsg(db));
160283: }
160283: rc = sqlite3_finalize(pStmt);
160283: if( rc==0 ) break;
160283: }
160283: sqlite3_close(db);
160283:
160283:
160283: for(i=1; i<=g.mxPage; i++){
160283: if( zPageUse[i]==0 ) page_usage_btree(i, -1, 0, 0);
160283: printf("%5u: %s\n", i, zPageUse[i] ? zPageUse[i] : "???");
160283: }
160283: for(i=1; i<=g.mxPage; i++){
160283: sqlite3_free(zPageUse[i]);
160283: }
160283: sqlite3_free(zPageUse);
160283: zPageUse = 0;
160283: }
160283:
160283:
160283:
160283:
160283: static void ptrmap_coverage_report(const char *zDbName){
160283: u64 pgno;
160283: unsigned char *aHdr;
160283: unsigned char *a;
160283: int usable;
160283: int perPage;
160283: int i;
160283:
160283:
160283: if( g.mxPage<1 ){
160283: printf("empty database\n");
160283: return;
160283: }
160283:
160283:
160283: aHdr = fileRead(0, 100);
160283: if( aHdr[55]==0 ){
160283: printf("database does not use PTRMAP pages\n");
160283: return;
160283: }
160283: usable = g.pagesize - aHdr[20];
160283: perPage = usable/5;
160283: sqlite3_free(aHdr);
160283: printf("%5d: root of sqlite_schema\n", 1);
160283: for(pgno=2; pgno<=g.mxPage; pgno += perPage+1){
160283: printf("%5llu: PTRMAP page covering %llu..%llu\n", pgno,
160283: pgno+1, pgno+perPage);
160283: a = fileRead((pgno-1)*g.pagesize, usable);
160283: for(i=0; i+5<=usable && pgno+1+i/5<=g.mxPage; i+=5){
160283: const char *zType = "???";
160283: u32 iFrom = decodeInt32(&a[i+1]);
160283: switch( a[i] ){
160283: case 1: zType = "b-tree root page"; break;
160283: case 2: zType = "freelist page"; break;
160283: case 3: zType = "first page of overflow"; break;
160283: case 4: zType = "later page of overflow"; break;
160283: case 5: zType = "b-tree non-root page"; break;
160283: }
160283: printf("%5llu: %s, parent=%u\n", pgno+1+i/5, zType, iFrom);
160283: }
160283: sqlite3_free(a);
160283: }
160283: }
160283:
160283:
160283:
160283:
160283:
160283: static void checkPageValidity(int iPage){
160283: if( iPage<1 || iPage>g.mxPage ){
160283: fprintf(
160283: # 1109 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 1109 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "Invalid page number %d: valid range is 1..%d\n",
160283: iPage, g.mxPage);
160283: exit(1);
160283: }
160283: }
160283:
160283:
160283:
160283:
160283: static void usage(const char *argv0){
160283: fprintf(
160283: # 1119 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 1119 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "Usage %s ?--uri? FILENAME ?args...?\n\n", argv0);
160283: fprintf(
160283: # 1120 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 1120 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,
160283: "switches:\n"
160283: " --raw Read db file directly, bypassing SQLite VFS\n"
160283: "args:\n"
160283: " dbheader Show database header\n"
160283: " pgidx Index of how each page is used\n"
160283: " ptrmap Show all PTRMAP page content\n"
160283: " NNN..MMM Show hex of pages NNN through MMM\n"
160283: " NNN..end Show hex of pages NNN through end of file\n"
160283: " NNNb Decode btree page NNN\n"
160283: " NNNbc Decode btree page NNN and show content\n"
160283: " NNNbm Decode btree page NNN and show a layout map\n"
160283: " NNNbdCCC Decode cell CCC on btree page NNN\n"
160283: " NNNt Decode freelist trunk page NNN\n"
160283: " NNNtd Show leaf freelist pages on the decode\n"
160283: " NNNtr Recursively decode freelist starting at NNN\n"
160283: );
160283: }
160283:
160283: int main(int argc, char **argv){
160283: sqlite3_int64 szFile;
160283: unsigned char *zPgSz;
160283: const char *zPrg = argv[0];
160283: char **azArg = argv;
160283: int nArg = argc;
160283:
160283:
160283: if( nArg>1 ){
160283: if( sqlite3_stricmp("-raw", azArg[1])==0
160283: || sqlite3_stricmp("--raw", azArg[1])==0
160283: ){
160283: g.bRaw = 1;
160283: azArg++;
160283: nArg--;
160283: }
160283: }
160283:
160283: if( nArg<2 ){
160283: usage(zPrg);
160283: exit(1);
160283: }
160283:
160283: fileOpen(zPrg, azArg[1]);
160283: szFile = fileGetsize();
160283:
160283: zPgSz = fileRead(16, 2);
160283: g.pagesize = zPgSz[0]*256 + zPgSz[1]*65536;
160283: if( g.pagesize==0 ) g.pagesize = 1024;
160283: sqlite3_free(zPgSz);
160283:
160283: printf("Pagesize: %d\n", g.pagesize);
160283: g.mxPage = (u32)((szFile+g.pagesize-1)/g.pagesize);
160283:
160283: printf("Available pages: 1..%u\n", g.mxPage);
160283: if( nArg==2 ){
160283: u32 i;
160283: for(i=1; i<=g.mxPage; i++) print_page(i);
160283: }else{
160283: int i;
160283: for(i=2; i<nArg; i++){
160283: u32 iStart, iEnd;
160283: char *zLeft;
160283: if( strcmp(azArg[i], "dbheader")==0 ){
160283: print_db_header();
160283: continue;
160283: }
160283: if( strcmp(azArg[i], "pgidx")==0 ){
160283: page_usage_report(zPrg, azArg[1]);
160283: continue;
160283: }
160283: if( strcmp(azArg[i], "ptrmap")==0 ){
160283: ptrmap_coverage_report(azArg[1]);
160283: continue;
160283: }
160283: if( strcmp(azArg[i], "help")==0 ){
160283: usage(zPrg);
160283: continue;
160283: }
160283: if( !
160283: # 1198 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ((*__ctype_b_loc ())[(int) ((
160283: # 1198 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: (unsigned char)(azArg[i][0])
160283: # 1198 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: ))] & (unsigned short int) _ISdigit)
160283: # 1198 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ){
160283: fprintf(
160283: # 1199 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 1199 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: , "%s: unknown option: [%s]\n", zPrg, azArg[i]);
160283: continue;
160283: }
160283: iStart = strtoul(azArg[i], &zLeft, 0);
160283: checkPageValidity(iStart);
160283: if( zLeft && strcmp(zLeft,"..end")==0 ){
160283: iEnd = g.mxPage;
160283: }else if( zLeft && zLeft[0]=='.' && zLeft[1]=='.' ){
160283: iEnd = strtol(&zLeft[2], 0, 0);
160283: checkPageValidity(iEnd);
160283: }else if( zLeft && zLeft[0]=='b' ){
160283: int ofst, nByte, hdrSize;
160283: unsigned char *a;
160283: if( iStart==1 ){
160283: ofst = hdrSize = 100;
160283: nByte = g.pagesize-100;
160283: }else{
160283: hdrSize = 0;
160283: ofst = (iStart-1)*g.pagesize;
160283: nByte = g.pagesize;
160283: }
160283: a = fileRead(ofst, nByte);
160283: decode_btree_page(a, iStart, hdrSize, &zLeft[1]);
160283: sqlite3_free(a);
160283: continue;
160283: }else if( zLeft && zLeft[0]=='t' ){
160283: int detail = 0;
160283: int recursive = 0;
160283: int j;
160283: for(j=1; zLeft[j]; j++){
160283: if( zLeft[j]=='r' ) recursive = 1;
160283: if( zLeft[j]=='d' ) detail = 1;
160283: }
160283: decode_trunk_page(iStart, detail, recursive);
160283: continue;
160283: }else{
160283: iEnd = iStart;
160283: }
160283: if( iStart<1 || iEnd<iStart || iEnd>g.mxPage ){
160283: fprintf(
160283: # 1238 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c" 3 4
160283: stderr
160283: # 1238 "/tmp/buildd/sqlite3/sqlite3-3.46.1/tool/showdb.c"
160283: ,
160283: "Page argument should be LOWER?..UPPER?. Range 1 to %d\n",
160283: g.mxPage);
160283: exit(1);
160283: }
160283: while( iStart<=iEnd ){
160283: print_page(iStart);
160283: iStart++;
160283: }
160283: }
160283: }
160283: fileClose();
160283: return 0;
160283: }
=== END GCC DUMP ===
make[1]: *** [Makefile:1458: showdb] Error 1