From 7383a830d1e8769cc3cc5590f0bee34d1fcefdc3 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 27 Feb 2023 13:40:02 +0100 Subject: [PATCH] added cimport.zig of facilio - for maybe later --- src/deps/cimport.zig | 5496 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 5496 insertions(+) create mode 100644 src/deps/cimport.zig diff --git a/src/deps/cimport.zig b/src/deps/cimport.zig new file mode 100644 index 0000000..795a194 --- /dev/null +++ b/src/deps/cimport.zig @@ -0,0 +1,5496 @@ +pub const __builtin_bswap16 = @import("std").zig.c_builtins.__builtin_bswap16; +pub const __builtin_bswap32 = @import("std").zig.c_builtins.__builtin_bswap32; +pub const __builtin_bswap64 = @import("std").zig.c_builtins.__builtin_bswap64; +pub const __builtin_signbit = @import("std").zig.c_builtins.__builtin_signbit; +pub const __builtin_signbitf = @import("std").zig.c_builtins.__builtin_signbitf; +pub const __builtin_popcount = @import("std").zig.c_builtins.__builtin_popcount; +pub const __builtin_ctz = @import("std").zig.c_builtins.__builtin_ctz; +pub const __builtin_clz = @import("std").zig.c_builtins.__builtin_clz; +pub const __builtin_sqrt = @import("std").zig.c_builtins.__builtin_sqrt; +pub const __builtin_sqrtf = @import("std").zig.c_builtins.__builtin_sqrtf; +pub const __builtin_sin = @import("std").zig.c_builtins.__builtin_sin; +pub const __builtin_sinf = @import("std").zig.c_builtins.__builtin_sinf; +pub const __builtin_cos = @import("std").zig.c_builtins.__builtin_cos; +pub const __builtin_cosf = @import("std").zig.c_builtins.__builtin_cosf; +pub const __builtin_exp = @import("std").zig.c_builtins.__builtin_exp; +pub const __builtin_expf = @import("std").zig.c_builtins.__builtin_expf; +pub const __builtin_exp2 = @import("std").zig.c_builtins.__builtin_exp2; +pub const __builtin_exp2f = @import("std").zig.c_builtins.__builtin_exp2f; +pub const __builtin_log = @import("std").zig.c_builtins.__builtin_log; +pub const __builtin_logf = @import("std").zig.c_builtins.__builtin_logf; +pub const __builtin_log2 = @import("std").zig.c_builtins.__builtin_log2; +pub const __builtin_log2f = @import("std").zig.c_builtins.__builtin_log2f; +pub const __builtin_log10 = @import("std").zig.c_builtins.__builtin_log10; +pub const __builtin_log10f = @import("std").zig.c_builtins.__builtin_log10f; +pub const __builtin_abs = @import("std").zig.c_builtins.__builtin_abs; +pub const __builtin_fabs = @import("std").zig.c_builtins.__builtin_fabs; +pub const __builtin_fabsf = @import("std").zig.c_builtins.__builtin_fabsf; +pub const __builtin_floor = @import("std").zig.c_builtins.__builtin_floor; +pub const __builtin_floorf = @import("std").zig.c_builtins.__builtin_floorf; +pub const __builtin_ceil = @import("std").zig.c_builtins.__builtin_ceil; +pub const __builtin_ceilf = @import("std").zig.c_builtins.__builtin_ceilf; +pub const __builtin_trunc = @import("std").zig.c_builtins.__builtin_trunc; +pub const __builtin_truncf = @import("std").zig.c_builtins.__builtin_truncf; +pub const __builtin_round = @import("std").zig.c_builtins.__builtin_round; +pub const __builtin_roundf = @import("std").zig.c_builtins.__builtin_roundf; +pub const __builtin_strlen = @import("std").zig.c_builtins.__builtin_strlen; +pub const __builtin_strcmp = @import("std").zig.c_builtins.__builtin_strcmp; +pub const __builtin_object_size = @import("std").zig.c_builtins.__builtin_object_size; +pub const __builtin___memset_chk = @import("std").zig.c_builtins.__builtin___memset_chk; +pub const __builtin_memset = @import("std").zig.c_builtins.__builtin_memset; +pub const __builtin___memcpy_chk = @import("std").zig.c_builtins.__builtin___memcpy_chk; +pub const __builtin_memcpy = @import("std").zig.c_builtins.__builtin_memcpy; +pub const __builtin_expect = @import("std").zig.c_builtins.__builtin_expect; +pub const __builtin_nanf = @import("std").zig.c_builtins.__builtin_nanf; +pub const __builtin_huge_valf = @import("std").zig.c_builtins.__builtin_huge_valf; +pub const __builtin_inff = @import("std").zig.c_builtins.__builtin_inff; +pub const __builtin_isnan = @import("std").zig.c_builtins.__builtin_isnan; +pub const __builtin_isinf = @import("std").zig.c_builtins.__builtin_isinf; +pub const __builtin_isinf_sign = @import("std").zig.c_builtins.__builtin_isinf_sign; +pub const __has_builtin = @import("std").zig.c_builtins.__has_builtin; +pub const __builtin_assume = @import("std").zig.c_builtins.__builtin_assume; +pub const __builtin_unreachable = @import("std").zig.c_builtins.__builtin_unreachable; +pub const __builtin_constant_p = @import("std").zig.c_builtins.__builtin_constant_p; +pub const __builtin_mul_overflow = @import("std").zig.c_builtins.__builtin_mul_overflow; +pub extern fn __errno_location() [*c]c_int; +pub extern var program_invocation_name: [*c]u8; +pub extern var program_invocation_short_name: [*c]u8; +pub const error_t = c_int; +pub extern fn __sysconf(__name: c_int) c_long; +pub const __u_char = u8; +pub const __u_short = c_ushort; +pub const __u_int = c_uint; +pub const __u_long = c_ulong; +pub const __int8_t = i8; +pub const __uint8_t = u8; +pub const __int16_t = c_short; +pub const __uint16_t = c_ushort; +pub const __int32_t = c_int; +pub const __uint32_t = c_uint; +pub const __int64_t = c_long; +pub const __uint64_t = c_ulong; +pub const __int_least8_t = __int8_t; +pub const __uint_least8_t = __uint8_t; +pub const __int_least16_t = __int16_t; +pub const __uint_least16_t = __uint16_t; +pub const __int_least32_t = __int32_t; +pub const __uint_least32_t = __uint32_t; +pub const __int_least64_t = __int64_t; +pub const __uint_least64_t = __uint64_t; +pub const __quad_t = c_long; +pub const __u_quad_t = c_ulong; +pub const __intmax_t = c_long; +pub const __uintmax_t = c_ulong; +pub const __dev_t = c_ulong; +pub const __uid_t = c_uint; +pub const __gid_t = c_uint; +pub const __ino_t = c_ulong; +pub const __ino64_t = c_ulong; +pub const __mode_t = c_uint; +pub const __nlink_t = c_ulong; +pub const __off_t = c_long; +pub const __off64_t = c_long; +pub const __pid_t = c_int; +pub const __fsid_t = extern struct { + __val: [2]c_int, +}; +pub const __clock_t = c_long; +pub const __rlim_t = c_ulong; +pub const __rlim64_t = c_ulong; +pub const __id_t = c_uint; +pub const __time_t = c_long; +pub const __useconds_t = c_uint; +pub const __suseconds_t = c_long; +pub const __suseconds64_t = c_long; +pub const __daddr_t = c_int; +pub const __key_t = c_int; +pub const __clockid_t = c_int; +pub const __timer_t = ?*anyopaque; +pub const __blksize_t = c_long; +pub const __blkcnt_t = c_long; +pub const __blkcnt64_t = c_long; +pub const __fsblkcnt_t = c_ulong; +pub const __fsblkcnt64_t = c_ulong; +pub const __fsfilcnt_t = c_ulong; +pub const __fsfilcnt64_t = c_ulong; +pub const __fsword_t = c_long; +pub const __ssize_t = c_long; +pub const __syscall_slong_t = c_long; +pub const __syscall_ulong_t = c_ulong; +pub const __loff_t = __off64_t; +pub const __caddr_t = [*c]u8; +pub const __intptr_t = c_long; +pub const __socklen_t = c_uint; +pub const __sig_atomic_t = c_int; +pub const sig_atomic_t = __sig_atomic_t; +pub const __sigset_t = extern struct { + __val: [16]c_ulong, +}; +pub const sigset_t = __sigset_t; +pub const pid_t = __pid_t; +pub const uid_t = __uid_t; +pub const time_t = __time_t; +pub const struct_timespec = extern struct { + tv_sec: __time_t, + tv_nsec: __syscall_slong_t, +}; +pub const union_sigval = extern union { + sival_int: c_int, + sival_ptr: ?*anyopaque, +}; +pub const __sigval_t = union_sigval; +const struct_unnamed_2 = extern struct { + si_pid: __pid_t, + si_uid: __uid_t, +}; +const struct_unnamed_3 = extern struct { + si_tid: c_int, + si_overrun: c_int, + si_sigval: __sigval_t, +}; +const struct_unnamed_4 = extern struct { + si_pid: __pid_t, + si_uid: __uid_t, + si_sigval: __sigval_t, +}; +const struct_unnamed_5 = extern struct { + si_pid: __pid_t, + si_uid: __uid_t, + si_status: c_int, + si_utime: __clock_t, + si_stime: __clock_t, +}; +const struct_unnamed_8 = extern struct { + _lower: ?*anyopaque, + _upper: ?*anyopaque, +}; +const union_unnamed_7 = extern union { + _addr_bnd: struct_unnamed_8, + _pkey: __uint32_t, +}; +const struct_unnamed_6 = extern struct { + si_addr: ?*anyopaque, + si_addr_lsb: c_short, + _bounds: union_unnamed_7, +}; +const struct_unnamed_9 = extern struct { + si_band: c_long, + si_fd: c_int, +}; +const struct_unnamed_10 = extern struct { + _call_addr: ?*anyopaque, + _syscall: c_int, + _arch: c_uint, +}; +const union_unnamed_1 = extern union { + _pad: [28]c_int, + _kill: struct_unnamed_2, + _timer: struct_unnamed_3, + _rt: struct_unnamed_4, + _sigchld: struct_unnamed_5, + _sigfault: struct_unnamed_6, + _sigpoll: struct_unnamed_9, + _sigsys: struct_unnamed_10, +}; +pub const siginfo_t = extern struct { + si_signo: c_int, + si_errno: c_int, + si_code: c_int, + __pad0: c_int, + _sifields: union_unnamed_1, +}; +pub const SI_ASYNCNL: c_int = -60; +pub const SI_DETHREAD: c_int = -7; +pub const SI_TKILL: c_int = -6; +pub const SI_SIGIO: c_int = -5; +pub const SI_ASYNCIO: c_int = -4; +pub const SI_MESGQ: c_int = -3; +pub const SI_TIMER: c_int = -2; +pub const SI_QUEUE: c_int = -1; +pub const SI_USER: c_int = 0; +pub const SI_KERNEL: c_int = 128; +const enum_unnamed_11 = c_int; +pub const ILL_ILLOPC: c_int = 1; +pub const ILL_ILLOPN: c_int = 2; +pub const ILL_ILLADR: c_int = 3; +pub const ILL_ILLTRP: c_int = 4; +pub const ILL_PRVOPC: c_int = 5; +pub const ILL_PRVREG: c_int = 6; +pub const ILL_COPROC: c_int = 7; +pub const ILL_BADSTK: c_int = 8; +pub const ILL_BADIADDR: c_int = 9; +const enum_unnamed_12 = c_uint; +pub const FPE_INTDIV: c_int = 1; +pub const FPE_INTOVF: c_int = 2; +pub const FPE_FLTDIV: c_int = 3; +pub const FPE_FLTOVF: c_int = 4; +pub const FPE_FLTUND: c_int = 5; +pub const FPE_FLTRES: c_int = 6; +pub const FPE_FLTINV: c_int = 7; +pub const FPE_FLTSUB: c_int = 8; +pub const FPE_FLTUNK: c_int = 14; +pub const FPE_CONDTRAP: c_int = 15; +const enum_unnamed_13 = c_uint; +pub const SEGV_MAPERR: c_int = 1; +pub const SEGV_ACCERR: c_int = 2; +pub const SEGV_BNDERR: c_int = 3; +pub const SEGV_PKUERR: c_int = 4; +pub const SEGV_ACCADI: c_int = 5; +pub const SEGV_ADIDERR: c_int = 6; +pub const SEGV_ADIPERR: c_int = 7; +pub const SEGV_MTEAERR: c_int = 8; +pub const SEGV_MTESERR: c_int = 9; +const enum_unnamed_14 = c_uint; +pub const BUS_ADRALN: c_int = 1; +pub const BUS_ADRERR: c_int = 2; +pub const BUS_OBJERR: c_int = 3; +pub const BUS_MCEERR_AR: c_int = 4; +pub const BUS_MCEERR_AO: c_int = 5; +const enum_unnamed_15 = c_uint; +pub const TRAP_BRKPT: c_int = 1; +pub const TRAP_TRACE: c_int = 2; +pub const TRAP_BRANCH: c_int = 3; +pub const TRAP_HWBKPT: c_int = 4; +pub const TRAP_UNK: c_int = 5; +const enum_unnamed_16 = c_uint; +pub const CLD_EXITED: c_int = 1; +pub const CLD_KILLED: c_int = 2; +pub const CLD_DUMPED: c_int = 3; +pub const CLD_TRAPPED: c_int = 4; +pub const CLD_STOPPED: c_int = 5; +pub const CLD_CONTINUED: c_int = 6; +const enum_unnamed_17 = c_uint; +pub const POLL_IN: c_int = 1; +pub const POLL_OUT: c_int = 2; +pub const POLL_MSG: c_int = 3; +pub const POLL_ERR: c_int = 4; +pub const POLL_PRI: c_int = 5; +pub const POLL_HUP: c_int = 6; +const enum_unnamed_18 = c_uint; +pub const sigval_t = __sigval_t; +pub const union_pthread_attr_t = extern union { + __size: [56]u8, + __align: c_long, +}; +pub const pthread_attr_t = union_pthread_attr_t; +const struct_unnamed_20 = extern struct { + _function: ?*const fn (__sigval_t) callconv(.C) void, + _attribute: [*c]pthread_attr_t, +}; +const union_unnamed_19 = extern union { + _pad: [12]c_int, + _tid: __pid_t, + _sigev_thread: struct_unnamed_20, +}; +pub const struct_sigevent = extern struct { + sigev_value: __sigval_t, + sigev_signo: c_int, + sigev_notify: c_int, + _sigev_un: union_unnamed_19, +}; +pub const sigevent_t = struct_sigevent; +pub const SIGEV_SIGNAL: c_int = 0; +pub const SIGEV_NONE: c_int = 1; +pub const SIGEV_THREAD: c_int = 2; +pub const SIGEV_THREAD_ID: c_int = 4; +const enum_unnamed_21 = c_uint; +pub const __sighandler_t = ?*const fn (c_int) callconv(.C) void; +pub extern fn __sysv_signal(__sig: c_int, __handler: __sighandler_t) __sighandler_t; +pub extern fn sysv_signal(__sig: c_int, __handler: __sighandler_t) __sighandler_t; +pub extern fn signal(__sig: c_int, __handler: __sighandler_t) __sighandler_t; +pub extern fn kill(__pid: __pid_t, __sig: c_int) c_int; +pub extern fn killpg(__pgrp: __pid_t, __sig: c_int) c_int; +pub extern fn raise(__sig: c_int) c_int; +pub extern fn ssignal(__sig: c_int, __handler: __sighandler_t) __sighandler_t; +pub extern fn gsignal(__sig: c_int) c_int; +pub extern fn psignal(__sig: c_int, __s: [*c]const u8) void; +pub extern fn psiginfo(__pinfo: [*c]const siginfo_t, __s: [*c]const u8) void; +pub extern fn sigpause(__sig: c_int) c_int; +pub extern fn sigblock(__mask: c_int) c_int; +pub extern fn sigsetmask(__mask: c_int) c_int; +pub extern fn siggetmask() c_int; +pub const sighandler_t = __sighandler_t; +pub const sig_t = __sighandler_t; +pub extern fn sigemptyset(__set: [*c]sigset_t) c_int; +pub extern fn sigfillset(__set: [*c]sigset_t) c_int; +pub extern fn sigaddset(__set: [*c]sigset_t, __signo: c_int) c_int; +pub extern fn sigdelset(__set: [*c]sigset_t, __signo: c_int) c_int; +pub extern fn sigismember(__set: [*c]const sigset_t, __signo: c_int) c_int; +pub extern fn sigisemptyset(__set: [*c]const sigset_t) c_int; +pub extern fn sigandset(__set: [*c]sigset_t, __left: [*c]const sigset_t, __right: [*c]const sigset_t) c_int; +pub extern fn sigorset(__set: [*c]sigset_t, __left: [*c]const sigset_t, __right: [*c]const sigset_t) c_int; +const union_unnamed_22 = extern union { + sa_handler: __sighandler_t, + sa_sigaction: ?*const fn (c_int, [*c]siginfo_t, ?*anyopaque) callconv(.C) void, +}; +pub const struct_sigaction = extern struct { + __sigaction_handler: union_unnamed_22, + sa_mask: __sigset_t, + sa_flags: c_int, + sa_restorer: ?*const fn () callconv(.C) void, +}; +pub extern fn sigprocmask(__how: c_int, noalias __set: [*c]const sigset_t, noalias __oset: [*c]sigset_t) c_int; +pub extern fn sigsuspend(__set: [*c]const sigset_t) c_int; +pub extern fn sigaction(__sig: c_int, noalias __act: [*c]const struct_sigaction, noalias __oact: [*c]struct_sigaction) c_int; +pub extern fn sigpending(__set: [*c]sigset_t) c_int; +pub extern fn sigwait(noalias __set: [*c]const sigset_t, noalias __sig: [*c]c_int) c_int; +pub extern fn sigwaitinfo(noalias __set: [*c]const sigset_t, noalias __info: [*c]siginfo_t) c_int; +pub extern fn sigtimedwait(noalias __set: [*c]const sigset_t, noalias __info: [*c]siginfo_t, noalias __timeout: [*c]const struct_timespec) c_int; +pub extern fn sigqueue(__pid: __pid_t, __sig: c_int, __val: union_sigval) c_int; +pub const struct__fpx_sw_bytes = extern struct { + magic1: __uint32_t, + extended_size: __uint32_t, + xstate_bv: __uint64_t, + xstate_size: __uint32_t, + __glibc_reserved1: [7]__uint32_t, +}; +pub const struct__fpreg = extern struct { + significand: [4]c_ushort, + exponent: c_ushort, +}; +pub const struct__fpxreg = extern struct { + significand: [4]c_ushort, + exponent: c_ushort, + __glibc_reserved1: [3]c_ushort, +}; +pub const struct__xmmreg = extern struct { + element: [4]__uint32_t, +}; +pub const struct__fpstate = extern struct { + cwd: __uint16_t, + swd: __uint16_t, + ftw: __uint16_t, + fop: __uint16_t, + rip: __uint64_t, + rdp: __uint64_t, + mxcsr: __uint32_t, + mxcr_mask: __uint32_t, + _st: [8]struct__fpxreg, + _xmm: [16]struct__xmmreg, + __glibc_reserved1: [24]__uint32_t, +}; +const union_unnamed_23 = extern union { + fpstate: [*c]struct__fpstate, + __fpstate_word: __uint64_t, +}; +pub const struct_sigcontext = extern struct { + r8: __uint64_t, + r9: __uint64_t, + r10: __uint64_t, + r11: __uint64_t, + r12: __uint64_t, + r13: __uint64_t, + r14: __uint64_t, + r15: __uint64_t, + rdi: __uint64_t, + rsi: __uint64_t, + rbp: __uint64_t, + rbx: __uint64_t, + rdx: __uint64_t, + rax: __uint64_t, + rcx: __uint64_t, + rsp: __uint64_t, + rip: __uint64_t, + eflags: __uint64_t, + cs: c_ushort, + gs: c_ushort, + fs: c_ushort, + __pad0: c_ushort, + err: __uint64_t, + trapno: __uint64_t, + oldmask: __uint64_t, + cr2: __uint64_t, + unnamed_0: union_unnamed_23, + __reserved1: [8]__uint64_t, +}; +pub const struct__xsave_hdr = extern struct { + xstate_bv: __uint64_t, + __glibc_reserved1: [2]__uint64_t, + __glibc_reserved2: [5]__uint64_t, +}; +pub const struct__ymmh_state = extern struct { + ymmh_space: [64]__uint32_t, +}; +pub const struct__xstate = extern struct { + fpstate: struct__fpstate, + xstate_hdr: struct__xsave_hdr, + ymmh: struct__ymmh_state, +}; +pub extern fn sigreturn(__scp: [*c]struct_sigcontext) c_int; +pub const stack_t = extern struct { + ss_sp: ?*anyopaque, + ss_flags: c_int, + ss_size: usize, +}; +pub const greg_t = c_longlong; +pub const gregset_t = [23]greg_t; +pub const REG_R8: c_int = 0; +pub const REG_R9: c_int = 1; +pub const REG_R10: c_int = 2; +pub const REG_R11: c_int = 3; +pub const REG_R12: c_int = 4; +pub const REG_R13: c_int = 5; +pub const REG_R14: c_int = 6; +pub const REG_R15: c_int = 7; +pub const REG_RDI: c_int = 8; +pub const REG_RSI: c_int = 9; +pub const REG_RBP: c_int = 10; +pub const REG_RBX: c_int = 11; +pub const REG_RDX: c_int = 12; +pub const REG_RAX: c_int = 13; +pub const REG_RCX: c_int = 14; +pub const REG_RSP: c_int = 15; +pub const REG_RIP: c_int = 16; +pub const REG_EFL: c_int = 17; +pub const REG_CSGSFS: c_int = 18; +pub const REG_ERR: c_int = 19; +pub const REG_TRAPNO: c_int = 20; +pub const REG_OLDMASK: c_int = 21; +pub const REG_CR2: c_int = 22; +const enum_unnamed_24 = c_uint; +pub const struct__libc_fpxreg = extern struct { + significand: [4]c_ushort, + exponent: c_ushort, + __glibc_reserved1: [3]c_ushort, +}; +pub const struct__libc_xmmreg = extern struct { + element: [4]__uint32_t, +}; +pub const struct__libc_fpstate = extern struct { + cwd: __uint16_t, + swd: __uint16_t, + ftw: __uint16_t, + fop: __uint16_t, + rip: __uint64_t, + rdp: __uint64_t, + mxcsr: __uint32_t, + mxcr_mask: __uint32_t, + _st: [8]struct__libc_fpxreg, + _xmm: [16]struct__libc_xmmreg, + __glibc_reserved1: [24]__uint32_t, +}; +pub const fpregset_t = [*c]struct__libc_fpstate; +pub const mcontext_t = extern struct { + gregs: gregset_t, + fpregs: fpregset_t, + __reserved1: [8]c_ulonglong, +}; +pub const struct_ucontext_t = extern struct { + uc_flags: c_ulong, + uc_link: [*c]struct_ucontext_t, + uc_stack: stack_t, + uc_mcontext: mcontext_t, + uc_sigmask: sigset_t, + __fpregs_mem: struct__libc_fpstate, + __ssp: [4]c_ulonglong, +}; +pub const ucontext_t = struct_ucontext_t; +pub extern fn siginterrupt(__sig: c_int, __interrupt: c_int) c_int; +pub const gid_t = __gid_t; +pub const off_t = __off_t; +pub const off64_t = __off64_t; +pub const useconds_t = __useconds_t; +pub const socklen_t = __socklen_t; +pub extern fn access(__name: [*c]const u8, __type: c_int) c_int; +pub extern fn euidaccess(__name: [*c]const u8, __type: c_int) c_int; +pub extern fn eaccess(__name: [*c]const u8, __type: c_int) c_int; +pub extern fn execveat(__fd: c_int, __path: [*c]const u8, __argv: [*c]const [*c]u8, __envp: [*c]const [*c]u8, __flags: c_int) c_int; +pub extern fn faccessat(__fd: c_int, __file: [*c]const u8, __type: c_int, __flag: c_int) c_int; +pub extern fn lseek(__fd: c_int, __offset: __off_t, __whence: c_int) __off_t; +pub extern fn lseek64(__fd: c_int, __offset: __off64_t, __whence: c_int) __off64_t; +pub extern fn close(__fd: c_int) c_int; +pub extern fn closefrom(__lowfd: c_int) void; +pub extern fn read(__fd: c_int, __buf: ?*anyopaque, __nbytes: usize) isize; +pub extern fn write(__fd: c_int, __buf: ?*const anyopaque, __n: usize) isize; +pub extern fn pread(__fd: c_int, __buf: ?*anyopaque, __nbytes: usize, __offset: __off_t) isize; +pub extern fn pwrite(__fd: c_int, __buf: ?*const anyopaque, __n: usize, __offset: __off_t) isize; +pub extern fn pread64(__fd: c_int, __buf: ?*anyopaque, __nbytes: usize, __offset: __off64_t) isize; +pub extern fn pwrite64(__fd: c_int, __buf: ?*const anyopaque, __n: usize, __offset: __off64_t) isize; +pub extern fn pipe(__pipedes: [*c]c_int) c_int; +pub extern fn pipe2(__pipedes: [*c]c_int, __flags: c_int) c_int; +pub extern fn alarm(__seconds: c_uint) c_uint; +pub extern fn sleep(__seconds: c_uint) c_uint; +pub extern fn ualarm(__value: __useconds_t, __interval: __useconds_t) __useconds_t; +pub extern fn usleep(__useconds: __useconds_t) c_int; +pub extern fn pause() c_int; +pub extern fn chown(__file: [*c]const u8, __owner: __uid_t, __group: __gid_t) c_int; +pub extern fn fchown(__fd: c_int, __owner: __uid_t, __group: __gid_t) c_int; +pub extern fn lchown(__file: [*c]const u8, __owner: __uid_t, __group: __gid_t) c_int; +pub extern fn fchownat(__fd: c_int, __file: [*c]const u8, __owner: __uid_t, __group: __gid_t, __flag: c_int) c_int; +pub extern fn chdir(__path: [*c]const u8) c_int; +pub extern fn fchdir(__fd: c_int) c_int; +pub extern fn getcwd(__buf: [*c]u8, __size: usize) [*c]u8; +pub extern fn get_current_dir_name() [*c]u8; +pub extern fn getwd(__buf: [*c]u8) [*c]u8; +pub extern fn dup(__fd: c_int) c_int; +pub extern fn dup2(__fd: c_int, __fd2: c_int) c_int; +pub extern fn dup3(__fd: c_int, __fd2: c_int, __flags: c_int) c_int; +pub extern var __environ: [*c][*c]u8; +pub extern var environ: [*c][*c]u8; +pub extern fn execve(__path: [*c]const u8, __argv: [*c]const [*c]u8, __envp: [*c]const [*c]u8) c_int; +pub extern fn fexecve(__fd: c_int, __argv: [*c]const [*c]u8, __envp: [*c]const [*c]u8) c_int; +pub extern fn execv(__path: [*c]const u8, __argv: [*c]const [*c]u8) c_int; +pub extern fn execle(__path: [*c]const u8, __arg: [*c]const u8, ...) c_int; +pub extern fn execl(__path: [*c]const u8, __arg: [*c]const u8, ...) c_int; +pub extern fn execvp(__file: [*c]const u8, __argv: [*c]const [*c]u8) c_int; +pub extern fn execlp(__file: [*c]const u8, __arg: [*c]const u8, ...) c_int; +pub extern fn execvpe(__file: [*c]const u8, __argv: [*c]const [*c]u8, __envp: [*c]const [*c]u8) c_int; +pub extern fn nice(__inc: c_int) c_int; +pub extern fn _exit(__status: c_int) noreturn; +pub const _PC_LINK_MAX: c_int = 0; +pub const _PC_MAX_CANON: c_int = 1; +pub const _PC_MAX_INPUT: c_int = 2; +pub const _PC_NAME_MAX: c_int = 3; +pub const _PC_PATH_MAX: c_int = 4; +pub const _PC_PIPE_BUF: c_int = 5; +pub const _PC_CHOWN_RESTRICTED: c_int = 6; +pub const _PC_NO_TRUNC: c_int = 7; +pub const _PC_VDISABLE: c_int = 8; +pub const _PC_SYNC_IO: c_int = 9; +pub const _PC_ASYNC_IO: c_int = 10; +pub const _PC_PRIO_IO: c_int = 11; +pub const _PC_SOCK_MAXBUF: c_int = 12; +pub const _PC_FILESIZEBITS: c_int = 13; +pub const _PC_REC_INCR_XFER_SIZE: c_int = 14; +pub const _PC_REC_MAX_XFER_SIZE: c_int = 15; +pub const _PC_REC_MIN_XFER_SIZE: c_int = 16; +pub const _PC_REC_XFER_ALIGN: c_int = 17; +pub const _PC_ALLOC_SIZE_MIN: c_int = 18; +pub const _PC_SYMLINK_MAX: c_int = 19; +pub const _PC_2_SYMLINKS: c_int = 20; +const enum_unnamed_25 = c_uint; +pub const _SC_ARG_MAX: c_int = 0; +pub const _SC_CHILD_MAX: c_int = 1; +pub const _SC_CLK_TCK: c_int = 2; +pub const _SC_NGROUPS_MAX: c_int = 3; +pub const _SC_OPEN_MAX: c_int = 4; +pub const _SC_STREAM_MAX: c_int = 5; +pub const _SC_TZNAME_MAX: c_int = 6; +pub const _SC_JOB_CONTROL: c_int = 7; +pub const _SC_SAVED_IDS: c_int = 8; +pub const _SC_REALTIME_SIGNALS: c_int = 9; +pub const _SC_PRIORITY_SCHEDULING: c_int = 10; +pub const _SC_TIMERS: c_int = 11; +pub const _SC_ASYNCHRONOUS_IO: c_int = 12; +pub const _SC_PRIORITIZED_IO: c_int = 13; +pub const _SC_SYNCHRONIZED_IO: c_int = 14; +pub const _SC_FSYNC: c_int = 15; +pub const _SC_MAPPED_FILES: c_int = 16; +pub const _SC_MEMLOCK: c_int = 17; +pub const _SC_MEMLOCK_RANGE: c_int = 18; +pub const _SC_MEMORY_PROTECTION: c_int = 19; +pub const _SC_MESSAGE_PASSING: c_int = 20; +pub const _SC_SEMAPHORES: c_int = 21; +pub const _SC_SHARED_MEMORY_OBJECTS: c_int = 22; +pub const _SC_AIO_LISTIO_MAX: c_int = 23; +pub const _SC_AIO_MAX: c_int = 24; +pub const _SC_AIO_PRIO_DELTA_MAX: c_int = 25; +pub const _SC_DELAYTIMER_MAX: c_int = 26; +pub const _SC_MQ_OPEN_MAX: c_int = 27; +pub const _SC_MQ_PRIO_MAX: c_int = 28; +pub const _SC_VERSION: c_int = 29; +pub const _SC_PAGESIZE: c_int = 30; +pub const _SC_RTSIG_MAX: c_int = 31; +pub const _SC_SEM_NSEMS_MAX: c_int = 32; +pub const _SC_SEM_VALUE_MAX: c_int = 33; +pub const _SC_SIGQUEUE_MAX: c_int = 34; +pub const _SC_TIMER_MAX: c_int = 35; +pub const _SC_BC_BASE_MAX: c_int = 36; +pub const _SC_BC_DIM_MAX: c_int = 37; +pub const _SC_BC_SCALE_MAX: c_int = 38; +pub const _SC_BC_STRING_MAX: c_int = 39; +pub const _SC_COLL_WEIGHTS_MAX: c_int = 40; +pub const _SC_EQUIV_CLASS_MAX: c_int = 41; +pub const _SC_EXPR_NEST_MAX: c_int = 42; +pub const _SC_LINE_MAX: c_int = 43; +pub const _SC_RE_DUP_MAX: c_int = 44; +pub const _SC_CHARCLASS_NAME_MAX: c_int = 45; +pub const _SC_2_VERSION: c_int = 46; +pub const _SC_2_C_BIND: c_int = 47; +pub const _SC_2_C_DEV: c_int = 48; +pub const _SC_2_FORT_DEV: c_int = 49; +pub const _SC_2_FORT_RUN: c_int = 50; +pub const _SC_2_SW_DEV: c_int = 51; +pub const _SC_2_LOCALEDEF: c_int = 52; +pub const _SC_PII: c_int = 53; +pub const _SC_PII_XTI: c_int = 54; +pub const _SC_PII_SOCKET: c_int = 55; +pub const _SC_PII_INTERNET: c_int = 56; +pub const _SC_PII_OSI: c_int = 57; +pub const _SC_POLL: c_int = 58; +pub const _SC_SELECT: c_int = 59; +pub const _SC_UIO_MAXIOV: c_int = 60; +pub const _SC_IOV_MAX: c_int = 60; +pub const _SC_PII_INTERNET_STREAM: c_int = 61; +pub const _SC_PII_INTERNET_DGRAM: c_int = 62; +pub const _SC_PII_OSI_COTS: c_int = 63; +pub const _SC_PII_OSI_CLTS: c_int = 64; +pub const _SC_PII_OSI_M: c_int = 65; +pub const _SC_T_IOV_MAX: c_int = 66; +pub const _SC_THREADS: c_int = 67; +pub const _SC_THREAD_SAFE_FUNCTIONS: c_int = 68; +pub const _SC_GETGR_R_SIZE_MAX: c_int = 69; +pub const _SC_GETPW_R_SIZE_MAX: c_int = 70; +pub const _SC_LOGIN_NAME_MAX: c_int = 71; +pub const _SC_TTY_NAME_MAX: c_int = 72; +pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: c_int = 73; +pub const _SC_THREAD_KEYS_MAX: c_int = 74; +pub const _SC_THREAD_STACK_MIN: c_int = 75; +pub const _SC_THREAD_THREADS_MAX: c_int = 76; +pub const _SC_THREAD_ATTR_STACKADDR: c_int = 77; +pub const _SC_THREAD_ATTR_STACKSIZE: c_int = 78; +pub const _SC_THREAD_PRIORITY_SCHEDULING: c_int = 79; +pub const _SC_THREAD_PRIO_INHERIT: c_int = 80; +pub const _SC_THREAD_PRIO_PROTECT: c_int = 81; +pub const _SC_THREAD_PROCESS_SHARED: c_int = 82; +pub const _SC_NPROCESSORS_CONF: c_int = 83; +pub const _SC_NPROCESSORS_ONLN: c_int = 84; +pub const _SC_PHYS_PAGES: c_int = 85; +pub const _SC_AVPHYS_PAGES: c_int = 86; +pub const _SC_ATEXIT_MAX: c_int = 87; +pub const _SC_PASS_MAX: c_int = 88; +pub const _SC_XOPEN_VERSION: c_int = 89; +pub const _SC_XOPEN_XCU_VERSION: c_int = 90; +pub const _SC_XOPEN_UNIX: c_int = 91; +pub const _SC_XOPEN_CRYPT: c_int = 92; +pub const _SC_XOPEN_ENH_I18N: c_int = 93; +pub const _SC_XOPEN_SHM: c_int = 94; +pub const _SC_2_CHAR_TERM: c_int = 95; +pub const _SC_2_C_VERSION: c_int = 96; +pub const _SC_2_UPE: c_int = 97; +pub const _SC_XOPEN_XPG2: c_int = 98; +pub const _SC_XOPEN_XPG3: c_int = 99; +pub const _SC_XOPEN_XPG4: c_int = 100; +pub const _SC_CHAR_BIT: c_int = 101; +pub const _SC_CHAR_MAX: c_int = 102; +pub const _SC_CHAR_MIN: c_int = 103; +pub const _SC_INT_MAX: c_int = 104; +pub const _SC_INT_MIN: c_int = 105; +pub const _SC_LONG_BIT: c_int = 106; +pub const _SC_WORD_BIT: c_int = 107; +pub const _SC_MB_LEN_MAX: c_int = 108; +pub const _SC_NZERO: c_int = 109; +pub const _SC_SSIZE_MAX: c_int = 110; +pub const _SC_SCHAR_MAX: c_int = 111; +pub const _SC_SCHAR_MIN: c_int = 112; +pub const _SC_SHRT_MAX: c_int = 113; +pub const _SC_SHRT_MIN: c_int = 114; +pub const _SC_UCHAR_MAX: c_int = 115; +pub const _SC_UINT_MAX: c_int = 116; +pub const _SC_ULONG_MAX: c_int = 117; +pub const _SC_USHRT_MAX: c_int = 118; +pub const _SC_NL_ARGMAX: c_int = 119; +pub const _SC_NL_LANGMAX: c_int = 120; +pub const _SC_NL_MSGMAX: c_int = 121; +pub const _SC_NL_NMAX: c_int = 122; +pub const _SC_NL_SETMAX: c_int = 123; +pub const _SC_NL_TEXTMAX: c_int = 124; +pub const _SC_XBS5_ILP32_OFF32: c_int = 125; +pub const _SC_XBS5_ILP32_OFFBIG: c_int = 126; +pub const _SC_XBS5_LP64_OFF64: c_int = 127; +pub const _SC_XBS5_LPBIG_OFFBIG: c_int = 128; +pub const _SC_XOPEN_LEGACY: c_int = 129; +pub const _SC_XOPEN_REALTIME: c_int = 130; +pub const _SC_XOPEN_REALTIME_THREADS: c_int = 131; +pub const _SC_ADVISORY_INFO: c_int = 132; +pub const _SC_BARRIERS: c_int = 133; +pub const _SC_BASE: c_int = 134; +pub const _SC_C_LANG_SUPPORT: c_int = 135; +pub const _SC_C_LANG_SUPPORT_R: c_int = 136; +pub const _SC_CLOCK_SELECTION: c_int = 137; +pub const _SC_CPUTIME: c_int = 138; +pub const _SC_THREAD_CPUTIME: c_int = 139; +pub const _SC_DEVICE_IO: c_int = 140; +pub const _SC_DEVICE_SPECIFIC: c_int = 141; +pub const _SC_DEVICE_SPECIFIC_R: c_int = 142; +pub const _SC_FD_MGMT: c_int = 143; +pub const _SC_FIFO: c_int = 144; +pub const _SC_PIPE: c_int = 145; +pub const _SC_FILE_ATTRIBUTES: c_int = 146; +pub const _SC_FILE_LOCKING: c_int = 147; +pub const _SC_FILE_SYSTEM: c_int = 148; +pub const _SC_MONOTONIC_CLOCK: c_int = 149; +pub const _SC_MULTI_PROCESS: c_int = 150; +pub const _SC_SINGLE_PROCESS: c_int = 151; +pub const _SC_NETWORKING: c_int = 152; +pub const _SC_READER_WRITER_LOCKS: c_int = 153; +pub const _SC_SPIN_LOCKS: c_int = 154; +pub const _SC_REGEXP: c_int = 155; +pub const _SC_REGEX_VERSION: c_int = 156; +pub const _SC_SHELL: c_int = 157; +pub const _SC_SIGNALS: c_int = 158; +pub const _SC_SPAWN: c_int = 159; +pub const _SC_SPORADIC_SERVER: c_int = 160; +pub const _SC_THREAD_SPORADIC_SERVER: c_int = 161; +pub const _SC_SYSTEM_DATABASE: c_int = 162; +pub const _SC_SYSTEM_DATABASE_R: c_int = 163; +pub const _SC_TIMEOUTS: c_int = 164; +pub const _SC_TYPED_MEMORY_OBJECTS: c_int = 165; +pub const _SC_USER_GROUPS: c_int = 166; +pub const _SC_USER_GROUPS_R: c_int = 167; +pub const _SC_2_PBS: c_int = 168; +pub const _SC_2_PBS_ACCOUNTING: c_int = 169; +pub const _SC_2_PBS_LOCATE: c_int = 170; +pub const _SC_2_PBS_MESSAGE: c_int = 171; +pub const _SC_2_PBS_TRACK: c_int = 172; +pub const _SC_SYMLOOP_MAX: c_int = 173; +pub const _SC_STREAMS: c_int = 174; +pub const _SC_2_PBS_CHECKPOINT: c_int = 175; +pub const _SC_V6_ILP32_OFF32: c_int = 176; +pub const _SC_V6_ILP32_OFFBIG: c_int = 177; +pub const _SC_V6_LP64_OFF64: c_int = 178; +pub const _SC_V6_LPBIG_OFFBIG: c_int = 179; +pub const _SC_HOST_NAME_MAX: c_int = 180; +pub const _SC_TRACE: c_int = 181; +pub const _SC_TRACE_EVENT_FILTER: c_int = 182; +pub const _SC_TRACE_INHERIT: c_int = 183; +pub const _SC_TRACE_LOG: c_int = 184; +pub const _SC_LEVEL1_ICACHE_SIZE: c_int = 185; +pub const _SC_LEVEL1_ICACHE_ASSOC: c_int = 186; +pub const _SC_LEVEL1_ICACHE_LINESIZE: c_int = 187; +pub const _SC_LEVEL1_DCACHE_SIZE: c_int = 188; +pub const _SC_LEVEL1_DCACHE_ASSOC: c_int = 189; +pub const _SC_LEVEL1_DCACHE_LINESIZE: c_int = 190; +pub const _SC_LEVEL2_CACHE_SIZE: c_int = 191; +pub const _SC_LEVEL2_CACHE_ASSOC: c_int = 192; +pub const _SC_LEVEL2_CACHE_LINESIZE: c_int = 193; +pub const _SC_LEVEL3_CACHE_SIZE: c_int = 194; +pub const _SC_LEVEL3_CACHE_ASSOC: c_int = 195; +pub const _SC_LEVEL3_CACHE_LINESIZE: c_int = 196; +pub const _SC_LEVEL4_CACHE_SIZE: c_int = 197; +pub const _SC_LEVEL4_CACHE_ASSOC: c_int = 198; +pub const _SC_LEVEL4_CACHE_LINESIZE: c_int = 199; +pub const _SC_IPV6: c_int = 235; +pub const _SC_RAW_SOCKETS: c_int = 236; +pub const _SC_V7_ILP32_OFF32: c_int = 237; +pub const _SC_V7_ILP32_OFFBIG: c_int = 238; +pub const _SC_V7_LP64_OFF64: c_int = 239; +pub const _SC_V7_LPBIG_OFFBIG: c_int = 240; +pub const _SC_SS_REPL_MAX: c_int = 241; +pub const _SC_TRACE_EVENT_NAME_MAX: c_int = 242; +pub const _SC_TRACE_NAME_MAX: c_int = 243; +pub const _SC_TRACE_SYS_MAX: c_int = 244; +pub const _SC_TRACE_USER_EVENT_MAX: c_int = 245; +pub const _SC_XOPEN_STREAMS: c_int = 246; +pub const _SC_THREAD_ROBUST_PRIO_INHERIT: c_int = 247; +pub const _SC_THREAD_ROBUST_PRIO_PROTECT: c_int = 248; +pub const _SC_MINSIGSTKSZ: c_int = 249; +pub const _SC_SIGSTKSZ: c_int = 250; +const enum_unnamed_26 = c_uint; +pub const _CS_PATH: c_int = 0; +pub const _CS_V6_WIDTH_RESTRICTED_ENVS: c_int = 1; +pub const _CS_GNU_LIBC_VERSION: c_int = 2; +pub const _CS_GNU_LIBPTHREAD_VERSION: c_int = 3; +pub const _CS_V5_WIDTH_RESTRICTED_ENVS: c_int = 4; +pub const _CS_V7_WIDTH_RESTRICTED_ENVS: c_int = 5; +pub const _CS_LFS_CFLAGS: c_int = 1000; +pub const _CS_LFS_LDFLAGS: c_int = 1001; +pub const _CS_LFS_LIBS: c_int = 1002; +pub const _CS_LFS_LINTFLAGS: c_int = 1003; +pub const _CS_LFS64_CFLAGS: c_int = 1004; +pub const _CS_LFS64_LDFLAGS: c_int = 1005; +pub const _CS_LFS64_LIBS: c_int = 1006; +pub const _CS_LFS64_LINTFLAGS: c_int = 1007; +pub const _CS_XBS5_ILP32_OFF32_CFLAGS: c_int = 1100; +pub const _CS_XBS5_ILP32_OFF32_LDFLAGS: c_int = 1101; +pub const _CS_XBS5_ILP32_OFF32_LIBS: c_int = 1102; +pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS: c_int = 1103; +pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS: c_int = 1104; +pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS: c_int = 1105; +pub const _CS_XBS5_ILP32_OFFBIG_LIBS: c_int = 1106; +pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS: c_int = 1107; +pub const _CS_XBS5_LP64_OFF64_CFLAGS: c_int = 1108; +pub const _CS_XBS5_LP64_OFF64_LDFLAGS: c_int = 1109; +pub const _CS_XBS5_LP64_OFF64_LIBS: c_int = 1110; +pub const _CS_XBS5_LP64_OFF64_LINTFLAGS: c_int = 1111; +pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS: c_int = 1112; +pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS: c_int = 1113; +pub const _CS_XBS5_LPBIG_OFFBIG_LIBS: c_int = 1114; +pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS: c_int = 1115; +pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS: c_int = 1116; +pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS: c_int = 1117; +pub const _CS_POSIX_V6_ILP32_OFF32_LIBS: c_int = 1118; +pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS: c_int = 1119; +pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS: c_int = 1120; +pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS: c_int = 1121; +pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS: c_int = 1122; +pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS: c_int = 1123; +pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS: c_int = 1124; +pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS: c_int = 1125; +pub const _CS_POSIX_V6_LP64_OFF64_LIBS: c_int = 1126; +pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS: c_int = 1127; +pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS: c_int = 1128; +pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS: c_int = 1129; +pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS: c_int = 1130; +pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS: c_int = 1131; +pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS: c_int = 1132; +pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS: c_int = 1133; +pub const _CS_POSIX_V7_ILP32_OFF32_LIBS: c_int = 1134; +pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS: c_int = 1135; +pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS: c_int = 1136; +pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS: c_int = 1137; +pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS: c_int = 1138; +pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS: c_int = 1139; +pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS: c_int = 1140; +pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS: c_int = 1141; +pub const _CS_POSIX_V7_LP64_OFF64_LIBS: c_int = 1142; +pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS: c_int = 1143; +pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS: c_int = 1144; +pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS: c_int = 1145; +pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS: c_int = 1146; +pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS: c_int = 1147; +pub const _CS_V6_ENV: c_int = 1148; +pub const _CS_V7_ENV: c_int = 1149; +const enum_unnamed_27 = c_uint; +pub extern fn pathconf(__path: [*c]const u8, __name: c_int) c_long; +pub extern fn fpathconf(__fd: c_int, __name: c_int) c_long; +pub extern fn sysconf(__name: c_int) c_long; +pub extern fn confstr(__name: c_int, __buf: [*c]u8, __len: usize) usize; +pub extern fn getpid() __pid_t; +pub extern fn getppid() __pid_t; +pub extern fn getpgrp() __pid_t; +pub extern fn __getpgid(__pid: __pid_t) __pid_t; +pub extern fn getpgid(__pid: __pid_t) __pid_t; +pub extern fn setpgid(__pid: __pid_t, __pgid: __pid_t) c_int; +pub extern fn setpgrp() c_int; +pub extern fn setsid() __pid_t; +pub extern fn getsid(__pid: __pid_t) __pid_t; +pub extern fn getuid() __uid_t; +pub extern fn geteuid() __uid_t; +pub extern fn getgid() __gid_t; +pub extern fn getegid() __gid_t; +pub extern fn getgroups(__size: c_int, __list: [*c]__gid_t) c_int; +pub extern fn group_member(__gid: __gid_t) c_int; +pub extern fn setuid(__uid: __uid_t) c_int; +pub extern fn setreuid(__ruid: __uid_t, __euid: __uid_t) c_int; +pub extern fn seteuid(__uid: __uid_t) c_int; +pub extern fn setgid(__gid: __gid_t) c_int; +pub extern fn setregid(__rgid: __gid_t, __egid: __gid_t) c_int; +pub extern fn setegid(__gid: __gid_t) c_int; +pub extern fn getresuid(__ruid: [*c]__uid_t, __euid: [*c]__uid_t, __suid: [*c]__uid_t) c_int; +pub extern fn getresgid(__rgid: [*c]__gid_t, __egid: [*c]__gid_t, __sgid: [*c]__gid_t) c_int; +pub extern fn setresuid(__ruid: __uid_t, __euid: __uid_t, __suid: __uid_t) c_int; +pub extern fn setresgid(__rgid: __gid_t, __egid: __gid_t, __sgid: __gid_t) c_int; +pub extern fn fork() __pid_t; +pub extern fn vfork() c_int; +pub extern fn _Fork() __pid_t; +pub extern fn ttyname(__fd: c_int) [*c]u8; +pub extern fn ttyname_r(__fd: c_int, __buf: [*c]u8, __buflen: usize) c_int; +pub extern fn isatty(__fd: c_int) c_int; +pub extern fn ttyslot() c_int; +pub extern fn link(__from: [*c]const u8, __to: [*c]const u8) c_int; +pub extern fn linkat(__fromfd: c_int, __from: [*c]const u8, __tofd: c_int, __to: [*c]const u8, __flags: c_int) c_int; +pub extern fn symlink(__from: [*c]const u8, __to: [*c]const u8) c_int; +pub extern fn readlink(noalias __path: [*c]const u8, noalias __buf: [*c]u8, __len: usize) isize; +pub extern fn symlinkat(__from: [*c]const u8, __tofd: c_int, __to: [*c]const u8) c_int; +pub extern fn readlinkat(__fd: c_int, noalias __path: [*c]const u8, noalias __buf: [*c]u8, __len: usize) isize; +pub extern fn unlink(__name: [*c]const u8) c_int; +pub extern fn unlinkat(__fd: c_int, __name: [*c]const u8, __flag: c_int) c_int; +pub extern fn rmdir(__path: [*c]const u8) c_int; +pub extern fn tcgetpgrp(__fd: c_int) __pid_t; +pub extern fn tcsetpgrp(__fd: c_int, __pgrp_id: __pid_t) c_int; +pub extern fn getlogin() [*c]u8; +pub extern fn getlogin_r(__name: [*c]u8, __name_len: usize) c_int; +pub extern fn setlogin(__name: [*c]const u8) c_int; +pub extern var optarg: [*c]u8; +pub extern var optind: c_int; +pub extern var opterr: c_int; +pub extern var optopt: c_int; +pub extern fn getopt(___argc: c_int, ___argv: [*c]const [*c]u8, __shortopts: [*c]const u8) c_int; +pub extern fn gethostname(__name: [*c]u8, __len: usize) c_int; +pub extern fn sethostname(__name: [*c]const u8, __len: usize) c_int; +pub extern fn sethostid(__id: c_long) c_int; +pub extern fn getdomainname(__name: [*c]u8, __len: usize) c_int; +pub extern fn setdomainname(__name: [*c]const u8, __len: usize) c_int; +pub extern fn vhangup() c_int; +pub extern fn revoke(__file: [*c]const u8) c_int; +pub extern fn profil(__sample_buffer: [*c]c_ushort, __size: usize, __offset: usize, __scale: c_uint) c_int; +pub extern fn acct(__name: [*c]const u8) c_int; +pub extern fn getusershell() [*c]u8; +pub extern fn endusershell() void; +pub extern fn setusershell() void; +pub extern fn daemon(__nochdir: c_int, __noclose: c_int) c_int; +pub extern fn chroot(__path: [*c]const u8) c_int; +pub extern fn getpass(__prompt: [*c]const u8) [*c]u8; +pub extern fn fsync(__fd: c_int) c_int; +pub extern fn syncfs(__fd: c_int) c_int; +pub extern fn gethostid() c_long; +pub extern fn sync() void; +pub extern fn getpagesize() c_int; +pub extern fn getdtablesize() c_int; +pub extern fn truncate(__file: [*c]const u8, __length: __off_t) c_int; +pub extern fn truncate64(__file: [*c]const u8, __length: __off64_t) c_int; +pub extern fn ftruncate(__fd: c_int, __length: __off_t) c_int; +pub extern fn ftruncate64(__fd: c_int, __length: __off64_t) c_int; +pub extern fn brk(__addr: ?*anyopaque) c_int; +pub extern fn sbrk(__delta: isize) ?*anyopaque; +pub extern fn syscall(__sysno: c_long, ...) c_long; +pub extern fn lockf(__fd: c_int, __cmd: c_int, __len: __off_t) c_int; +pub extern fn lockf64(__fd: c_int, __cmd: c_int, __len: __off64_t) c_int; +pub extern fn copy_file_range(__infd: c_int, __pinoff: [*c]__off64_t, __outfd: c_int, __poutoff: [*c]__off64_t, __length: usize, __flags: c_uint) isize; +pub extern fn fdatasync(__fildes: c_int) c_int; +pub extern fn crypt(__key: [*c]const u8, __salt: [*c]const u8) [*c]u8; +pub extern fn swab(noalias __from: ?*const anyopaque, noalias __to: ?*anyopaque, __n: isize) void; +pub extern fn getentropy(__buffer: ?*anyopaque, __length: usize) c_int; +pub extern fn close_range(__fd: c_uint, __max_fd: c_uint, __flags: c_int) c_int; +pub extern fn gettid() __pid_t; +pub const SS_ONSTACK: c_int = 1; +pub const SS_DISABLE: c_int = 2; +const enum_unnamed_28 = c_uint; +pub extern fn sigaltstack(noalias __ss: [*c]const stack_t, noalias __oss: [*c]stack_t) c_int; +pub const struct_sigstack = extern struct { + ss_sp: ?*anyopaque, + ss_onstack: c_int, +}; +pub extern fn sigstack(__ss: [*c]struct_sigstack, __oss: [*c]struct_sigstack) c_int; +pub extern fn sighold(__sig: c_int) c_int; +pub extern fn sigrelse(__sig: c_int) c_int; +pub extern fn sigignore(__sig: c_int) c_int; +pub extern fn sigset(__sig: c_int, __disp: __sighandler_t) __sighandler_t; +const struct_unnamed_29 = extern struct { + __low: c_uint, + __high: c_uint, +}; +pub const __atomic_wide_counter = extern union { + __value64: c_ulonglong, + __value32: struct_unnamed_29, +}; +pub const struct___pthread_internal_list = extern struct { + __prev: [*c]struct___pthread_internal_list, + __next: [*c]struct___pthread_internal_list, +}; +pub const __pthread_list_t = struct___pthread_internal_list; +pub const struct___pthread_internal_slist = extern struct { + __next: [*c]struct___pthread_internal_slist, +}; +pub const __pthread_slist_t = struct___pthread_internal_slist; +pub const struct___pthread_mutex_s = extern struct { + __lock: c_int, + __count: c_uint, + __owner: c_int, + __nusers: c_uint, + __kind: c_int, + __spins: c_short, + __elision: c_short, + __list: __pthread_list_t, +}; +pub const struct___pthread_rwlock_arch_t = extern struct { + __readers: c_uint, + __writers: c_uint, + __wrphase_futex: c_uint, + __writers_futex: c_uint, + __pad3: c_uint, + __pad4: c_uint, + __cur_writer: c_int, + __shared: c_int, + __rwelision: i8, + __pad1: [7]u8, + __pad2: c_ulong, + __flags: c_uint, +}; +pub const struct___pthread_cond_s = extern struct { + __wseq: __atomic_wide_counter, + __g1_start: __atomic_wide_counter, + __g_refs: [2]c_uint, + __g_size: [2]c_uint, + __g1_orig_size: c_uint, + __wrefs: c_uint, + __g_signals: [2]c_uint, +}; +pub const __tss_t = c_uint; +pub const __thrd_t = c_ulong; +pub const __once_flag = extern struct { + __data: c_int, +}; +pub const pthread_t = c_ulong; +pub const pthread_mutexattr_t = extern union { + __size: [4]u8, + __align: c_int, +}; +pub const pthread_condattr_t = extern union { + __size: [4]u8, + __align: c_int, +}; +pub const pthread_key_t = c_uint; +pub const pthread_once_t = c_int; +pub const pthread_mutex_t = extern union { + __data: struct___pthread_mutex_s, + __size: [40]u8, + __align: c_long, +}; +pub const pthread_cond_t = extern union { + __data: struct___pthread_cond_s, + __size: [48]u8, + __align: c_longlong, +}; +pub const pthread_rwlock_t = extern union { + __data: struct___pthread_rwlock_arch_t, + __size: [56]u8, + __align: c_long, +}; +pub const pthread_rwlockattr_t = extern union { + __size: [8]u8, + __align: c_long, +}; +pub const pthread_spinlock_t = c_int; +pub const pthread_barrier_t = extern union { + __size: [32]u8, + __align: c_long, +}; +pub const pthread_barrierattr_t = extern union { + __size: [4]u8, + __align: c_int, +}; +pub extern fn pthread_sigmask(__how: c_int, noalias __newmask: [*c]const __sigset_t, noalias __oldmask: [*c]__sigset_t) c_int; +pub extern fn pthread_kill(__threadid: pthread_t, __signo: c_int) c_int; +pub extern fn pthread_sigqueue(__threadid: pthread_t, __signo: c_int, __value: union_sigval) c_int; +pub extern fn __libc_current_sigrtmin() c_int; +pub extern fn __libc_current_sigrtmax() c_int; +pub extern fn tgkill(__tgid: __pid_t, __tid: __pid_t, __signal: c_int) c_int; +pub const struct___va_list_tag = extern struct { + gp_offset: c_uint, + fp_offset: c_uint, + overflow_arg_area: ?*anyopaque, + reg_save_area: ?*anyopaque, +}; +pub const __builtin_va_list = [1]struct___va_list_tag; +pub const va_list = __builtin_va_list; +pub const __gnuc_va_list = __builtin_va_list; +pub const int_least8_t = __int_least8_t; +pub const int_least16_t = __int_least16_t; +pub const int_least32_t = __int_least32_t; +pub const int_least64_t = __int_least64_t; +pub const uint_least8_t = __uint_least8_t; +pub const uint_least16_t = __uint_least16_t; +pub const uint_least32_t = __uint_least32_t; +pub const uint_least64_t = __uint_least64_t; +pub const int_fast8_t = i8; +pub const int_fast16_t = c_long; +pub const int_fast32_t = c_long; +pub const int_fast64_t = c_long; +pub const uint_fast8_t = u8; +pub const uint_fast16_t = c_ulong; +pub const uint_fast32_t = c_ulong; +pub const uint_fast64_t = c_ulong; +pub const intmax_t = __intmax_t; +pub const uintmax_t = __uintmax_t; +const union_unnamed_30 = extern union { + __wch: c_uint, + __wchb: [4]u8, +}; +pub const __mbstate_t = extern struct { + __count: c_int, + __value: union_unnamed_30, +}; +pub const struct__G_fpos_t = extern struct { + __pos: __off_t, + __state: __mbstate_t, +}; +pub const __fpos_t = struct__G_fpos_t; +pub const struct__G_fpos64_t = extern struct { + __pos: __off64_t, + __state: __mbstate_t, +}; +pub const __fpos64_t = struct__G_fpos64_t; +pub const struct__IO_marker = opaque {}; +pub const _IO_lock_t = anyopaque; +pub const struct__IO_codecvt = opaque {}; +pub const struct__IO_wide_data = opaque {}; +pub const struct__IO_FILE = extern struct { + _flags: c_int, + _IO_read_ptr: [*c]u8, + _IO_read_end: [*c]u8, + _IO_read_base: [*c]u8, + _IO_write_base: [*c]u8, + _IO_write_ptr: [*c]u8, + _IO_write_end: [*c]u8, + _IO_buf_base: [*c]u8, + _IO_buf_end: [*c]u8, + _IO_save_base: [*c]u8, + _IO_backup_base: [*c]u8, + _IO_save_end: [*c]u8, + _markers: ?*struct__IO_marker, + _chain: [*c]struct__IO_FILE, + _fileno: c_int, + _flags2: c_int, + _old_offset: __off_t, + _cur_column: c_ushort, + _vtable_offset: i8, + _shortbuf: [1]u8, + _lock: ?*_IO_lock_t, + _offset: __off64_t, + _codecvt: ?*struct__IO_codecvt, + _wide_data: ?*struct__IO_wide_data, + _freeres_list: [*c]struct__IO_FILE, + _freeres_buf: ?*anyopaque, + __pad5: usize, + _mode: c_int, + _unused2: [20]u8, +}; +pub const __FILE = struct__IO_FILE; +pub const FILE = struct__IO_FILE; +pub const cookie_read_function_t = fn (?*anyopaque, [*c]u8, usize) callconv(.C) __ssize_t; +pub const cookie_write_function_t = fn (?*anyopaque, [*c]const u8, usize) callconv(.C) __ssize_t; +pub const cookie_seek_function_t = fn (?*anyopaque, [*c]__off64_t, c_int) callconv(.C) c_int; +pub const cookie_close_function_t = fn (?*anyopaque) callconv(.C) c_int; +pub const struct__IO_cookie_io_functions_t = extern struct { + read: ?*const cookie_read_function_t, + write: ?*const cookie_write_function_t, + seek: ?*const cookie_seek_function_t, + close: ?*const cookie_close_function_t, +}; +pub const cookie_io_functions_t = struct__IO_cookie_io_functions_t; +pub const fpos_t = __fpos_t; +pub const fpos64_t = __fpos64_t; +pub extern var stdin: [*c]FILE; +pub extern var stdout: [*c]FILE; +pub extern var stderr: [*c]FILE; +pub extern fn remove(__filename: [*c]const u8) c_int; +pub extern fn rename(__old: [*c]const u8, __new: [*c]const u8) c_int; +pub extern fn renameat(__oldfd: c_int, __old: [*c]const u8, __newfd: c_int, __new: [*c]const u8) c_int; +pub extern fn renameat2(__oldfd: c_int, __old: [*c]const u8, __newfd: c_int, __new: [*c]const u8, __flags: c_uint) c_int; +pub extern fn fclose(__stream: [*c]FILE) c_int; +pub extern fn tmpfile() [*c]FILE; +pub extern fn tmpfile64() [*c]FILE; +pub extern fn tmpnam([*c]u8) [*c]u8; +pub extern fn tmpnam_r(__s: [*c]u8) [*c]u8; +pub extern fn tempnam(__dir: [*c]const u8, __pfx: [*c]const u8) [*c]u8; +pub extern fn fflush(__stream: [*c]FILE) c_int; +pub extern fn fflush_unlocked(__stream: [*c]FILE) c_int; +pub extern fn fcloseall() c_int; +pub extern fn fopen(__filename: [*c]const u8, __modes: [*c]const u8) [*c]FILE; +pub extern fn freopen(noalias __filename: [*c]const u8, noalias __modes: [*c]const u8, noalias __stream: [*c]FILE) [*c]FILE; +pub extern fn fopen64(noalias __filename: [*c]const u8, noalias __modes: [*c]const u8) [*c]FILE; +pub extern fn freopen64(noalias __filename: [*c]const u8, noalias __modes: [*c]const u8, noalias __stream: [*c]FILE) [*c]FILE; +pub extern fn fdopen(__fd: c_int, __modes: [*c]const u8) [*c]FILE; +pub extern fn fopencookie(noalias __magic_cookie: ?*anyopaque, noalias __modes: [*c]const u8, __io_funcs: cookie_io_functions_t) [*c]FILE; +pub extern fn fmemopen(__s: ?*anyopaque, __len: usize, __modes: [*c]const u8) [*c]FILE; +pub extern fn open_memstream(__bufloc: [*c][*c]u8, __sizeloc: [*c]usize) [*c]FILE; +pub extern fn setbuf(noalias __stream: [*c]FILE, noalias __buf: [*c]u8) void; +pub extern fn setvbuf(noalias __stream: [*c]FILE, noalias __buf: [*c]u8, __modes: c_int, __n: usize) c_int; +pub extern fn setbuffer(noalias __stream: [*c]FILE, noalias __buf: [*c]u8, __size: usize) void; +pub extern fn setlinebuf(__stream: [*c]FILE) void; +pub extern fn fprintf(__stream: [*c]FILE, __format: [*c]const u8, ...) c_int; +pub extern fn printf(__format: [*c]const u8, ...) c_int; +pub extern fn sprintf(__s: [*c]u8, __format: [*c]const u8, ...) c_int; +pub extern fn vfprintf(__s: [*c]FILE, __format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn vprintf(__format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn vsprintf(__s: [*c]u8, __format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn snprintf(__s: [*c]u8, __maxlen: c_ulong, __format: [*c]const u8, ...) c_int; +pub extern fn vsnprintf(__s: [*c]u8, __maxlen: c_ulong, __format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn vasprintf(noalias __ptr: [*c][*c]u8, noalias __f: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn __asprintf(noalias __ptr: [*c][*c]u8, noalias __fmt: [*c]const u8, ...) c_int; +pub extern fn asprintf(noalias __ptr: [*c][*c]u8, noalias __fmt: [*c]const u8, ...) c_int; +pub extern fn vdprintf(__fd: c_int, noalias __fmt: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn dprintf(__fd: c_int, noalias __fmt: [*c]const u8, ...) c_int; +pub extern fn fscanf(noalias __stream: [*c]FILE, noalias __format: [*c]const u8, ...) c_int; +pub extern fn scanf(noalias __format: [*c]const u8, ...) c_int; +pub extern fn sscanf(noalias __s: [*c]const u8, noalias __format: [*c]const u8, ...) c_int; +pub const _Float32 = f32; +pub const _Float64 = f64; +pub const _Float32x = f64; +pub const _Float64x = c_longdouble; +pub extern fn vfscanf(noalias __s: [*c]FILE, noalias __format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn vscanf(noalias __format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn vsscanf(noalias __s: [*c]const u8, noalias __format: [*c]const u8, __arg: [*c]struct___va_list_tag) c_int; +pub extern fn fgetc(__stream: [*c]FILE) c_int; +pub extern fn getc(__stream: [*c]FILE) c_int; +pub extern fn getchar() c_int; +pub extern fn getc_unlocked(__stream: [*c]FILE) c_int; +pub extern fn getchar_unlocked() c_int; +pub extern fn fgetc_unlocked(__stream: [*c]FILE) c_int; +pub extern fn fputc(__c: c_int, __stream: [*c]FILE) c_int; +pub extern fn putc(__c: c_int, __stream: [*c]FILE) c_int; +pub extern fn putchar(__c: c_int) c_int; +pub extern fn fputc_unlocked(__c: c_int, __stream: [*c]FILE) c_int; +pub extern fn putc_unlocked(__c: c_int, __stream: [*c]FILE) c_int; +pub extern fn putchar_unlocked(__c: c_int) c_int; +pub extern fn getw(__stream: [*c]FILE) c_int; +pub extern fn putw(__w: c_int, __stream: [*c]FILE) c_int; +pub extern fn fgets(noalias __s: [*c]u8, __n: c_int, noalias __stream: [*c]FILE) [*c]u8; +pub extern fn fgets_unlocked(noalias __s: [*c]u8, __n: c_int, noalias __stream: [*c]FILE) [*c]u8; +pub extern fn __getdelim(noalias __lineptr: [*c][*c]u8, noalias __n: [*c]usize, __delimiter: c_int, noalias __stream: [*c]FILE) __ssize_t; +pub extern fn getdelim(noalias __lineptr: [*c][*c]u8, noalias __n: [*c]usize, __delimiter: c_int, noalias __stream: [*c]FILE) __ssize_t; +pub extern fn getline(noalias __lineptr: [*c][*c]u8, noalias __n: [*c]usize, noalias __stream: [*c]FILE) __ssize_t; +pub extern fn fputs(noalias __s: [*c]const u8, noalias __stream: [*c]FILE) c_int; +pub extern fn puts(__s: [*c]const u8) c_int; +pub extern fn ungetc(__c: c_int, __stream: [*c]FILE) c_int; +pub extern fn fread(__ptr: ?*anyopaque, __size: c_ulong, __n: c_ulong, __stream: [*c]FILE) c_ulong; +pub extern fn fwrite(__ptr: ?*const anyopaque, __size: c_ulong, __n: c_ulong, __s: [*c]FILE) c_ulong; +pub extern fn fputs_unlocked(noalias __s: [*c]const u8, noalias __stream: [*c]FILE) c_int; +pub extern fn fread_unlocked(noalias __ptr: ?*anyopaque, __size: usize, __n: usize, noalias __stream: [*c]FILE) usize; +pub extern fn fwrite_unlocked(noalias __ptr: ?*const anyopaque, __size: usize, __n: usize, noalias __stream: [*c]FILE) usize; +pub extern fn fseek(__stream: [*c]FILE, __off: c_long, __whence: c_int) c_int; +pub extern fn ftell(__stream: [*c]FILE) c_long; +pub extern fn rewind(__stream: [*c]FILE) void; +pub extern fn fseeko(__stream: [*c]FILE, __off: __off_t, __whence: c_int) c_int; +pub extern fn ftello(__stream: [*c]FILE) __off_t; +pub extern fn fgetpos(noalias __stream: [*c]FILE, noalias __pos: [*c]fpos_t) c_int; +pub extern fn fsetpos(__stream: [*c]FILE, __pos: [*c]const fpos_t) c_int; +pub extern fn fseeko64(__stream: [*c]FILE, __off: __off64_t, __whence: c_int) c_int; +pub extern fn ftello64(__stream: [*c]FILE) __off64_t; +pub extern fn fgetpos64(noalias __stream: [*c]FILE, noalias __pos: [*c]fpos64_t) c_int; +pub extern fn fsetpos64(__stream: [*c]FILE, __pos: [*c]const fpos64_t) c_int; +pub extern fn clearerr(__stream: [*c]FILE) void; +pub extern fn feof(__stream: [*c]FILE) c_int; +pub extern fn ferror(__stream: [*c]FILE) c_int; +pub extern fn clearerr_unlocked(__stream: [*c]FILE) void; +pub extern fn feof_unlocked(__stream: [*c]FILE) c_int; +pub extern fn ferror_unlocked(__stream: [*c]FILE) c_int; +pub extern fn perror(__s: [*c]const u8) void; +pub extern fn fileno(__stream: [*c]FILE) c_int; +pub extern fn fileno_unlocked(__stream: [*c]FILE) c_int; +pub extern fn pclose(__stream: [*c]FILE) c_int; +pub extern fn popen(__command: [*c]const u8, __modes: [*c]const u8) [*c]FILE; +pub extern fn ctermid(__s: [*c]u8) [*c]u8; +pub extern fn cuserid(__s: [*c]u8) [*c]u8; +pub const struct_obstack = opaque {}; +pub extern fn obstack_printf(noalias __obstack: ?*struct_obstack, noalias __format: [*c]const u8, ...) c_int; +pub extern fn obstack_vprintf(noalias __obstack: ?*struct_obstack, noalias __format: [*c]const u8, __args: [*c]struct___va_list_tag) c_int; +pub extern fn flockfile(__stream: [*c]FILE) void; +pub extern fn ftrylockfile(__stream: [*c]FILE) c_int; +pub extern fn funlockfile(__stream: [*c]FILE) void; +pub extern fn __uflow([*c]FILE) c_int; +pub extern fn __overflow([*c]FILE, c_int) c_int; +pub const wchar_t = c_int; +pub const div_t = extern struct { + quot: c_int, + rem: c_int, +}; +pub const ldiv_t = extern struct { + quot: c_long, + rem: c_long, +}; +pub const lldiv_t = extern struct { + quot: c_longlong, + rem: c_longlong, +}; +pub extern fn __ctype_get_mb_cur_max() usize; +pub extern fn atof(__nptr: [*c]const u8) f64; +pub extern fn atoi(__nptr: [*c]const u8) c_int; +pub extern fn atol(__nptr: [*c]const u8) c_long; +pub extern fn atoll(__nptr: [*c]const u8) c_longlong; +pub extern fn strtod(__nptr: [*c]const u8, __endptr: [*c][*c]u8) f64; +pub extern fn strtof(__nptr: [*c]const u8, __endptr: [*c][*c]u8) f32; +pub extern fn strtold(__nptr: [*c]const u8, __endptr: [*c][*c]u8) c_longdouble; +pub extern fn strtof32(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8) _Float32; +pub extern fn strtof64(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8) _Float64; +pub extern fn strtof32x(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8) _Float32x; +pub extern fn strtof64x(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8) _Float64x; +pub extern fn strtol(__nptr: [*c]const u8, __endptr: [*c][*c]u8, __base: c_int) c_long; +pub extern fn strtoul(__nptr: [*c]const u8, __endptr: [*c][*c]u8, __base: c_int) c_ulong; +pub extern fn strtoq(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __base: c_int) c_longlong; +pub extern fn strtouq(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __base: c_int) c_ulonglong; +pub extern fn strtoll(__nptr: [*c]const u8, __endptr: [*c][*c]u8, __base: c_int) c_longlong; +pub extern fn strtoull(__nptr: [*c]const u8, __endptr: [*c][*c]u8, __base: c_int) c_ulonglong; +pub extern fn strfromd(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: f64) c_int; +pub extern fn strfromf(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: f32) c_int; +pub extern fn strfroml(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: c_longdouble) c_int; +pub extern fn strfromf32(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: _Float32) c_int; +pub extern fn strfromf64(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: _Float64) c_int; +pub extern fn strfromf32x(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: _Float32x) c_int; +pub extern fn strfromf64x(__dest: [*c]u8, __size: usize, __format: [*c]const u8, __f: _Float64x) c_int; +pub const struct___locale_data = opaque {}; +pub const struct___locale_struct = extern struct { + __locales: [13]?*struct___locale_data, + __ctype_b: [*c]const c_ushort, + __ctype_tolower: [*c]const c_int, + __ctype_toupper: [*c]const c_int, + __names: [13][*c]const u8, +}; +pub const __locale_t = [*c]struct___locale_struct; +pub const locale_t = __locale_t; +pub extern fn strtol_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __base: c_int, __loc: locale_t) c_long; +pub extern fn strtoul_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __base: c_int, __loc: locale_t) c_ulong; +pub extern fn strtoll_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __base: c_int, __loc: locale_t) c_longlong; +pub extern fn strtoull_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __base: c_int, __loc: locale_t) c_ulonglong; +pub extern fn strtod_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) f64; +pub extern fn strtof_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) f32; +pub extern fn strtold_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) c_longdouble; +pub extern fn strtof32_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) _Float32; +pub extern fn strtof64_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) _Float64; +pub extern fn strtof32x_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) _Float32x; +pub extern fn strtof64x_l(noalias __nptr: [*c]const u8, noalias __endptr: [*c][*c]u8, __loc: locale_t) _Float64x; +pub extern fn l64a(__n: c_long) [*c]u8; +pub extern fn a64l(__s: [*c]const u8) c_long; +pub const u_char = __u_char; +pub const u_short = __u_short; +pub const u_int = __u_int; +pub const u_long = __u_long; +pub const quad_t = __quad_t; +pub const u_quad_t = __u_quad_t; +pub const fsid_t = __fsid_t; +pub const loff_t = __loff_t; +pub const ino_t = __ino_t; +pub const ino64_t = __ino64_t; +pub const dev_t = __dev_t; +pub const mode_t = __mode_t; +pub const nlink_t = __nlink_t; +pub const id_t = __id_t; +pub const daddr_t = __daddr_t; +pub const caddr_t = __caddr_t; +pub const key_t = __key_t; +pub const clock_t = __clock_t; +pub const clockid_t = __clockid_t; +pub const timer_t = __timer_t; +pub const suseconds_t = __suseconds_t; +pub const ulong = c_ulong; +pub const ushort = c_ushort; +pub const uint = c_uint; +pub const u_int8_t = __uint8_t; +pub const u_int16_t = __uint16_t; +pub const u_int32_t = __uint32_t; +pub const u_int64_t = __uint64_t; +pub const register_t = c_long; +pub fn __bswap_16(arg___bsx: __uint16_t) callconv(.C) __uint16_t { + var __bsx = arg___bsx; + return @bitCast(__uint16_t, @truncate(c_short, ((@bitCast(c_int, @as(c_uint, __bsx)) >> @intCast(@import("std").math.Log2Int(c_int), 8)) & @as(c_int, 255)) | ((@bitCast(c_int, @as(c_uint, __bsx)) & @as(c_int, 255)) << @intCast(@import("std").math.Log2Int(c_int), 8)))); +} +pub fn __bswap_32(arg___bsx: __uint32_t) callconv(.C) __uint32_t { + var __bsx = arg___bsx; + return ((((__bsx & @as(c_uint, 4278190080)) >> @intCast(@import("std").math.Log2Int(c_uint), 24)) | ((__bsx & @as(c_uint, 16711680)) >> @intCast(@import("std").math.Log2Int(c_uint), 8))) | ((__bsx & @as(c_uint, 65280)) << @intCast(@import("std").math.Log2Int(c_uint), 8))) | ((__bsx & @as(c_uint, 255)) << @intCast(@import("std").math.Log2Int(c_uint), 24)); +} +pub fn __bswap_64(arg___bsx: __uint64_t) callconv(.C) __uint64_t { + var __bsx = arg___bsx; + return @bitCast(__uint64_t, @truncate(c_ulong, ((((((((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 18374686479671623680)) >> @intCast(@import("std").math.Log2Int(c_ulonglong), 56)) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 71776119061217280)) >> @intCast(@import("std").math.Log2Int(c_ulonglong), 40))) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 280375465082880)) >> @intCast(@import("std").math.Log2Int(c_ulonglong), 24))) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 1095216660480)) >> @intCast(@import("std").math.Log2Int(c_ulonglong), 8))) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 4278190080)) << @intCast(@import("std").math.Log2Int(c_ulonglong), 8))) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 16711680)) << @intCast(@import("std").math.Log2Int(c_ulonglong), 24))) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 65280)) << @intCast(@import("std").math.Log2Int(c_ulonglong), 40))) | ((@bitCast(c_ulonglong, @as(c_ulonglong, __bsx)) & @as(c_ulonglong, 255)) << @intCast(@import("std").math.Log2Int(c_ulonglong), 56)))); +} +pub fn __uint16_identity(arg___x: __uint16_t) callconv(.C) __uint16_t { + var __x = arg___x; + return __x; +} +pub fn __uint32_identity(arg___x: __uint32_t) callconv(.C) __uint32_t { + var __x = arg___x; + return __x; +} +pub fn __uint64_identity(arg___x: __uint64_t) callconv(.C) __uint64_t { + var __x = arg___x; + return __x; +} +pub const struct_timeval = extern struct { + tv_sec: __time_t, + tv_usec: __suseconds_t, +}; +pub const __fd_mask = c_long; +pub const fd_set = extern struct { + fds_bits: [16]__fd_mask, +}; +pub const fd_mask = __fd_mask; +pub extern fn select(__nfds: c_int, noalias __readfds: [*c]fd_set, noalias __writefds: [*c]fd_set, noalias __exceptfds: [*c]fd_set, noalias __timeout: [*c]struct_timeval) c_int; +pub extern fn pselect(__nfds: c_int, noalias __readfds: [*c]fd_set, noalias __writefds: [*c]fd_set, noalias __exceptfds: [*c]fd_set, noalias __timeout: [*c]const struct_timespec, noalias __sigmask: [*c]const __sigset_t) c_int; +pub const blksize_t = __blksize_t; +pub const blkcnt_t = __blkcnt_t; +pub const fsblkcnt_t = __fsblkcnt_t; +pub const fsfilcnt_t = __fsfilcnt_t; +pub const blkcnt64_t = __blkcnt64_t; +pub const fsblkcnt64_t = __fsblkcnt64_t; +pub const fsfilcnt64_t = __fsfilcnt64_t; +pub extern fn random() c_long; +pub extern fn srandom(__seed: c_uint) void; +pub extern fn initstate(__seed: c_uint, __statebuf: [*c]u8, __statelen: usize) [*c]u8; +pub extern fn setstate(__statebuf: [*c]u8) [*c]u8; +pub const struct_random_data = extern struct { + fptr: [*c]i32, + rptr: [*c]i32, + state: [*c]i32, + rand_type: c_int, + rand_deg: c_int, + rand_sep: c_int, + end_ptr: [*c]i32, +}; +pub extern fn random_r(noalias __buf: [*c]struct_random_data, noalias __result: [*c]i32) c_int; +pub extern fn srandom_r(__seed: c_uint, __buf: [*c]struct_random_data) c_int; +pub extern fn initstate_r(__seed: c_uint, noalias __statebuf: [*c]u8, __statelen: usize, noalias __buf: [*c]struct_random_data) c_int; +pub extern fn setstate_r(noalias __statebuf: [*c]u8, noalias __buf: [*c]struct_random_data) c_int; +pub extern fn rand() c_int; +pub extern fn srand(__seed: c_uint) void; +pub extern fn rand_r(__seed: [*c]c_uint) c_int; +pub extern fn drand48() f64; +pub extern fn erand48(__xsubi: [*c]c_ushort) f64; +pub extern fn lrand48() c_long; +pub extern fn nrand48(__xsubi: [*c]c_ushort) c_long; +pub extern fn mrand48() c_long; +pub extern fn jrand48(__xsubi: [*c]c_ushort) c_long; +pub extern fn srand48(__seedval: c_long) void; +pub extern fn seed48(__seed16v: [*c]c_ushort) [*c]c_ushort; +pub extern fn lcong48(__param: [*c]c_ushort) void; +pub const struct_drand48_data = extern struct { + __x: [3]c_ushort, + __old_x: [3]c_ushort, + __c: c_ushort, + __init: c_ushort, + __a: c_ulonglong, +}; +pub extern fn drand48_r(noalias __buffer: [*c]struct_drand48_data, noalias __result: [*c]f64) c_int; +pub extern fn erand48_r(__xsubi: [*c]c_ushort, noalias __buffer: [*c]struct_drand48_data, noalias __result: [*c]f64) c_int; +pub extern fn lrand48_r(noalias __buffer: [*c]struct_drand48_data, noalias __result: [*c]c_long) c_int; +pub extern fn nrand48_r(__xsubi: [*c]c_ushort, noalias __buffer: [*c]struct_drand48_data, noalias __result: [*c]c_long) c_int; +pub extern fn mrand48_r(noalias __buffer: [*c]struct_drand48_data, noalias __result: [*c]c_long) c_int; +pub extern fn jrand48_r(__xsubi: [*c]c_ushort, noalias __buffer: [*c]struct_drand48_data, noalias __result: [*c]c_long) c_int; +pub extern fn srand48_r(__seedval: c_long, __buffer: [*c]struct_drand48_data) c_int; +pub extern fn seed48_r(__seed16v: [*c]c_ushort, __buffer: [*c]struct_drand48_data) c_int; +pub extern fn lcong48_r(__param: [*c]c_ushort, __buffer: [*c]struct_drand48_data) c_int; +pub extern fn malloc(__size: c_ulong) ?*anyopaque; +pub extern fn calloc(__nmemb: c_ulong, __size: c_ulong) ?*anyopaque; +pub extern fn realloc(__ptr: ?*anyopaque, __size: c_ulong) ?*anyopaque; +pub extern fn free(__ptr: ?*anyopaque) void; +pub extern fn reallocarray(__ptr: ?*anyopaque, __nmemb: usize, __size: usize) ?*anyopaque; +pub extern fn alloca(__size: c_ulong) ?*anyopaque; +pub extern fn valloc(__size: usize) ?*anyopaque; +pub extern fn posix_memalign(__memptr: [*c]?*anyopaque, __alignment: usize, __size: usize) c_int; +pub extern fn aligned_alloc(__alignment: c_ulong, __size: c_ulong) ?*anyopaque; +pub extern fn abort() noreturn; +pub extern fn atexit(__func: ?*const fn () callconv(.C) void) c_int; +pub extern fn at_quick_exit(__func: ?*const fn () callconv(.C) void) c_int; +pub extern fn on_exit(__func: ?*const fn (c_int, ?*anyopaque) callconv(.C) void, __arg: ?*anyopaque) c_int; +pub extern fn exit(__status: c_int) noreturn; +pub extern fn quick_exit(__status: c_int) noreturn; +pub extern fn _Exit(__status: c_int) noreturn; +pub extern fn getenv(__name: [*c]const u8) [*c]u8; +pub extern fn secure_getenv(__name: [*c]const u8) [*c]u8; +pub extern fn putenv(__string: [*c]u8) c_int; +pub extern fn setenv(__name: [*c]const u8, __value: [*c]const u8, __replace: c_int) c_int; +pub extern fn unsetenv(__name: [*c]const u8) c_int; +pub extern fn clearenv() c_int; +pub extern fn mktemp(__template: [*c]u8) [*c]u8; +pub extern fn mkstemp(__template: [*c]u8) c_int; +pub extern fn mkstemp64(__template: [*c]u8) c_int; +pub extern fn mkstemps(__template: [*c]u8, __suffixlen: c_int) c_int; +pub extern fn mkstemps64(__template: [*c]u8, __suffixlen: c_int) c_int; +pub extern fn mkdtemp(__template: [*c]u8) [*c]u8; +pub extern fn mkostemp(__template: [*c]u8, __flags: c_int) c_int; +pub extern fn mkostemp64(__template: [*c]u8, __flags: c_int) c_int; +pub extern fn mkostemps(__template: [*c]u8, __suffixlen: c_int, __flags: c_int) c_int; +pub extern fn mkostemps64(__template: [*c]u8, __suffixlen: c_int, __flags: c_int) c_int; +pub extern fn system(__command: [*c]const u8) c_int; +pub extern fn canonicalize_file_name(__name: [*c]const u8) [*c]u8; +pub extern fn realpath(noalias __name: [*c]const u8, noalias __resolved: [*c]u8) [*c]u8; +pub const __compar_fn_t = ?*const fn (?*const anyopaque, ?*const anyopaque) callconv(.C) c_int; +pub const comparison_fn_t = __compar_fn_t; +pub const __compar_d_fn_t = ?*const fn (?*const anyopaque, ?*const anyopaque, ?*anyopaque) callconv(.C) c_int; +pub extern fn bsearch(__key: ?*const anyopaque, __base: ?*const anyopaque, __nmemb: usize, __size: usize, __compar: __compar_fn_t) ?*anyopaque; +pub extern fn qsort(__base: ?*anyopaque, __nmemb: usize, __size: usize, __compar: __compar_fn_t) void; +pub extern fn qsort_r(__base: ?*anyopaque, __nmemb: usize, __size: usize, __compar: __compar_d_fn_t, __arg: ?*anyopaque) void; +pub extern fn abs(__x: c_int) c_int; +pub extern fn labs(__x: c_long) c_long; +pub extern fn llabs(__x: c_longlong) c_longlong; +pub extern fn div(__numer: c_int, __denom: c_int) div_t; +pub extern fn ldiv(__numer: c_long, __denom: c_long) ldiv_t; +pub extern fn lldiv(__numer: c_longlong, __denom: c_longlong) lldiv_t; +pub extern fn ecvt(__value: f64, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int) [*c]u8; +pub extern fn fcvt(__value: f64, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int) [*c]u8; +pub extern fn gcvt(__value: f64, __ndigit: c_int, __buf: [*c]u8) [*c]u8; +pub extern fn qecvt(__value: c_longdouble, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int) [*c]u8; +pub extern fn qfcvt(__value: c_longdouble, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int) [*c]u8; +pub extern fn qgcvt(__value: c_longdouble, __ndigit: c_int, __buf: [*c]u8) [*c]u8; +pub extern fn ecvt_r(__value: f64, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int, noalias __buf: [*c]u8, __len: usize) c_int; +pub extern fn fcvt_r(__value: f64, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int, noalias __buf: [*c]u8, __len: usize) c_int; +pub extern fn qecvt_r(__value: c_longdouble, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int, noalias __buf: [*c]u8, __len: usize) c_int; +pub extern fn qfcvt_r(__value: c_longdouble, __ndigit: c_int, noalias __decpt: [*c]c_int, noalias __sign: [*c]c_int, noalias __buf: [*c]u8, __len: usize) c_int; +pub extern fn mblen(__s: [*c]const u8, __n: usize) c_int; +pub extern fn mbtowc(noalias __pwc: [*c]wchar_t, noalias __s: [*c]const u8, __n: usize) c_int; +pub extern fn wctomb(__s: [*c]u8, __wchar: wchar_t) c_int; +pub extern fn mbstowcs(noalias __pwcs: [*c]wchar_t, noalias __s: [*c]const u8, __n: usize) usize; +pub extern fn wcstombs(noalias __s: [*c]u8, noalias __pwcs: [*c]const wchar_t, __n: usize) usize; +pub extern fn rpmatch(__response: [*c]const u8) c_int; +pub extern fn getsubopt(noalias __optionp: [*c][*c]u8, noalias __tokens: [*c]const [*c]u8, noalias __valuep: [*c][*c]u8) c_int; +pub extern fn posix_openpt(__oflag: c_int) c_int; +pub extern fn grantpt(__fd: c_int) c_int; +pub extern fn unlockpt(__fd: c_int) c_int; +pub extern fn ptsname(__fd: c_int) [*c]u8; +pub extern fn ptsname_r(__fd: c_int, __buf: [*c]u8, __buflen: usize) c_int; +pub extern fn getpt() c_int; +pub extern fn getloadavg(__loadavg: [*c]f64, __nelem: c_int) c_int; +pub extern fn memcpy(__dest: ?*anyopaque, __src: ?*const anyopaque, __n: c_ulong) ?*anyopaque; +pub extern fn memmove(__dest: ?*anyopaque, __src: ?*const anyopaque, __n: c_ulong) ?*anyopaque; +pub extern fn memccpy(__dest: ?*anyopaque, __src: ?*const anyopaque, __c: c_int, __n: c_ulong) ?*anyopaque; +pub extern fn memset(__s: ?*anyopaque, __c: c_int, __n: c_ulong) ?*anyopaque; +pub extern fn memcmp(__s1: ?*const anyopaque, __s2: ?*const anyopaque, __n: c_ulong) c_int; +pub extern fn __memcmpeq(__s1: ?*const anyopaque, __s2: ?*const anyopaque, __n: usize) c_int; +pub extern fn memchr(__s: ?*const anyopaque, __c: c_int, __n: c_ulong) ?*anyopaque; +pub extern fn rawmemchr(__s: ?*const anyopaque, __c: c_int) ?*anyopaque; +pub extern fn memrchr(__s: ?*const anyopaque, __c: c_int, __n: usize) ?*anyopaque; +pub extern fn strcpy(__dest: [*c]u8, __src: [*c]const u8) [*c]u8; +pub extern fn strncpy(__dest: [*c]u8, __src: [*c]const u8, __n: c_ulong) [*c]u8; +pub extern fn strcat(__dest: [*c]u8, __src: [*c]const u8) [*c]u8; +pub extern fn strncat(__dest: [*c]u8, __src: [*c]const u8, __n: c_ulong) [*c]u8; +pub extern fn strcmp(__s1: [*c]const u8, __s2: [*c]const u8) c_int; +pub extern fn strncmp(__s1: [*c]const u8, __s2: [*c]const u8, __n: c_ulong) c_int; +pub extern fn strcoll(__s1: [*c]const u8, __s2: [*c]const u8) c_int; +pub extern fn strxfrm(__dest: [*c]u8, __src: [*c]const u8, __n: c_ulong) c_ulong; +pub extern fn strcoll_l(__s1: [*c]const u8, __s2: [*c]const u8, __l: locale_t) c_int; +pub extern fn strxfrm_l(__dest: [*c]u8, __src: [*c]const u8, __n: usize, __l: locale_t) usize; +pub extern fn strdup(__s: [*c]const u8) [*c]u8; +pub extern fn strndup(__string: [*c]const u8, __n: c_ulong) [*c]u8; +pub extern fn strchr(__s: [*c]const u8, __c: c_int) [*c]u8; +pub extern fn strrchr(__s: [*c]const u8, __c: c_int) [*c]u8; +pub extern fn strchrnul(__s: [*c]const u8, __c: c_int) [*c]u8; +pub extern fn strcspn(__s: [*c]const u8, __reject: [*c]const u8) c_ulong; +pub extern fn strspn(__s: [*c]const u8, __accept: [*c]const u8) c_ulong; +pub extern fn strpbrk(__s: [*c]const u8, __accept: [*c]const u8) [*c]u8; +pub extern fn strstr(__haystack: [*c]const u8, __needle: [*c]const u8) [*c]u8; +pub extern fn strtok(__s: [*c]u8, __delim: [*c]const u8) [*c]u8; +pub extern fn __strtok_r(noalias __s: [*c]u8, noalias __delim: [*c]const u8, noalias __save_ptr: [*c][*c]u8) [*c]u8; +pub extern fn strtok_r(noalias __s: [*c]u8, noalias __delim: [*c]const u8, noalias __save_ptr: [*c][*c]u8) [*c]u8; +pub extern fn strcasestr(__haystack: [*c]const u8, __needle: [*c]const u8) [*c]u8; +pub extern fn memmem(__haystack: ?*const anyopaque, __haystacklen: usize, __needle: ?*const anyopaque, __needlelen: usize) ?*anyopaque; +pub extern fn __mempcpy(noalias __dest: ?*anyopaque, noalias __src: ?*const anyopaque, __n: usize) ?*anyopaque; +pub extern fn mempcpy(__dest: ?*anyopaque, __src: ?*const anyopaque, __n: c_ulong) ?*anyopaque; +pub extern fn strlen(__s: [*c]const u8) c_ulong; +pub extern fn strnlen(__string: [*c]const u8, __maxlen: usize) usize; +pub extern fn strerror(__errnum: c_int) [*c]u8; +pub extern fn strerror_r(__errnum: c_int, __buf: [*c]u8, __buflen: usize) [*c]u8; +pub extern fn strerrordesc_np(__err: c_int) [*c]const u8; +pub extern fn strerrorname_np(__err: c_int) [*c]const u8; +pub extern fn strerror_l(__errnum: c_int, __l: locale_t) [*c]u8; +pub extern fn bcmp(__s1: ?*const anyopaque, __s2: ?*const anyopaque, __n: c_ulong) c_int; +pub extern fn bcopy(__src: ?*const anyopaque, __dest: ?*anyopaque, __n: usize) void; +pub extern fn bzero(__s: ?*anyopaque, __n: c_ulong) void; +pub extern fn index(__s: [*c]const u8, __c: c_int) [*c]u8; +pub extern fn rindex(__s: [*c]const u8, __c: c_int) [*c]u8; +pub extern fn ffs(__i: c_int) c_int; +pub extern fn ffsl(__l: c_long) c_int; +pub extern fn ffsll(__ll: c_longlong) c_int; +pub extern fn strcasecmp(__s1: [*c]const u8, __s2: [*c]const u8) c_int; +pub extern fn strncasecmp(__s1: [*c]const u8, __s2: [*c]const u8, __n: c_ulong) c_int; +pub extern fn strcasecmp_l(__s1: [*c]const u8, __s2: [*c]const u8, __loc: locale_t) c_int; +pub extern fn strncasecmp_l(__s1: [*c]const u8, __s2: [*c]const u8, __n: usize, __loc: locale_t) c_int; +pub extern fn explicit_bzero(__s: ?*anyopaque, __n: usize) void; +pub extern fn strsep(noalias __stringp: [*c][*c]u8, noalias __delim: [*c]const u8) [*c]u8; +pub extern fn strsignal(__sig: c_int) [*c]u8; +pub extern fn sigabbrev_np(__sig: c_int) [*c]const u8; +pub extern fn sigdescr_np(__sig: c_int) [*c]const u8; +pub extern fn __stpcpy(noalias __dest: [*c]u8, noalias __src: [*c]const u8) [*c]u8; +pub extern fn stpcpy(__dest: [*c]u8, __src: [*c]const u8) [*c]u8; +pub extern fn __stpncpy(noalias __dest: [*c]u8, noalias __src: [*c]const u8, __n: usize) [*c]u8; +pub extern fn stpncpy(__dest: [*c]u8, __src: [*c]const u8, __n: c_ulong) [*c]u8; +pub extern fn strverscmp(__s1: [*c]const u8, __s2: [*c]const u8) c_int; +pub extern fn strfry(__string: [*c]u8) [*c]u8; +pub extern fn memfrob(__s: ?*anyopaque, __n: usize) ?*anyopaque; +pub extern fn basename(__filename: [*c]const u8) [*c]u8; // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/timex.h:81:3: warning: struct demoted to opaque type - has bitfield +pub const struct_timex = opaque {}; +pub extern fn clock_adjtime(__clock_id: __clockid_t, __utx: ?*struct_timex) c_int; +pub const struct_tm = extern struct { + tm_sec: c_int, + tm_min: c_int, + tm_hour: c_int, + tm_mday: c_int, + tm_mon: c_int, + tm_year: c_int, + tm_wday: c_int, + tm_yday: c_int, + tm_isdst: c_int, + tm_gmtoff: c_long, + tm_zone: [*c]const u8, +}; +pub const struct_itimerspec = extern struct { + it_interval: struct_timespec, + it_value: struct_timespec, +}; +pub extern fn clock() clock_t; +pub extern fn time(__timer: [*c]time_t) time_t; +pub extern fn difftime(__time1: time_t, __time0: time_t) f64; +pub extern fn mktime(__tp: [*c]struct_tm) time_t; +pub extern fn strftime(noalias __s: [*c]u8, __maxsize: usize, noalias __format: [*c]const u8, noalias __tp: [*c]const struct_tm) usize; +pub extern fn strptime(noalias __s: [*c]const u8, noalias __fmt: [*c]const u8, __tp: [*c]struct_tm) [*c]u8; +pub extern fn strftime_l(noalias __s: [*c]u8, __maxsize: usize, noalias __format: [*c]const u8, noalias __tp: [*c]const struct_tm, __loc: locale_t) usize; +pub extern fn strptime_l(noalias __s: [*c]const u8, noalias __fmt: [*c]const u8, __tp: [*c]struct_tm, __loc: locale_t) [*c]u8; +pub extern fn gmtime(__timer: [*c]const time_t) [*c]struct_tm; +pub extern fn localtime(__timer: [*c]const time_t) [*c]struct_tm; +pub extern fn gmtime_r(noalias __timer: [*c]const time_t, noalias __tp: [*c]struct_tm) [*c]struct_tm; +pub extern fn localtime_r(noalias __timer: [*c]const time_t, noalias __tp: [*c]struct_tm) [*c]struct_tm; +pub extern fn asctime(__tp: [*c]const struct_tm) [*c]u8; +pub extern fn ctime(__timer: [*c]const time_t) [*c]u8; +pub extern fn asctime_r(noalias __tp: [*c]const struct_tm, noalias __buf: [*c]u8) [*c]u8; +pub extern fn ctime_r(noalias __timer: [*c]const time_t, noalias __buf: [*c]u8) [*c]u8; +pub extern var __tzname: [2][*c]u8; +pub extern var __daylight: c_int; +pub extern var __timezone: c_long; +pub extern var tzname: [2][*c]u8; +pub extern fn tzset() void; +pub extern var daylight: c_int; +pub extern var timezone: c_long; +pub extern fn timegm(__tp: [*c]struct_tm) time_t; +pub extern fn timelocal(__tp: [*c]struct_tm) time_t; +pub extern fn dysize(__year: c_int) c_int; +pub extern fn nanosleep(__requested_time: [*c]const struct_timespec, __remaining: [*c]struct_timespec) c_int; +pub extern fn clock_getres(__clock_id: clockid_t, __res: [*c]struct_timespec) c_int; +pub extern fn clock_gettime(__clock_id: clockid_t, __tp: [*c]struct_timespec) c_int; +pub extern fn clock_settime(__clock_id: clockid_t, __tp: [*c]const struct_timespec) c_int; +pub extern fn clock_nanosleep(__clock_id: clockid_t, __flags: c_int, __req: [*c]const struct_timespec, __rem: [*c]struct_timespec) c_int; +pub extern fn clock_getcpuclockid(__pid: pid_t, __clock_id: [*c]clockid_t) c_int; +pub extern fn timer_create(__clock_id: clockid_t, noalias __evp: [*c]struct_sigevent, noalias __timerid: [*c]timer_t) c_int; +pub extern fn timer_delete(__timerid: timer_t) c_int; +pub extern fn timer_settime(__timerid: timer_t, __flags: c_int, noalias __value: [*c]const struct_itimerspec, noalias __ovalue: [*c]struct_itimerspec) c_int; +pub extern fn timer_gettime(__timerid: timer_t, __value: [*c]struct_itimerspec) c_int; +pub extern fn timer_getoverrun(__timerid: timer_t) c_int; +pub extern fn timespec_get(__ts: [*c]struct_timespec, __base: c_int) c_int; +pub extern fn timespec_getres(__ts: [*c]struct_timespec, __base: c_int) c_int; +pub extern var getdate_err: c_int; +pub extern fn getdate(__string: [*c]const u8) [*c]struct_tm; +pub extern fn getdate_r(noalias __string: [*c]const u8, noalias __resbufp: [*c]struct_tm) c_int; +pub const struct_flock = extern struct { + l_type: c_short, + l_whence: c_short, + l_start: __off_t, + l_len: __off_t, + l_pid: __pid_t, +}; +pub const struct_flock64 = extern struct { + l_type: c_short, + l_whence: c_short, + l_start: __off64_t, + l_len: __off64_t, + l_pid: __pid_t, +}; +pub const struct_iovec = extern struct { + iov_base: ?*anyopaque, + iov_len: usize, +}; +pub const F_OWNER_TID: c_int = 0; +pub const F_OWNER_PID: c_int = 1; +pub const F_OWNER_PGRP: c_int = 2; +pub const F_OWNER_GID: c_int = 2; +pub const enum___pid_type = c_uint; +pub const struct_f_owner_ex = extern struct { + type: enum___pid_type, + pid: __pid_t, +}; +pub const struct_file_handle = extern struct { + handle_bytes: c_uint align(4), + handle_type: c_int, + pub fn f_handle(self: anytype) @import("std").zig.c_translation.FlexibleArrayType(@TypeOf(self), u8) { + const Intermediate = @import("std").zig.c_translation.FlexibleArrayType(@TypeOf(self), u8); + const ReturnType = @import("std").zig.c_translation.FlexibleArrayType(@TypeOf(self), u8); + return @ptrCast(ReturnType, @alignCast(@alignOf(u8), @ptrCast(Intermediate, self) + 8)); + } +}; +pub extern fn readahead(__fd: c_int, __offset: __off64_t, __count: usize) __ssize_t; +pub extern fn sync_file_range(__fd: c_int, __offset: __off64_t, __count: __off64_t, __flags: c_uint) c_int; +pub extern fn vmsplice(__fdout: c_int, __iov: [*c]const struct_iovec, __count: usize, __flags: c_uint) __ssize_t; +pub extern fn splice(__fdin: c_int, __offin: [*c]__off64_t, __fdout: c_int, __offout: [*c]__off64_t, __len: usize, __flags: c_uint) __ssize_t; +pub extern fn tee(__fdin: c_int, __fdout: c_int, __len: usize, __flags: c_uint) __ssize_t; +pub extern fn fallocate(__fd: c_int, __mode: c_int, __offset: __off_t, __len: __off_t) c_int; +pub extern fn fallocate64(__fd: c_int, __mode: c_int, __offset: __off64_t, __len: __off64_t) c_int; +pub extern fn name_to_handle_at(__dfd: c_int, __name: [*c]const u8, __handle: [*c]struct_file_handle, __mnt_id: [*c]c_int, __flags: c_int) c_int; +pub extern fn open_by_handle_at(__mountdirfd: c_int, __handle: [*c]struct_file_handle, __flags: c_int) c_int; +pub const struct_stat = extern struct { + st_dev: __dev_t, + st_ino: __ino_t, + st_nlink: __nlink_t, + st_mode: __mode_t, + st_uid: __uid_t, + st_gid: __gid_t, + __pad0: c_int, + st_rdev: __dev_t, + st_size: __off_t, + st_blksize: __blksize_t, + st_blocks: __blkcnt_t, + st_atim: struct_timespec, + st_mtim: struct_timespec, + st_ctim: struct_timespec, + __glibc_reserved: [3]__syscall_slong_t, +}; +pub const struct_stat64 = extern struct { + st_dev: __dev_t, + st_ino: __ino64_t, + st_nlink: __nlink_t, + st_mode: __mode_t, + st_uid: __uid_t, + st_gid: __gid_t, + __pad0: c_int, + st_rdev: __dev_t, + st_size: __off_t, + st_blksize: __blksize_t, + st_blocks: __blkcnt64_t, + st_atim: struct_timespec, + st_mtim: struct_timespec, + st_ctim: struct_timespec, + __glibc_reserved: [3]__syscall_slong_t, +}; +pub extern fn fcntl(__fd: c_int, __cmd: c_int, ...) c_int; +pub extern fn fcntl64(__fd: c_int, __cmd: c_int, ...) c_int; +pub extern fn open(__file: [*c]const u8, __oflag: c_int, ...) c_int; +pub extern fn open64(__file: [*c]const u8, __oflag: c_int, ...) c_int; +pub extern fn openat(__fd: c_int, __file: [*c]const u8, __oflag: c_int, ...) c_int; +pub extern fn openat64(__fd: c_int, __file: [*c]const u8, __oflag: c_int, ...) c_int; +pub extern fn creat(__file: [*c]const u8, __mode: mode_t) c_int; +pub extern fn creat64(__file: [*c]const u8, __mode: mode_t) c_int; +pub extern fn posix_fadvise(__fd: c_int, __offset: off_t, __len: off_t, __advise: c_int) c_int; +pub extern fn posix_fadvise64(__fd: c_int, __offset: off64_t, __len: off64_t, __advise: c_int) c_int; +pub extern fn posix_fallocate(__fd: c_int, __offset: off_t, __len: off_t) c_int; +pub extern fn posix_fallocate64(__fd: c_int, __offset: off64_t, __len: off64_t) c_int; +pub extern fn stat(noalias __file: [*c]const u8, noalias __buf: [*c]struct_stat) c_int; +pub extern fn fstat(__fd: c_int, __buf: [*c]struct_stat) c_int; +pub extern fn stat64(noalias __file: [*c]const u8, noalias __buf: [*c]struct_stat64) c_int; +pub extern fn fstat64(__fd: c_int, __buf: [*c]struct_stat64) c_int; +pub extern fn fstatat(__fd: c_int, noalias __file: [*c]const u8, noalias __buf: [*c]struct_stat, __flag: c_int) c_int; +pub extern fn fstatat64(__fd: c_int, noalias __file: [*c]const u8, noalias __buf: [*c]struct_stat64, __flag: c_int) c_int; +pub extern fn lstat(noalias __file: [*c]const u8, noalias __buf: [*c]struct_stat) c_int; +pub extern fn lstat64(noalias __file: [*c]const u8, noalias __buf: [*c]struct_stat64) c_int; +pub extern fn chmod(__file: [*c]const u8, __mode: __mode_t) c_int; +pub extern fn lchmod(__file: [*c]const u8, __mode: __mode_t) c_int; +pub extern fn fchmod(__fd: c_int, __mode: __mode_t) c_int; +pub extern fn fchmodat(__fd: c_int, __file: [*c]const u8, __mode: __mode_t, __flag: c_int) c_int; +pub extern fn umask(__mask: __mode_t) __mode_t; +pub extern fn getumask() __mode_t; +pub extern fn mkdir(__path: [*c]const u8, __mode: __mode_t) c_int; +pub extern fn mkdirat(__fd: c_int, __path: [*c]const u8, __mode: __mode_t) c_int; +pub extern fn mknod(__path: [*c]const u8, __mode: __mode_t, __dev: __dev_t) c_int; +pub extern fn mknodat(__fd: c_int, __path: [*c]const u8, __mode: __mode_t, __dev: __dev_t) c_int; +pub extern fn mkfifo(__path: [*c]const u8, __mode: __mode_t) c_int; +pub extern fn mkfifoat(__fd: c_int, __path: [*c]const u8, __mode: __mode_t) c_int; +pub extern fn utimensat(__fd: c_int, __path: [*c]const u8, __times: [*c]const struct_timespec, __flags: c_int) c_int; +pub extern fn futimens(__fd: c_int, __times: [*c]const struct_timespec) c_int; +pub const __s8 = i8; +pub const __u8 = u8; +pub const __s16 = c_short; +pub const __u16 = c_ushort; +pub const __s32 = c_int; +pub const __u32 = c_uint; +pub const __s64 = c_longlong; +pub const __u64 = c_ulonglong; +pub const __kernel_fd_set = extern struct { + fds_bits: [16]c_ulong, +}; +pub const __kernel_sighandler_t = ?*const fn (c_int) callconv(.C) void; +pub const __kernel_key_t = c_int; +pub const __kernel_mqd_t = c_int; +pub const __kernel_old_uid_t = c_ushort; +pub const __kernel_old_gid_t = c_ushort; +pub const __kernel_old_dev_t = c_ulong; +pub const __kernel_long_t = c_long; +pub const __kernel_ulong_t = c_ulong; +pub const __kernel_ino_t = __kernel_ulong_t; +pub const __kernel_mode_t = c_uint; +pub const __kernel_pid_t = c_int; +pub const __kernel_ipc_pid_t = c_int; +pub const __kernel_uid_t = c_uint; +pub const __kernel_gid_t = c_uint; +pub const __kernel_suseconds_t = __kernel_long_t; +pub const __kernel_daddr_t = c_int; +pub const __kernel_uid32_t = c_uint; +pub const __kernel_gid32_t = c_uint; +pub const __kernel_size_t = __kernel_ulong_t; +pub const __kernel_ssize_t = __kernel_long_t; +pub const __kernel_ptrdiff_t = __kernel_long_t; +pub const __kernel_fsid_t = extern struct { + val: [2]c_int, +}; +pub const __kernel_off_t = __kernel_long_t; +pub const __kernel_loff_t = c_longlong; +pub const __kernel_old_time_t = __kernel_long_t; +pub const __kernel_time_t = __kernel_long_t; +pub const __kernel_time64_t = c_longlong; +pub const __kernel_clock_t = __kernel_long_t; +pub const __kernel_timer_t = c_int; +pub const __kernel_clockid_t = c_int; +pub const __kernel_caddr_t = [*c]u8; +pub const __kernel_uid16_t = c_ushort; +pub const __kernel_gid16_t = c_ushort; +pub const __le16 = __u16; +pub const __be16 = __u16; +pub const __le32 = __u32; +pub const __be32 = __u32; +pub const __le64 = __u64; +pub const __be64 = __u64; +pub const __sum16 = __u16; +pub const __wsum = __u32; +pub const __poll_t = c_uint; +pub const struct_statx_timestamp = extern struct { + tv_sec: __s64, + tv_nsec: __u32, + __reserved: __s32, +}; +pub const struct_statx = extern struct { + stx_mask: __u32, + stx_blksize: __u32, + stx_attributes: __u64, + stx_nlink: __u32, + stx_uid: __u32, + stx_gid: __u32, + stx_mode: __u16, + __spare0: [1]__u16, + stx_ino: __u64, + stx_size: __u64, + stx_blocks: __u64, + stx_attributes_mask: __u64, + stx_atime: struct_statx_timestamp, + stx_btime: struct_statx_timestamp, + stx_ctime: struct_statx_timestamp, + stx_mtime: struct_statx_timestamp, + stx_rdev_major: __u32, + stx_rdev_minor: __u32, + stx_dev_major: __u32, + stx_dev_minor: __u32, + stx_mnt_id: __u64, + __spare2: __u64, + __spare3: [12]__u64, +}; +pub extern fn statx(__dirfd: c_int, noalias __path: [*c]const u8, __flags: c_int, __mask: c_uint, noalias __buf: [*c]struct_statx) c_int; +pub const struct_timezone = extern struct { + tz_minuteswest: c_int, + tz_dsttime: c_int, +}; +pub extern fn gettimeofday(noalias __tv: [*c]struct_timeval, noalias __tz: ?*anyopaque) c_int; +pub extern fn settimeofday(__tv: [*c]const struct_timeval, __tz: [*c]const struct_timezone) c_int; +pub extern fn adjtime(__delta: [*c]const struct_timeval, __olddelta: [*c]struct_timeval) c_int; +pub const ITIMER_REAL: c_int = 0; +pub const ITIMER_VIRTUAL: c_int = 1; +pub const ITIMER_PROF: c_int = 2; +pub const enum___itimer_which = c_uint; +pub const struct_itimerval = extern struct { + it_interval: struct_timeval, + it_value: struct_timeval, +}; +pub const __itimer_which_t = enum___itimer_which; +pub extern fn getitimer(__which: __itimer_which_t, __value: [*c]struct_itimerval) c_int; +pub extern fn setitimer(__which: __itimer_which_t, noalias __new: [*c]const struct_itimerval, noalias __old: [*c]struct_itimerval) c_int; +pub extern fn utimes(__file: [*c]const u8, __tvp: [*c]const struct_timeval) c_int; +pub extern fn lutimes(__file: [*c]const u8, __tvp: [*c]const struct_timeval) c_int; +pub extern fn futimes(__fd: c_int, __tvp: [*c]const struct_timeval) c_int; +pub extern fn futimesat(__fd: c_int, __file: [*c]const u8, __tvp: [*c]const struct_timeval) c_int; +pub const struct_fio_str_info_s = extern struct { + capa: usize, + len: usize, + data: [*c]u8, +}; +pub const fio_str_info_s = struct_fio_str_info_s; +pub extern fn fio_malloc(size: usize) ?*anyopaque; +pub extern fn fio_calloc(size_per_unit: usize, unit_count: usize) ?*anyopaque; +pub extern fn fio_free(ptr: ?*anyopaque) void; +pub extern fn fio_realloc(ptr: ?*anyopaque, new_size: usize) ?*anyopaque; +pub extern fn fio_realloc2(ptr: ?*anyopaque, new_size: usize, copy_length: usize) ?*anyopaque; +pub extern fn fio_mmap(size: usize) ?*anyopaque; +pub extern fn fio_malloc_after_fork() void; +pub export var FIO_LOG_LEVEL: c_int = @import("std").mem.zeroes(c_int); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:437:1: warning: TODO unable to translate variadic function, demoted to extern +pub extern fn FIO_LOG2STDERR(format: [*c]const u8, ...) void; +pub const fio_protocol_s = struct_fio_protocol_s; +pub const struct_fio_protocol_s = extern struct { + on_data: ?*const fn (isize, [*c]fio_protocol_s) callconv(.C) void, + on_ready: ?*const fn (isize, [*c]fio_protocol_s) callconv(.C) void, + on_shutdown: ?*const fn (isize, [*c]fio_protocol_s) callconv(.C) u8, + on_close: ?*const fn (isize, [*c]fio_protocol_s) callconv(.C) void, + ping: ?*const fn (isize, [*c]fio_protocol_s) callconv(.C) void, + rsv: usize, +}; +pub extern fn fio_attach(uuid: isize, protocol: [*c]fio_protocol_s) void; +pub extern fn fio_attach_fd(fd: c_int, protocol: [*c]fio_protocol_s) void; +pub extern fn fio_set_non_block(fd: c_int) c_int; +pub extern fn fio_capa() usize; +pub extern fn fio_timeout_set(uuid: isize, timeout: u8) void; +pub extern fn fio_timeout_get(uuid: isize) u8; +pub extern fn fio_touch(uuid: isize) void; +pub const FIO_EVENT_ON_DATA: c_int = 0; +pub const FIO_EVENT_ON_READY: c_int = 1; +pub const FIO_EVENT_ON_TIMEOUT: c_int = 2; +pub const enum_fio_io_event = c_uint; +pub extern fn fio_force_event(uuid: isize, enum_fio_io_event) void; +pub extern fn fio_suspend(uuid: isize) void; +pub const struct_fio_listen_args = extern struct { + on_open: ?*const fn (isize, ?*anyopaque) callconv(.C) void, + port: [*c]const u8, + address: [*c]const u8, + tls: ?*anyopaque, + udata: ?*anyopaque, + on_start: ?*const fn (isize, ?*anyopaque) callconv(.C) void, + on_finish: ?*const fn (isize, ?*anyopaque) callconv(.C) void, +}; +pub extern fn fio_listen(args: struct_fio_listen_args) isize; +pub const struct_fio_connect_args = extern struct { + address: [*c]const u8, + port: [*c]const u8, + on_connect: ?*const fn (isize, ?*anyopaque) callconv(.C) void, + on_fail: ?*const fn (isize, ?*anyopaque) callconv(.C) void, + tls: ?*anyopaque, + udata: ?*anyopaque, + timeout: u8, +}; +pub extern fn fio_connect(struct_fio_connect_args) isize; +pub const fio_url_s = extern struct { + scheme: fio_str_info_s, + user: fio_str_info_s, + password: fio_str_info_s, + host: fio_str_info_s, + port: fio_str_info_s, + path: fio_str_info_s, + query: fio_str_info_s, + target: fio_str_info_s, +}; +pub extern fn fio_url_parse(url: [*c]const u8, length: usize) fio_url_s; +pub const struct_fio_start_args = extern struct { + threads: i16, + workers: i16, +}; +pub extern fn fio_start(args: struct_fio_start_args) void; +pub extern fn fio_stop() void; +pub extern fn fio_expected_concurrency(threads: [*c]i16, workers: [*c]i16) void; +pub extern fn fio_is_running() i16; +pub extern fn fio_is_worker() c_int; +pub extern fn fio_is_master() c_int; +pub extern fn fio_parent_pid() pid_t; +pub extern fn fio_reap_children() void; +pub extern fn fio_signal_handler_reset() void; +pub extern fn fio_last_tick() struct_timespec; +pub extern fn fio_engine() [*c]const u8; +pub extern fn fio_socket(address: [*c]const u8, port: [*c]const u8, is_server: u8) isize; +pub extern fn fio_accept(srv_uuid: isize) isize; +pub extern fn fio_is_valid(uuid: isize) c_int; +pub extern fn fio_is_closed(uuid: isize) c_int; +pub extern fn fio_close(uuid: isize) void; +pub extern fn fio_force_close(uuid: isize) void; +pub extern fn fio_peer_addr(uuid: isize) fio_str_info_s; +pub extern fn fio_local_addr(dest: [*c]u8, limit: usize) usize; +pub extern fn fio_read(uuid: isize, buffer: ?*anyopaque, count: usize) isize; +const union_unnamed_31 = extern union { + buffer: ?*const anyopaque, + fd: isize, +}; +const union_unnamed_32 = extern union { + dealloc: ?*const fn (?*anyopaque) callconv(.C) void, + close: ?*const fn (isize) callconv(.C) void, +}; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1174:12: warning: struct demoted to opaque type - has bitfield +pub const fio_write_args_s = opaque {}; +pub extern fn fio_write2_fn(uuid: isize, options: fio_write_args_s) isize; +pub extern fn FIO_DEALLOC_NOOP(arg: ?*anyopaque) void; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1205:41: warning: cannot initialize opaque type +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1223:25: warning: unable to translate function, demoted to extern +pub extern fn fio_write(uuid: isize, arg_buffer: ?*const anyopaque, length: usize) callconv(.C) isize; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1205:41: warning: cannot initialize opaque type +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1250:25: warning: unable to translate function, demoted to extern +pub extern fn fio_sendfile(arg_uuid: isize, arg_source_fd: isize, arg_offset: off_t, arg_length: usize) callconv(.C) isize; +pub extern fn fio_pending(uuid: isize) usize; +pub extern fn fio_flush(uuid: isize) isize; +pub extern fn fio_flush_all() usize; +pub extern fn fio_fd2uuid(fd: c_int) isize; +pub extern fn fio_uuid_link(uuid: isize, obj: ?*anyopaque, on_close: ?*const fn (?*anyopaque) callconv(.C) void) void; +pub extern fn fio_uuid_unlink(uuid: isize, obj: ?*anyopaque) c_int; +pub const struct_fio_rw_hook_s = extern struct { + read: ?*const fn (isize, ?*anyopaque, ?*anyopaque, usize) callconv(.C) isize, + write: ?*const fn (isize, ?*anyopaque, ?*const anyopaque, usize) callconv(.C) isize, + flush: ?*const fn (isize, ?*anyopaque) callconv(.C) isize, + before_close: ?*const fn (isize, ?*anyopaque) callconv(.C) isize, + cleanup: ?*const fn (?*anyopaque) callconv(.C) void, +}; +pub const fio_rw_hook_s = struct_fio_rw_hook_s; +pub extern fn fio_rw_hook_set(uuid: isize, rw_hooks: [*c]fio_rw_hook_s, udata: ?*anyopaque) c_int; +pub extern fn fio_rw_hook_replace_unsafe(uuid: isize, rw_hooks: [*c]fio_rw_hook_s, udata: ?*anyopaque) c_int; +pub extern const FIO_DEFAULT_RW_HOOKS: fio_rw_hook_s; +pub extern fn fio_fork() c_int; +pub extern fn fio_thread_new(thread_func: ?*const fn (?*anyopaque) callconv(.C) ?*anyopaque, arg: ?*anyopaque) ?*anyopaque; +pub extern fn fio_thread_free(p_thr: ?*anyopaque) void; +pub extern fn fio_thread_join(p_thr: ?*anyopaque) c_int; +pub const FIO_PR_LOCK_TASK: c_int = 0; +pub const FIO_PR_LOCK_WRITE: c_int = 1; +pub const FIO_PR_LOCK_STATE: c_int = 2; +pub const enum_fio_protocol_lock_e = c_uint; +pub const fio_defer_iotask_args_s = extern struct { + type: enum_fio_protocol_lock_e, + task: ?*const fn (isize, [*c]fio_protocol_s, ?*anyopaque) callconv(.C) void, + udata: ?*anyopaque, + fallback: ?*const fn (isize, ?*anyopaque) callconv(.C) void, +}; +pub extern fn fio_defer_io_task(uuid: isize, args: fio_defer_iotask_args_s) void; +pub extern fn fio_defer(task: ?*const fn (?*anyopaque, ?*anyopaque) callconv(.C) void, udata1: ?*anyopaque, udata2: ?*anyopaque) c_int; +pub extern fn fio_run_every(milliseconds: usize, repetitions: usize, task: ?*const fn (?*anyopaque) callconv(.C) void, arg: ?*anyopaque, on_finish: ?*const fn (?*anyopaque) callconv(.C) void) c_int; +pub extern fn fio_defer_perform() void; +pub extern fn fio_defer_has_queue() c_int; +pub const FIO_CALL_ON_INITIALIZE: c_int = 0; +pub const FIO_CALL_PRE_START: c_int = 1; +pub const FIO_CALL_BEFORE_FORK: c_int = 2; +pub const FIO_CALL_AFTER_FORK: c_int = 3; +pub const FIO_CALL_IN_CHILD: c_int = 4; +pub const FIO_CALL_IN_MASTER: c_int = 5; +pub const FIO_CALL_ON_START: c_int = 6; +pub const FIO_CALL_ON_IDLE: c_int = 7; +pub const FIO_CALL_ON_SHUTDOWN: c_int = 8; +pub const FIO_CALL_ON_FINISH: c_int = 9; +pub const FIO_CALL_ON_PARENT_CRUSH: c_int = 10; +pub const FIO_CALL_ON_CHILD_CRUSH: c_int = 11; +pub const FIO_CALL_AT_EXIT: c_int = 12; +pub const FIO_CALL_NEVER: c_int = 13; +pub const callback_type_e = c_uint; +pub extern fn fio_state_callback_add(callback_type_e, func: ?*const fn (?*anyopaque) callconv(.C) void, arg: ?*anyopaque) void; +pub extern fn fio_state_callback_remove(callback_type_e, func: ?*const fn (?*anyopaque) callconv(.C) void, arg: ?*anyopaque) c_int; +pub extern fn fio_state_callback_force(callback_type_e) void; +pub extern fn fio_state_callback_clear(callback_type_e) void; +pub extern fn fio_protocol_try_lock(uuid: isize, enum_fio_protocol_lock_e) [*c]fio_protocol_s; +pub extern fn fio_protocol_unlock(pr: [*c]fio_protocol_s, enum_fio_protocol_lock_e) void; +pub const struct_subscription_s = opaque {}; +pub const subscription_s = struct_subscription_s; +pub const fio_pubsub_engine_s = struct_fio_pubsub_engine_s; +pub const fio_match_fn = ?*const fn (fio_str_info_s, fio_str_info_s) callconv(.C) c_int; +pub const struct_fio_pubsub_engine_s = extern struct { + subscribe: ?*const fn ([*c]const fio_pubsub_engine_s, fio_str_info_s, fio_match_fn) callconv(.C) void, + unsubscribe: ?*const fn ([*c]const fio_pubsub_engine_s, fio_str_info_s, fio_match_fn) callconv(.C) void, + publish: ?*const fn ([*c]const fio_pubsub_engine_s, fio_str_info_s, fio_str_info_s, u8) callconv(.C) void, +}; +pub extern var FIO_PUBSUB_DEFAULT: [*c]fio_pubsub_engine_s; +pub const struct_fio_msg_s = extern struct { + filter: i32, + channel: fio_str_info_s, + msg: fio_str_info_s, + udata1: ?*anyopaque, + udata2: ?*anyopaque, + is_json: u8, +}; +pub const fio_msg_s = struct_fio_msg_s; +pub extern var FIO_MATCH_GLOB: fio_match_fn; +pub const subscribe_args_s = extern struct { + filter: i32, + channel: fio_str_info_s, + match: fio_match_fn, + on_message: ?*const fn ([*c]fio_msg_s) callconv(.C) void, + on_unsubscribe: ?*const fn (?*anyopaque, ?*anyopaque) callconv(.C) void, + udata1: ?*anyopaque, + udata2: ?*anyopaque, +}; +pub const struct_fio_publish_args_s = extern struct { + engine: [*c]const fio_pubsub_engine_s, + filter: i32, + channel: fio_str_info_s, + message: fio_str_info_s, + is_json: u8, +}; +pub const fio_publish_args_s = struct_fio_publish_args_s; +pub extern fn fio_subscribe(args: subscribe_args_s) ?*subscription_s; +pub extern fn fio_unsubscribe(subscription: ?*subscription_s) void; +pub extern fn fio_subscription_channel(subscription: ?*subscription_s) fio_str_info_s; +pub extern fn fio_publish(args: fio_publish_args_s) void; +pub extern fn fio_message_metadata(msg: [*c]fio_msg_s, type_id: isize) ?*anyopaque; +pub extern fn fio_message_defer(msg: [*c]fio_msg_s) void; +pub const struct_fio_msg_metadata_s = extern struct { + type_id: isize, + on_finish: ?*const fn ([*c]fio_msg_s, ?*anyopaque) callconv(.C) void, + metadata: ?*anyopaque, +}; +pub const fio_msg_metadata_s = struct_fio_msg_metadata_s; +pub const fio_msg_metadata_fn = ?*const fn (fio_str_info_s, fio_str_info_s, u8) callconv(.C) fio_msg_metadata_s; +pub extern fn fio_message_metadata_callback_set(callback: fio_msg_metadata_fn, enable: c_int) void; +pub extern fn fio_pubsub_attach(engine: [*c]fio_pubsub_engine_s) void; +pub extern fn fio_pubsub_detach(engine: [*c]fio_pubsub_engine_s) void; +pub extern fn fio_pubsub_reattach(eng: [*c]fio_pubsub_engine_s) void; +pub extern fn fio_pubsub_is_attached(engine: [*c]fio_pubsub_engine_s) c_int; +pub const fio_lock_i = u8; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2994:3: warning: TODO implement translation of stmt class GCCAsmStmtClass +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2993:21: warning: unable to translate function, demoted to extern +pub extern fn fio_trylock(arg_lock: [*c]volatile fio_lock_i) callconv(.C) c_int; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:3007:3: warning: TODO implement translation of stmt class GCCAsmStmtClass +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:3006:21: warning: unable to translate function, demoted to extern +pub extern fn fio_unlock(arg_lock: [*c]volatile fio_lock_i) callconv(.C) c_int; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:3014:3: warning: TODO implement translation of stmt class GCCAsmStmtClass +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:3013:21: warning: unable to translate function, demoted to extern +pub extern fn fio_is_locked(arg_lock: [*c]volatile fio_lock_i) callconv(.C) c_int; +pub fn fio_lock(arg_lock: [*c]volatile fio_lock_i) callconv(.C) void { + var lock = arg_lock; + while (fio_trylock(lock) != 0) { + fio_reschedule_thread(); + } +} +pub fn fio_reschedule_thread() callconv(.C) void { + const tm_1: struct_timespec = struct_timespec{ + .tv_sec = 0, + .tv_nsec = @bitCast(__syscall_slong_t, @as(c_long, @as(c_int, 1))), + }; + _ = nanosleep(&tm_1, null); +} +pub fn fio_throttle_thread(arg_nano_sec: usize) callconv(.C) void { + var nano_sec = arg_nano_sec; + const tm_1: struct_timespec = struct_timespec{ + .tv_sec = @bitCast(time_t, nano_sec / @bitCast(c_ulong, @as(c_long, @as(c_int, 1000000000)))), + .tv_nsec = @bitCast(c_long, nano_sec % @bitCast(c_ulong, @as(c_long, @as(c_int, 1000000000)))), + }; + _ = nanosleep(&tm_1, null); +} +pub fn fio_ct_true(arg_cond: usize) callconv(.C) usize { + var cond = arg_cond; + return (cond | (@bitCast(c_ulong, @as(c_long, @as(c_int, 0))) -% cond)) >> @intCast(@import("std").math.Log2Int(c_ulong), (@sizeOf(usize) << @intCast(@import("std").math.Log2Int(c_ulong), 3)) -% @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))); +} +pub fn fio_ct_false(arg_cond: usize) callconv(.C) usize { + var cond = arg_cond; + return fio_ct_true(cond) ^ @bitCast(c_ulong, @as(c_long, @as(c_int, 1))); +} +pub fn fio_ct_if(arg_cond: u8, arg_a: usize, arg_b: usize) callconv(.C) usize { + var cond = arg_cond; + var a = arg_a; + var b = arg_b; + return b ^ (@bitCast(c_ulong, @as(c_long, @as(c_int, 0) - (@bitCast(c_int, @as(c_uint, cond)) & @as(c_int, 1)))) & (a ^ b)); +} +pub fn fio_ct_if2(arg_cond: usize, arg_a: usize, arg_b: usize) callconv(.C) usize { + var cond = arg_cond; + var a = arg_a; + var b = arg_b; + return fio_ct_if(@bitCast(u8, @truncate(u8, fio_ct_true(cond))), a, b); +} +pub extern fn fio_atol(pstr: [*c][*c]u8) i64; +pub extern fn fio_atof(pstr: [*c][*c]u8) f64; +pub extern fn fio_ltoa(dest: [*c]u8, num: i64, base: u8) usize; +pub extern fn fio_ftoa(dest: [*c]u8, num: f64, base: u8) usize; +pub extern fn fio_rand64() u64; +pub extern fn fio_rand_bytes(target: ?*anyopaque, length: usize) void; +pub export var fio_hash_secret_marker1: u8 = @import("std").mem.zeroes(u8); +pub export var fio_hash_secret_marker2: u8 = @import("std").mem.zeroes(u8); +pub fn fio_risky_hash(arg_data_: ?*const anyopaque, arg_len: usize, arg_seed: u64) callconv(.C) u64 { + var data_ = arg_data_; + var len = arg_len; + var seed = arg_seed; + var data: [*c]const u8 = @intToPtr([*c]u8, @ptrToInt(data_)); + var v0: u64 = seed ^ @as(c_ulong, 12327324395758126793); + var v1: u64 = ~seed +% @as(c_ulong, 12327324395758126793); + var v2: u64 = ((seed << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 17))) & @as(c_ulong, 63))) | (seed >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 17))) & @as(c_ulong, 63)))) ^ (~@as(c_ulong, 12327324395758126793) +% @as(c_ulong, 18138880411439337787)); + var v3: u64 = ((seed << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (seed >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63)))) +% ~@as(c_ulong, 12327324395758126793); + { + var i: usize = len >> @intCast(@import("std").math.Log2Int(usize), 5); + while (i != 0) : (i -%= 1) { + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 *%= @as(c_ulong, 18138880411439337787); + v1 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 7))]))); + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 7))]))); + v1 *%= @as(c_ulong, 18138880411439337787); + v2 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 7))]))); + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 7))]))); + v2 *%= @as(c_ulong, 18138880411439337787); + v3 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 7))]))); + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 24)))))[@intCast(c_uint, @as(c_int, 7))]))); + v3 *%= @as(c_ulong, 18138880411439337787); + data += @bitCast(usize, @intCast(isize, @as(c_int, 32))); + } + } + while (true) { + switch (len & @bitCast(c_ulong, @as(c_long, @as(c_int, 24)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 24))) => { + v2 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 7))]))); + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 16)))))[@intCast(c_uint, @as(c_int, 7))]))); + v2 *%= @as(c_ulong, 18138880411439337787); + v1 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 7))]))); + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 7))]))); + v1 *%= @as(c_ulong, 18138880411439337787); + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 *%= @as(c_ulong, 18138880411439337787); + data += len & @bitCast(c_ulong, @as(c_long, @as(c_int, 24))); + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 16))) => { + v1 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 7))]))); + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data + @bitCast(usize, @intCast(isize, @as(c_int, 8)))))[@intCast(c_uint, @as(c_int, 7))]))); + v1 *%= @as(c_ulong, 18138880411439337787); + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 *%= @as(c_ulong, 18138880411439337787); + data += len & @bitCast(c_ulong, @as(c_long, @as(c_int, 24))); + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 8))) => { + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= @bitCast(u64, (((((((@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56)) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16))) | (@bitCast(u64, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8))) | @bitCast(c_ulong, @as(c_ulong, @intToPtr([*c]u8, @ptrToInt(data))[@intCast(c_uint, @as(c_int, 7))]))); + v0 *%= @as(c_ulong, 18138880411439337787); + data += len & @bitCast(c_ulong, @as(c_long, @as(c_int, 24))); + }, + else => {}, + } + break; + } + var tmp: u64 = 0; + while (true) { + switch (len & @bitCast(c_ulong, @as(c_long, @as(c_int, 7)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 7))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 6))])) << @intCast(u6, 8); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 6))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 5))])) << @intCast(u6, 16); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 5))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 4))])) << @intCast(u6, 24); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 4))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 3))])) << @intCast(u6, 32); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 2))])) << @intCast(u6, 40); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 1))])) << @intCast(u6, 48); + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + tmp |= @bitCast(u64, @as(c_ulong, data[@intCast(c_uint, @as(c_int, 0))])) << @intCast(u6, 56); + while (true) { + switch ((len >> @intCast(@import("std").math.Log2Int(usize), 3)) & @bitCast(c_ulong, @as(c_long, @as(c_int, 3)))) { + @bitCast(c_ulong, @as(c_long, @as(c_int, 3))) => { + v3 +%= tmp; + v3 = (v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v3 +%= tmp; + v3 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 2))) => { + v2 +%= tmp; + v2 = (v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v2 +%= tmp; + v2 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 1))) => { + v1 +%= tmp; + v1 = (v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v1 +%= tmp; + v1 *%= @as(c_ulong, 18138880411439337787); + break; + }, + @bitCast(c_ulong, @as(c_long, @as(c_int, 0))) => { + v0 +%= tmp; + v0 = (v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + v0 +%= tmp; + v0 *%= @as(c_ulong, 18138880411439337787); + break; + }, + else => {}, + } + break; + } + }, + else => {}, + } + break; + } + var result: u64 = ((((v0 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 17))) & @as(c_ulong, 63))) | (v0 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 17))) & @as(c_ulong, 63)))) +% ((v1 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 13))) & @as(c_ulong, 63))) | (v1 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 13))) & @as(c_ulong, 63))))) +% ((v2 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 47))) & @as(c_ulong, 63))) | (v2 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 47))) & @as(c_ulong, 63))))) +% ((v3 << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 57))) & @as(c_ulong, 63))) | (v3 >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 57))) & @as(c_ulong, 63)))); + len ^= len << @intCast(@import("std").math.Log2Int(usize), 33); + result +%= len; + result +%= v0 *% @as(c_ulong, 12327324395758126793); + result ^= (result << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 13))) & @as(c_ulong, 63))) | (result >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 13))) & @as(c_ulong, 63))); + result +%= v1 *% @as(c_ulong, 12327324395758126793); + result ^= (result << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 29))) & @as(c_ulong, 63))) | (result >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 29))) & @as(c_ulong, 63))); + result +%= v2 *% @as(c_ulong, 12327324395758126793); + result ^= (result << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 33))) & @as(c_ulong, 63))) | (result >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 33))) & @as(c_ulong, 63))); + result +%= v3 *% @as(c_ulong, 12327324395758126793); + result ^= (result << @intCast(u6, @bitCast(c_ulong, @as(c_long, @as(c_int, 51))) & @as(c_ulong, 63))) | (result >> @intCast(u6, @bitCast(c_ulong, @as(c_long, -@as(c_int, 51))) & @as(c_ulong, 63))); + result ^= (result >> @intCast(u6, 29)) *% @as(c_ulong, 18138880411439337787); + return result; +} +pub extern fn fio_siphash24(data: ?*const anyopaque, len: usize, key1: u64, key2: u64) u64; +pub extern fn fio_siphash13(data: ?*const anyopaque, len: usize, key1: u64, key2: u64) u64; +const union_unnamed_33 = extern union { + i: [5]u32, + str: [21]u8, +}; +pub const fio_sha1_s = extern struct { + length: u64, + buffer: [64]u8, + digest: union_unnamed_33, +}; +pub extern fn fio_sha1_init() fio_sha1_s; +pub extern fn fio_sha1_write(s: [*c]fio_sha1_s, data: ?*const anyopaque, len: usize) void; +pub extern fn fio_sha1_result(s: [*c]fio_sha1_s) [*c]u8; +pub fn fio_sha1(arg_s: [*c]fio_sha1_s, arg_data: ?*const anyopaque, arg_len: usize) callconv(.C) [*c]u8 { + var s = arg_s; + var data = arg_data; + var len = arg_len; + s.* = fio_sha1_init(); + fio_sha1_write(s, data, len); + return fio_sha1_result(s); +} +pub const SHA_512: c_int = 1; +pub const SHA_512_256: c_int = 3; +pub const SHA_512_224: c_int = 5; +pub const SHA_384: c_int = 7; +pub const SHA_256: c_int = 2; +pub const SHA_224: c_int = 4; +pub const fio_sha2_variant_e = c_uint; +pub const __uint128_t = u128; +const union_unnamed_34 = extern union { + bytes: [16]u8, + matrix: [4][4]u8, + words_small: [4]u32, + words: [2]u64, + i: __uint128_t, +}; +const union_unnamed_35 = extern union { + i32: [16]u32, + i64: [8]u64, + str: [65]u8, +}; +pub const fio_sha2_s = extern struct { + length: union_unnamed_34, + buffer: [128]u8, + digest: union_unnamed_35, + type: fio_sha2_variant_e, +}; +pub extern fn fio_sha2_init(variant: fio_sha2_variant_e) fio_sha2_s; +pub extern fn fio_sha2_write(s: [*c]fio_sha2_s, data: ?*const anyopaque, len: usize) void; +pub extern fn fio_sha2_result(s: [*c]fio_sha2_s) [*c]u8; +pub fn fio_sha2_512(arg_s: [*c]fio_sha2_s, arg_data: ?*const anyopaque, arg_len: usize) callconv(.C) [*c]u8 { + var s = arg_s; + var data = arg_data; + var len = arg_len; + s.* = fio_sha2_init(@bitCast(c_uint, SHA_512)); + fio_sha2_write(s, data, len); + return fio_sha2_result(s); +} +pub fn fio_sha2_256(arg_s: [*c]fio_sha2_s, arg_data: ?*const anyopaque, arg_len: usize) callconv(.C) [*c]u8 { + var s = arg_s; + var data = arg_data; + var len = arg_len; + s.* = fio_sha2_init(@bitCast(c_uint, SHA_256)); + fio_sha2_write(s, data, len); + return fio_sha2_result(s); +} +pub fn fio_sha2_384(arg_s: [*c]fio_sha2_s, arg_data: ?*const anyopaque, arg_len: usize) callconv(.C) [*c]u8 { + var s = arg_s; + var data = arg_data; + var len = arg_len; + s.* = fio_sha2_init(@bitCast(c_uint, SHA_384)); + fio_sha2_write(s, data, len); + return fio_sha2_result(s); +} +pub extern fn fio_base64_encode(target: [*c]u8, data: [*c]const u8, len: c_int) c_int; +pub extern fn fio_base64url_encode(target: [*c]u8, data: [*c]const u8, len: c_int) c_int; +pub extern fn fio_base64_decode(target: [*c]u8, encoded: [*c]u8, base64_len: c_int) c_int; +pub const FIOBJ_T_NUMBER: c_int = 1; +pub const FIOBJ_T_NULL: c_int = 6; +pub const FIOBJ_T_TRUE: c_int = 22; +pub const FIOBJ_T_FALSE: c_int = 38; +pub const FIOBJ_T_FLOAT: c_int = 39; +pub const FIOBJ_T_STRING: c_int = 40; +pub const FIOBJ_T_ARRAY: c_int = 41; +pub const FIOBJ_T_HASH: c_int = 42; +pub const FIOBJ_T_DATA: c_int = 43; +pub const FIOBJ_T_UNKNOWN: c_int = 44; +pub const fiobj_type_enum = u8; +pub const FIOBJ = usize; +pub fn fiobj_null() callconv(.C) FIOBJ { + return @bitCast(FIOBJ, @as(c_long, FIOBJ_T_NULL)); +} +pub fn fiobj_true() callconv(.C) FIOBJ { + return @bitCast(FIOBJ, @as(c_long, FIOBJ_T_TRUE)); +} +pub fn fiobj_false() callconv(.C) FIOBJ { + return @bitCast(FIOBJ, @as(c_long, FIOBJ_T_FALSE)); +} +pub fn fiobj_type_name(o: FIOBJ) callconv(.C) [*c]const u8 { + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) return "Number"; + if (((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) return fiobj_type_vtable(o).*.class_name; + if (!(o != 0)) return "NULL"; + return "Primitive"; +} // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:375:3: warning: TODO implement translation of stmt class AtomicExprClass +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:430:18: warning: unable to translate function, demoted to extern +pub extern fn fiobj_dup(arg_o: FIOBJ) callconv(.C) FIOBJ; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:378:3: warning: TODO implement translation of stmt class AtomicExprClass +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:446:17: warning: unable to translate function, demoted to extern +pub extern fn fiobj_free(arg_o: FIOBJ) callconv(.C) void; +pub fn fiobj_is_true(o: FIOBJ) callconv(.C) c_int { + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) return @boolToInt((@bitCast(usize, o) >> @intCast(@import("std").math.Log2Int(usize), 1)) != @bitCast(c_ulong, @as(c_long, @as(c_int, 0)))); + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) return @boolToInt(o == @bitCast(c_ulong, @as(c_long, FIOBJ_T_TRUE))); + return @bitCast(c_int, @truncate(c_uint, fiobj_type_vtable(o).*.is_true.?(o))); +} +pub fn fiobj_obj2num(o: FIOBJ) callconv(.C) isize { + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) { + const sign: usize = if ((o & ~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1))) != 0) ~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) | (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) >> @intCast(@import("std").math.Log2Int(usize), 1)) else @bitCast(c_ulong, @as(c_long, @as(c_int, 0))); + return @bitCast(isize, ((o & (~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1))) >> @intCast(@import("std").math.Log2Int(c_ulong), 1)) | sign); + } + if (!(o != 0) or !(((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))))) return @bitCast(isize, @as(c_long, @boolToInt(o == @bitCast(c_ulong, @as(c_long, FIOBJ_T_TRUE))))); + return fiobj_type_vtable(o).*.to_i.?(o); +} +pub fn fiobj_obj2float(o: FIOBJ) callconv(.C) f64 { + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) return @intToFloat(f64, fiobj_obj2num(o)); + if (!(o != 0) or ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) return @intToFloat(f64, o == @bitCast(c_ulong, @as(c_long, FIOBJ_T_TRUE))); + return fiobj_type_vtable(o).*.to_f.?(o); +} +pub fn fiobj_obj2cstr(o: FIOBJ) callconv(.C) fio_str_info_s { + if (!(o != 0)) { + var ret: fio_str_info_s = fio_str_info_s{ + .capa = @bitCast(usize, @as(c_long, @as(c_int, 0))), + .len = @bitCast(usize, @as(c_long, @as(c_int, 4))), + .data = @intToPtr([*c]u8, @ptrToInt("null")), + }; + return ret; + } + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) return fio_ltocstr(@bitCast(isize, o) >> @intCast(@import("std").math.Log2Int(isize), 1)); + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) { + while (true) { + switch (@bitCast(c_int, @as(c_uint, @bitCast(u8, @truncate(u8, o))))) { + @as(c_int, 6) => { + { + var ret: fio_str_info_s = fio_str_info_s{ + .capa = @bitCast(usize, @as(c_long, @as(c_int, 0))), + .len = @bitCast(usize, @as(c_long, @as(c_int, 4))), + .data = @intToPtr([*c]u8, @ptrToInt("null")), + }; + return ret; + } + }, + @as(c_int, 38) => { + { + var ret: fio_str_info_s = fio_str_info_s{ + .capa = @bitCast(usize, @as(c_long, @as(c_int, 0))), + .len = @bitCast(usize, @as(c_long, @as(c_int, 5))), + .data = @intToPtr([*c]u8, @ptrToInt("false")), + }; + return ret; + } + }, + @as(c_int, 22) => { + { + var ret: fio_str_info_s = fio_str_info_s{ + .capa = @bitCast(usize, @as(c_long, @as(c_int, 0))), + .len = @bitCast(usize, @as(c_long, @as(c_int, 4))), + .data = @intToPtr([*c]u8, @ptrToInt("true")), + }; + return ret; + } + }, + else => break, + } + break; + } + } + return fiobj_type_vtable(o).*.to_str.?(o); +} +pub fn fiobj_obj2hash(o: FIOBJ) callconv(.C) u64 { + if (fiobj_type_is(o, @bitCast(u8, @truncate(i8, FIOBJ_T_STRING))) != 0) return fiobj_str_hash(o); + if (!(((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))))) return @bitCast(u64, o); + var s: fio_str_info_s = fiobj_obj2cstr(o); + return fio_siphash13(@ptrCast(?*const anyopaque, s.data), s.len, @intCast(u64, @ptrToInt(&fiobj_each2)), @intCast(u64, @ptrToInt(&fiobj_free_complex_object))); +} +pub fn fiobj_each1(arg_o: FIOBJ, arg_start_at: usize, arg_task: ?*const fn (FIOBJ, ?*anyopaque) callconv(.C) c_int, arg_arg: ?*anyopaque) callconv(.C) usize { + var o = arg_o; + var start_at = arg_start_at; + var task = arg_task; + var arg = arg_arg; + if ((((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) and (fiobj_type_vtable(o).*.each != null)) return fiobj_type_vtable(o).*.each.?(o, start_at, task, arg); + return 0; +} +pub extern fn fiobj_each2(FIOBJ, task: ?*const fn (FIOBJ, ?*anyopaque) callconv(.C) c_int, arg: ?*anyopaque) usize; +pub fn fiobj_iseq(o: FIOBJ, o2: FIOBJ) callconv(.C) c_int { + if (o == o2) return 1; + if (!(o != 0) or !(o2 != 0)) return 0; + if (!(((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) or !(((o2 != 0) and ((o2 & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o2 & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))))) return 0; + if (@bitCast(c_int, @as(c_uint, @ptrCast([*c]fiobj_object_header_s, @alignCast(@import("std").meta.alignment([*c]fiobj_object_header_s), @intToPtr(?*anyopaque, o & ~@bitCast(usize, @as(c_long, @as(c_int, 7)))))).*.type)) != @bitCast(c_int, @as(c_uint, @ptrCast([*c]fiobj_object_header_s, @alignCast(@import("std").meta.alignment([*c]fiobj_object_header_s), @intToPtr(?*anyopaque, o2 & ~@bitCast(usize, @as(c_long, @as(c_int, 7)))))).*.type))) return 0; + if (!(fiobj_type_vtable(o).*.is_eq.?(o, o2) != 0)) return 0; + if ((fiobj_type_vtable(o).*.each != null) and (fiobj_type_vtable(o).*.count.?(o) != 0)) return fiobj_iseq____internal_complex__(o, o2); + return 1; +} +pub fn fiobj_type(arg_o: FIOBJ) callconv(.C) fiobj_type_enum { + var o = arg_o; + if (!(o != 0)) return @bitCast(u8, @truncate(i8, FIOBJ_T_NULL)); + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) return @bitCast(u8, @truncate(i8, FIOBJ_T_NUMBER)); + if ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) return @bitCast(u8, @truncate(u8, o)); + if (true and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 2))))) return @bitCast(u8, @truncate(i8, FIOBJ_T_STRING)); + if (true and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 4))))) return @bitCast(u8, @truncate(i8, FIOBJ_T_HASH)); + return @ptrCast([*c]fiobj_type_enum, @alignCast(@import("std").meta.alignment([*c]fiobj_type_enum), @intToPtr(?*anyopaque, o & ~@bitCast(usize, @as(c_long, @as(c_int, 7))))))[@intCast(c_uint, @as(c_int, 0))]; +} +pub fn fiobj_type_is(arg_o: FIOBJ, arg_type: fiobj_type_enum) callconv(.C) usize { + var o = arg_o; + var @"type" = arg_type; + while (true) { + switch (@bitCast(c_int, @as(c_uint, @"type"))) { + @as(c_int, 1) => return @bitCast(usize, @as(c_long, @boolToInt(((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) != 0) or (@bitCast(c_int, @as(c_uint, @intToPtr([*c]fiobj_type_enum, o)[@intCast(c_uint, @as(c_int, 0))])) == FIOBJ_T_NUMBER)))), + @as(c_int, 6) => return @bitCast(usize, @as(c_long, @boolToInt(!(o != 0) or (o == fiobj_null())))), + @as(c_int, 22) => return @bitCast(usize, @as(c_long, @boolToInt(o == fiobj_true()))), + @as(c_int, 38) => return @bitCast(usize, @as(c_long, @boolToInt(o == fiobj_false()))), + @as(c_int, 40) => return @bitCast(usize, @as(c_long, @boolToInt(((true and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 2))))) or (((@as(c_int, 2) == @as(c_int, 0)) and (((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))))) and (@bitCast(c_int, @as(c_uint, @ptrCast([*c]fiobj_type_enum, @alignCast(@import("std").meta.alignment([*c]fiobj_type_enum), @intToPtr(?*anyopaque, o & ~@bitCast(usize, @as(c_long, @as(c_int, 7))))))[@intCast(c_uint, @as(c_int, 0))])) == FIOBJ_T_STRING))))), + @as(c_int, 42) => { + if (true) { + return @bitCast(usize, @as(c_long, @boolToInt(((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0)))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 4))))))); + } + return @bitCast(usize, @as(c_long, @boolToInt((((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) and (@bitCast(c_int, @as(c_uint, @ptrCast([*c]fiobj_type_enum, @alignCast(@import("std").meta.alignment([*c]fiobj_type_enum), @intToPtr(?*anyopaque, o & ~@bitCast(usize, @as(c_long, @as(c_int, 7))))))[@intCast(c_uint, @as(c_int, 0))])) == @bitCast(c_int, @as(c_uint, @"type")))))); + }, + @as(c_int, 39), @as(c_int, 41), @as(c_int, 43), @as(c_int, 44) => return @bitCast(usize, @as(c_long, @boolToInt((((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) and (@bitCast(c_int, @as(c_uint, @ptrCast([*c]fiobj_type_enum, @alignCast(@import("std").meta.alignment([*c]fiobj_type_enum), @intToPtr(?*anyopaque, o & ~@bitCast(usize, @as(c_long, @as(c_int, 7))))))[@intCast(c_uint, @as(c_int, 0))])) == @bitCast(c_int, @as(c_uint, @"type")))))), + else => {}, + } + break; + } + return @bitCast(usize, @as(c_long, @boolToInt((((o != 0) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0))))) and ((o & @bitCast(c_ulong, @as(c_long, @as(c_int, 6)))) != @bitCast(c_ulong, @as(c_long, @as(c_int, 6))))) and (@bitCast(c_int, @as(c_uint, @ptrCast([*c]fiobj_type_enum, @alignCast(@import("std").meta.alignment([*c]fiobj_type_enum), @intToPtr(?*anyopaque, o & ~@bitCast(usize, @as(c_long, @as(c_int, 7))))))[@intCast(c_uint, @as(c_int, 0))])) == @bitCast(c_int, @as(c_uint, @"type")))))); +} +pub const fiobj_object_vtable_s = extern struct { + class_name: [*c]const u8, + dealloc: ?*const fn (FIOBJ, ?*const fn (FIOBJ, ?*anyopaque) callconv(.C) void, ?*anyopaque) callconv(.C) void, + count: ?*const fn (FIOBJ) callconv(.C) usize, + is_true: ?*const fn (FIOBJ) callconv(.C) usize, + is_eq: ?*const fn (FIOBJ, FIOBJ) callconv(.C) usize, + each: ?*const fn (FIOBJ, usize, ?*const fn (FIOBJ, ?*anyopaque) callconv(.C) c_int, ?*anyopaque) callconv(.C) usize, + to_str: ?*const fn (FIOBJ) callconv(.C) fio_str_info_s, + to_i: ?*const fn (FIOBJ) callconv(.C) isize, + to_f: ?*const fn (FIOBJ) callconv(.C) f64, +}; +pub const fiobj_object_header_s = extern struct { + type: fiobj_type_enum, + ref: u32, +}; +pub extern const FIOBJECT_VTABLE_NUMBER: fiobj_object_vtable_s; +pub extern const FIOBJECT_VTABLE_FLOAT: fiobj_object_vtable_s; +pub extern const FIOBJECT_VTABLE_STRING: fiobj_object_vtable_s; +pub extern const FIOBJECT_VTABLE_ARRAY: fiobj_object_vtable_s; +pub extern const FIOBJECT_VTABLE_HASH: fiobj_object_vtable_s; +pub extern const FIOBJECT_VTABLE_DATA: fiobj_object_vtable_s; +pub fn fiobj_type_vtable(arg_o: FIOBJ) callconv(.C) [*c]const fiobj_object_vtable_s { + var o = arg_o; + while (true) { + switch (@bitCast(c_int, @as(c_uint, fiobj_type(o)))) { + @as(c_int, 1) => return &FIOBJECT_VTABLE_NUMBER, + @as(c_int, 39) => return &FIOBJECT_VTABLE_FLOAT, + @as(c_int, 40) => return &FIOBJECT_VTABLE_STRING, + @as(c_int, 41) => return &FIOBJECT_VTABLE_ARRAY, + @as(c_int, 42) => return &FIOBJECT_VTABLE_HASH, + @as(c_int, 43) => return &FIOBJECT_VTABLE_DATA, + @as(c_int, 6), @as(c_int, 22), @as(c_int, 38), @as(c_int, 44) => return null, + else => {}, + } + break; + } + return null; +} +pub extern fn fiobj_free_complex_object(o: FIOBJ) void; +pub extern fn fio_ltocstr(c_long) fio_str_info_s; +pub extern fn fio_ftocstr(f64) fio_str_info_s; +pub extern fn fiobj_str_hash(o: FIOBJ) u64; +pub fn fiobj_hash_string(arg_data: ?*const anyopaque, arg_len: usize) callconv(.C) u64 { + var data = arg_data; + var len = arg_len; + return fio_siphash13(data, len, @intCast(u64, @ptrToInt(&fiobj_each2)), @intCast(u64, @ptrToInt(&fiobj_free_complex_object))); +} +pub extern fn fiobj_iseq____internal_complex__(o: FIOBJ, o2: FIOBJ) c_int; +pub extern fn fiobj_ary_new() FIOBJ; +pub extern fn fiobj_ary_new2(capa: usize) FIOBJ; +pub extern fn fiobj_ary_count(ary: FIOBJ) usize; +pub extern fn fiobj_ary_capa(ary: FIOBJ) usize; +pub extern fn fiobj_ary2ptr(ary: FIOBJ) [*c]FIOBJ; +pub extern fn fiobj_ary_index(ary: FIOBJ, pos: i64) FIOBJ; +pub extern fn fiobj_ary_set(ary: FIOBJ, obj: FIOBJ, pos: i64) void; +pub extern fn fiobj_ary_push(ary: FIOBJ, obj: FIOBJ) void; +pub extern fn fiobj_ary_pop(ary: FIOBJ) FIOBJ; +pub extern fn fiobj_ary_unshift(ary: FIOBJ, obj: FIOBJ) void; +pub extern fn fiobj_ary_shift(ary: FIOBJ) FIOBJ; +pub extern fn fiobj_ary_replace(ary: FIOBJ, obj: FIOBJ, pos: i64) FIOBJ; +pub extern fn fiobj_ary_find(ary: FIOBJ, data: FIOBJ) i64; +pub extern fn fiobj_ary_remove(ary: FIOBJ, pos: i64) c_int; +pub extern fn fiobj_ary_remove2(ary: FIOBJ, data: FIOBJ) c_int; +pub extern fn fiobj_ary_compact(ary: FIOBJ) void; +pub extern fn fiobj_data_newstr() FIOBJ; +pub extern fn fiobj_data_newstr2(buffer: ?*anyopaque, length: usize, dealloc: ?*const fn (?*anyopaque) callconv(.C) void) FIOBJ; +pub extern fn fiobj_data_newtmpfile() FIOBJ; +pub extern fn fiobj_data_newfd(fd: c_int) FIOBJ; +pub extern fn fiobj_data_slice(parent: FIOBJ, offset: isize, length: usize) FIOBJ; +pub extern fn fiobj_data_save(io: FIOBJ, filename: [*c]const u8) c_int; +pub extern fn fiobj_data_read(io: FIOBJ, length: isize) fio_str_info_s; +pub extern fn fiobj_data_read2ch(io: FIOBJ, token: u8) fio_str_info_s; +pub extern fn fiobj_data_pos(io: FIOBJ) isize; +pub extern fn fiobj_data_len(io: FIOBJ) isize; +pub extern fn fiobj_data_seek(io: FIOBJ, position: isize) void; +pub extern fn fiobj_data_pread(io: FIOBJ, start_at: isize, length: usize) fio_str_info_s; +pub extern fn fiobj_data_write(io: FIOBJ, buffer: ?*anyopaque, length: usize) isize; +pub extern fn fiobj_data_puts(io: FIOBJ, buffer: ?*anyopaque, length: usize) isize; +pub extern fn fiobj_data_assert_dynamic(io: FIOBJ) void; +pub extern fn fiobj_str_new(str: [*c]const u8, len: usize) FIOBJ; +pub extern fn fiobj_str_buf(capa: usize) FIOBJ; +pub fn fiobj_str_copy(arg_src: FIOBJ) callconv(.C) FIOBJ { + var src = arg_src; + var s: fio_str_info_s = fiobj_obj2cstr(src); + return fiobj_str_new(s.data, s.len); +} +pub extern fn fiobj_str_move(str: [*c]u8, len: usize, capacity: usize) FIOBJ; +pub extern fn fiobj_str_tmp() FIOBJ; +pub extern fn fiobj_str_freeze(str: FIOBJ) void; +pub extern fn fiobj_str_capa_assert(str: FIOBJ, size: usize) usize; +pub extern fn fiobj_str_capa(str: FIOBJ) usize; +pub extern fn fiobj_str_resize(str: FIOBJ, size: usize) void; +pub extern fn fiobj_str_compact(str: FIOBJ) void; +pub extern fn fiobj_str_clear(str: FIOBJ) void; +pub extern fn fiobj_str_write(dest: FIOBJ, data: [*c]const u8, len: usize) usize; +pub extern fn fiobj_str_write_i(dest: FIOBJ, num: i64) usize; +pub extern fn fiobj_str_printf(dest: FIOBJ, format: [*c]const u8, ...) usize; +pub extern fn fiobj_str_vprintf(dest: FIOBJ, format: [*c]const u8, argv: [*c]struct___va_list_tag) usize; +pub extern fn fiobj_str_concat(dest: FIOBJ, source: FIOBJ) usize; +pub extern fn fiobj_str_readfile(dest: FIOBJ, filename: [*c]const u8, start_at: isize, limit: isize) usize; +pub extern fn fiobj_hash_rehash(h: FIOBJ) void; +pub extern fn fiobj_hash_new() FIOBJ; +pub extern fn fiobj_hash_new2(capa: usize) FIOBJ; +pub extern fn fiobj_hash_capa(hash: FIOBJ) usize; +pub extern fn fiobj_hash_count(hash: FIOBJ) usize; +pub extern fn fiobj_hash_key_in_loop() FIOBJ; +pub extern fn fiobj_hash_set(hash: FIOBJ, key: FIOBJ, obj: FIOBJ) c_int; +pub extern fn fiobj_hash_pop(hash: FIOBJ, key: [*c]FIOBJ) FIOBJ; +pub extern fn fiobj_hash_replace(hash: FIOBJ, key: FIOBJ, obj: FIOBJ) FIOBJ; +pub extern fn fiobj_hash_remove(hash: FIOBJ, key: FIOBJ) FIOBJ; +pub extern fn fiobj_hash_remove2(hash: FIOBJ, key_hash: u64) FIOBJ; +pub extern fn fiobj_hash_delete(hash: FIOBJ, key: FIOBJ) c_int; +pub extern fn fiobj_hash_delete2(hash: FIOBJ, key_hash: u64) c_int; +pub extern fn fiobj_hash_get(hash: FIOBJ, key: FIOBJ) FIOBJ; +pub extern fn fiobj_hash_get2(hash: FIOBJ, key_hash: u64) FIOBJ; +pub extern fn fiobj_hash_haskey(hash: FIOBJ, key: FIOBJ) c_int; +pub extern fn fiobj_hash_clear(hash: FIOBJ) void; +pub fn fiobj_num_new(arg_num: isize) callconv(.C) FIOBJ { + var num = arg_num; + if (((@bitCast(usize, num) & (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) | (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) >> @intCast(@import("std").math.Log2Int(usize), 1)))) == @bitCast(c_ulong, @as(c_long, @as(c_int, 0)))) or ((@bitCast(usize, num) & (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) | (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) >> @intCast(@import("std").math.Log2Int(usize), 1)))) == (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) | (~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)) >> @intCast(@import("std").math.Log2Int(usize), 1))))) { + const num_abs: usize = @bitCast(usize, num) & (~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)); + const num_sign: usize = @bitCast(usize, num) & ~(~@bitCast(usize, @as(c_long, @as(c_int, 0))) >> @intCast(@import("std").math.Log2Int(usize), 1)); + return ((num_abs << @intCast(@import("std").math.Log2Int(usize), 1)) | num_sign) | @bitCast(c_ulong, @as(c_long, @as(c_int, 1))); + } + return fiobj_num_new_bignum(num); +} +pub extern fn fiobj_num_tmp(num: isize) FIOBJ; +pub extern fn fiobj_float_new(num: f64) FIOBJ; +pub extern fn fiobj_float_set(obj: FIOBJ, num: f64) void; +pub extern fn fiobj_float_tmp(num: f64) FIOBJ; +pub extern fn fiobj_num_new_bignum(num: isize) FIOBJ; +pub extern fn fiobj_json2obj(pobj: [*c]FIOBJ, data: ?*const anyopaque, len: usize) usize; +pub extern fn fiobj_obj2json(FIOBJ, pretty: u8) FIOBJ; +pub extern fn fiobj_obj2json2(dest: FIOBJ, object: FIOBJ, pretty: u8) FIOBJ; +pub const _ISupper: c_int = 256; +pub const _ISlower: c_int = 512; +pub const _ISalpha: c_int = 1024; +pub const _ISdigit: c_int = 2048; +pub const _ISxdigit: c_int = 4096; +pub const _ISspace: c_int = 8192; +pub const _ISprint: c_int = 16384; +pub const _ISgraph: c_int = 32768; +pub const _ISblank: c_int = 1; +pub const _IScntrl: c_int = 2; +pub const _ISpunct: c_int = 4; +pub const _ISalnum: c_int = 8; +const enum_unnamed_36 = c_uint; +pub extern fn __ctype_b_loc() [*c][*c]const c_ushort; +pub extern fn __ctype_tolower_loc() [*c][*c]const __int32_t; +pub extern fn __ctype_toupper_loc() [*c][*c]const __int32_t; +pub extern fn isalnum(c_int) c_int; +pub extern fn isalpha(c_int) c_int; +pub extern fn iscntrl(c_int) c_int; +pub extern fn isdigit(c_int) c_int; +pub extern fn islower(c_int) c_int; +pub extern fn isgraph(c_int) c_int; +pub extern fn isprint(c_int) c_int; +pub extern fn ispunct(c_int) c_int; +pub extern fn isspace(c_int) c_int; +pub extern fn isupper(c_int) c_int; +pub extern fn isxdigit(c_int) c_int; +pub extern fn tolower(__c: c_int) c_int; +pub extern fn toupper(__c: c_int) c_int; +pub extern fn isblank(c_int) c_int; +pub extern fn isctype(__c: c_int, __mask: c_int) c_int; +pub extern fn isascii(__c: c_int) c_int; +pub extern fn toascii(__c: c_int) c_int; +pub extern fn _toupper(c_int) c_int; +pub extern fn _tolower(c_int) c_int; +pub extern fn isalnum_l(c_int, locale_t) c_int; +pub extern fn isalpha_l(c_int, locale_t) c_int; +pub extern fn iscntrl_l(c_int, locale_t) c_int; +pub extern fn isdigit_l(c_int, locale_t) c_int; +pub extern fn islower_l(c_int, locale_t) c_int; +pub extern fn isgraph_l(c_int, locale_t) c_int; +pub extern fn isprint_l(c_int, locale_t) c_int; +pub extern fn ispunct_l(c_int, locale_t) c_int; +pub extern fn isspace_l(c_int, locale_t) c_int; +pub extern fn isupper_l(c_int, locale_t) c_int; +pub extern fn isxdigit_l(c_int, locale_t) c_int; +pub extern fn isblank_l(c_int, locale_t) c_int; +pub extern fn __tolower_l(__c: c_int, __l: locale_t) c_int; +pub extern fn tolower_l(__c: c_int, __l: locale_t) c_int; +pub extern fn __toupper_l(__c: c_int, __l: locale_t) c_int; +pub extern fn toupper_l(__c: c_int, __l: locale_t) c_int; +pub const struct_mustache_s = opaque {}; +pub const mustache_s = struct_mustache_s; +pub const MUSTACHE_OK: c_int = 0; +pub const MUSTACHE_ERR_TOO_DEEP: c_int = 1; +pub const MUSTACHE_ERR_CLOSURE_MISMATCH: c_int = 2; +pub const MUSTACHE_ERR_FILE_NOT_FOUND: c_int = 3; +pub const MUSTACHE_ERR_FILE_TOO_BIG: c_int = 4; +pub const MUSTACHE_ERR_FILE_NAME_TOO_LONG: c_int = 5; +pub const MUSTACHE_ERR_FILE_NAME_TOO_SHORT: c_int = 6; +pub const MUSTACHE_ERR_EMPTY_TEMPLATE: c_int = 7; +pub const MUSTACHE_ERR_DELIMITER_TOO_LONG: c_int = 8; +pub const MUSTACHE_ERR_NAME_TOO_LONG: c_int = 9; +pub const MUSTACHE_ERR_UNKNOWN: c_int = 10; +pub const MUSTACHE_ERR_USER_ERROR: c_int = 11; +pub const enum_mustache_error_en = c_uint; +pub const mustache_error_en = enum_mustache_error_en; +pub const mustache_load_args_s = extern struct { + filename: [*c]const u8, + filename_len: usize, + data: [*c]const u8, + data_len: usize, + err: [*c]mustache_error_en, +}; +pub extern fn fiobj_mustache_load(filename: fio_str_info_s) ?*mustache_s; +pub extern fn fiobj_mustache_new(args: mustache_load_args_s) ?*mustache_s; +pub extern fn fiobj_mustache_free(mustache: ?*mustache_s) void; +pub extern fn fiobj_mustache_build(mustache: ?*mustache_s, data: FIOBJ) FIOBJ; +pub extern fn fiobj_mustache_build2(dest: FIOBJ, mustache: ?*mustache_s, data: FIOBJ) FIOBJ; +pub fn fiobj4sock_dealloc(arg_o: ?*anyopaque) callconv(.C) void { + var o = arg_o; + fiobj_free(@intCast(FIOBJ, @ptrToInt(o))); +} // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1205:41: warning: cannot initialize opaque type +// zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobj4fio.h:13:47: warning: unable to translate function, demoted to extern +pub extern fn fiobj_send_free(arg_uuid: isize, arg_o: FIOBJ) callconv(.C) isize; +pub fn fiobj_test() callconv(.C) void { + _ = fprintf(stderr, "ERROR: tesing functions only defined with DEBUG=1\n"); + exit(-@as(c_int, 1)); +} +pub const struct_http_settings_s = extern struct { + on_request: ?*const fn ([*c]http_s) callconv(.C) void, + on_upgrade: ?*const fn ([*c]http_s, [*c]u8, usize) callconv(.C) void, + on_response: ?*const fn ([*c]http_s) callconv(.C) void, + on_finish: ?*const fn ([*c]struct_http_settings_s) callconv(.C) void, + udata: ?*anyopaque, + public_folder: [*c]const u8, + public_folder_length: usize, + max_header_size: usize, + max_body_size: usize, + max_clients: isize, + tls: ?*anyopaque, + reserved1: isize, + reserved2: isize, + reserved3: isize, + ws_max_msg_size: usize, + timeout: u8, + ws_timeout: u8, + log: u8, + is_client: u8, +}; +pub const http_settings_s = struct_http_settings_s; +const struct_unnamed_37 = extern struct { + vtbl: ?*anyopaque, + flag: usize, + out_headers: FIOBJ, +}; +pub const http_s = extern struct { + private_data: struct_unnamed_37, + received_at: struct_timespec, + method: FIOBJ, + status_str: FIOBJ, + version: FIOBJ, + status: usize, + path: FIOBJ, + query: FIOBJ, + headers: FIOBJ, + cookies: FIOBJ, + params: FIOBJ, + body: FIOBJ, + udata: ?*anyopaque, +}; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/http.h:153:12: warning: struct demoted to opaque type - has bitfield +pub const http_cookie_args_s = opaque {}; +pub extern fn http_set_header(h: [*c]http_s, name: FIOBJ, value: FIOBJ) c_int; +pub extern fn http_set_header2(h: [*c]http_s, name: fio_str_info_s, value: fio_str_info_s) c_int; +pub extern fn http_set_cookie(h: [*c]http_s, http_cookie_args_s) c_int; +pub extern fn http_send_body(h: [*c]http_s, data: ?*anyopaque, length: usize) c_int; +pub extern fn http_sendfile(h: [*c]http_s, fd: c_int, length: usize, offset: usize) c_int; +pub extern fn http_sendfile2(h: [*c]http_s, prefix: [*c]const u8, prefix_len: usize, encoded: [*c]const u8, encoded_len: usize) c_int; +pub extern fn http_send_error(h: [*c]http_s, error_code: usize) c_int; +pub extern fn http_finish(h: [*c]http_s) void; +pub extern fn http_push_data(h: [*c]http_s, data: ?*anyopaque, length: usize, mime_type: FIOBJ) c_int; +pub extern fn http_push_file(h: [*c]http_s, filename: FIOBJ, mime_type: FIOBJ) c_int; +pub const struct_http_pause_handle_s = opaque {}; +pub const http_pause_handle_s = struct_http_pause_handle_s; +pub extern fn http_pause(h: [*c]http_s, task: ?*const fn (?*http_pause_handle_s) callconv(.C) void) void; +pub extern fn http_resume(http: ?*http_pause_handle_s, task: ?*const fn ([*c]http_s) callconv(.C) void, fallback: ?*const fn (?*anyopaque) callconv(.C) void) void; +pub extern fn http_paused_udata_get(http: ?*http_pause_handle_s) ?*anyopaque; +pub extern fn http_paused_udata_set(http: ?*http_pause_handle_s, udata: ?*anyopaque) ?*anyopaque; +pub extern fn http_listen(port: [*c]const u8, binding: [*c]const u8, struct_http_settings_s) isize; +pub extern fn http_connect(url: [*c]const u8, unix_address: [*c]const u8, struct_http_settings_s) isize; +pub extern fn http_settings(h: [*c]http_s) [*c]struct_http_settings_s; +pub extern fn http_peer_addr(h: [*c]http_s) fio_str_info_s; +pub extern fn http_hijack(h: [*c]http_s, leftover: [*c]fio_str_info_s) isize; +pub const struct_ws_s = opaque {}; +pub const ws_s = struct_ws_s; +pub const websocket_settings_s = extern struct { + on_message: ?*const fn (?*ws_s, fio_str_info_s, u8) callconv(.C) void, + on_open: ?*const fn (?*ws_s) callconv(.C) void, + on_ready: ?*const fn (?*ws_s) callconv(.C) void, + on_shutdown: ?*const fn (?*ws_s) callconv(.C) void, + on_close: ?*const fn (isize, ?*anyopaque) callconv(.C) void, + udata: ?*anyopaque, +}; +pub extern fn http_upgrade2ws(http: [*c]http_s, websocket_settings_s) c_int; +pub extern fn websocket_connect(url: [*c]const u8, settings: websocket_settings_s) c_int; +pub extern fn websocket_attach(uuid: isize, http_settings: [*c]http_settings_s, args: [*c]websocket_settings_s, data: ?*anyopaque, length: usize) void; +pub extern fn websocket_udata_get(ws: ?*ws_s) ?*anyopaque; +pub extern fn websocket_udata_set(ws: ?*ws_s, udata: ?*anyopaque) ?*anyopaque; +pub extern fn websocket_uuid(ws: ?*ws_s) isize; +pub extern fn websocket_is_client(ws: ?*ws_s) u8; +pub extern fn websocket_write(ws: ?*ws_s, msg: fio_str_info_s, is_text: u8) c_int; +pub extern fn websocket_close(ws: ?*ws_s) void; // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/websockets.h:104:12: warning: struct demoted to opaque type - has bitfield +pub const struct_websocket_subscribe_s = opaque {}; +pub extern fn websocket_subscribe(args: struct_websocket_subscribe_s) usize; +pub extern fn websocket_unsubscribe(ws: ?*ws_s, subscription_id: usize) void; +pub extern fn websocket_optimize4broadcasts(@"type": isize, enable: c_int) void; +pub const http_sse_s = struct_http_sse_s; +pub const struct_http_sse_s = extern struct { + on_open: ?*const fn ([*c]http_sse_s) callconv(.C) void, + on_ready: ?*const fn ([*c]http_sse_s) callconv(.C) void, + on_shutdown: ?*const fn ([*c]http_sse_s) callconv(.C) void, + on_close: ?*const fn ([*c]http_sse_s) callconv(.C) void, + udata: ?*anyopaque, +}; +pub extern fn http_upgrade2sse(h: [*c]http_s, http_sse_s) c_int; +pub extern fn http_sse_set_timout(sse: [*c]http_sse_s, timeout: u8) void; +pub const struct_http_sse_subscribe_args = extern struct { + channel: fio_str_info_s, + on_message: ?*const fn ([*c]http_sse_s, fio_str_info_s, fio_str_info_s, ?*anyopaque) callconv(.C) void, + on_unsubscribe: ?*const fn (?*anyopaque) callconv(.C) void, + udata: ?*anyopaque, + match: fio_match_fn, +}; +pub extern fn http_sse_subscribe(sse: [*c]http_sse_s, args: struct_http_sse_subscribe_args) usize; +pub extern fn http_sse_unsubscribe(sse: [*c]http_sse_s, subscription: usize) void; +pub const struct_http_sse_write_args = extern struct { + id: fio_str_info_s, + event: fio_str_info_s, + data: fio_str_info_s, + retry: isize, +}; +pub extern fn http_sse_write(sse: [*c]http_sse_s, struct_http_sse_write_args) c_int; +pub extern fn http_sse2uuid(sse: [*c]http_sse_s) isize; +pub extern fn http_sse_close(sse: [*c]http_sse_s) c_int; +pub extern fn http_sse_dup(sse: [*c]http_sse_s) [*c]http_sse_s; +pub extern fn http_sse_free(sse: [*c]http_sse_s) void; +pub extern fn http_parse_body(h: [*c]http_s) c_int; +pub extern fn http_parse_query(h: [*c]http_s) void; +pub extern fn http_parse_cookies(h: [*c]http_s, is_url_encoded: u8) void; +pub extern fn http_add2hash(dest: FIOBJ, name: [*c]u8, name_len: usize, value: [*c]u8, value_len: usize, encoded: u8) c_int; +pub extern fn http_add2hash2(dest: FIOBJ, name: [*c]u8, name_len: usize, value: FIOBJ, encoded: u8) c_int; +pub extern fn http_status2str(status: usize) fio_str_info_s; +pub extern fn http_mimetype_register(file_ext: [*c]u8, file_ext_len: usize, mime_type_str: FIOBJ) void; +pub extern fn http_mimetype_find(file_ext: [*c]u8, file_ext_len: usize) FIOBJ; +pub extern fn http_mimetype_find2(url: FIOBJ) FIOBJ; +pub extern fn http_mimetype_clear() void; +pub extern var HTTP_HEADER_ACCEPT: FIOBJ; +pub extern var HTTP_HEADER_CACHE_CONTROL: FIOBJ; +pub extern var HTTP_HEADER_CONNECTION: FIOBJ; +pub extern var HTTP_HEADER_CONTENT_ENCODING: FIOBJ; +pub extern var HTTP_HEADER_CONTENT_LENGTH: FIOBJ; +pub extern var HTTP_HEADER_CONTENT_RANGE: FIOBJ; +pub extern var HTTP_HEADER_CONTENT_TYPE: FIOBJ; +pub extern var HTTP_HEADER_COOKIE: FIOBJ; +pub extern var HTTP_HEADER_DATE: FIOBJ; +pub extern var HTTP_HEADER_ETAG: FIOBJ; +pub extern var HTTP_HEADER_HOST: FIOBJ; +pub extern var HTTP_HEADER_LAST_MODIFIED: FIOBJ; +pub extern var HTTP_HEADER_ORIGIN: FIOBJ; +pub extern var HTTP_HEADER_SET_COOKIE: FIOBJ; +pub extern var HTTP_HEADER_UPGRADE: FIOBJ; +pub extern fn http_req2str(h: [*c]http_s) FIOBJ; +pub extern fn http_write_log(h: [*c]http_s) void; +pub extern fn http_gmtime(timer: time_t, tmbuf: [*c]struct_tm) [*c]struct_tm; +pub extern fn http_date2rfc7231(target: [*c]u8, tmbuf: [*c]struct_tm) usize; +pub extern fn http_date2rfc2109(target: [*c]u8, tmbuf: [*c]struct_tm) usize; +pub extern fn http_date2rfc2822(target: [*c]u8, tmbuf: [*c]struct_tm) usize; +pub fn http_date2str(arg_target: [*c]u8, arg_tmbuf: [*c]struct_tm) callconv(.C) usize { + var target = arg_target; + var tmbuf = arg_tmbuf; + return http_date2rfc7231(target, tmbuf); +} +pub extern fn http_time2str(target: [*c]u8, t: time_t) usize; +pub extern fn http_decode_url_unsafe(dest: [*c]u8, url_data: [*c]const u8) isize; +pub extern fn http_decode_url(dest: [*c]u8, url_data: [*c]const u8, length: usize) isize; +pub extern fn http_decode_path_unsafe(dest: [*c]u8, url_data: [*c]const u8) isize; +pub extern fn http_decode_path(dest: [*c]u8, url_data: [*c]const u8, length: usize) isize; +pub const http_url_s = fio_url_s; +pub const __INTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); // (no file):80:9 +pub const __UINTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); // (no file):86:9 +pub const __FLT16_DENORM_MIN__ = @compileError("unable to translate C expr: unexpected token 'IntegerLiteral'"); // (no file):109:9 +pub const __FLT16_EPSILON__ = @compileError("unable to translate C expr: unexpected token 'IntegerLiteral'"); // (no file):113:9 +pub const __FLT16_MAX__ = @compileError("unable to translate C expr: unexpected token 'IntegerLiteral'"); // (no file):119:9 +pub const __FLT16_MIN__ = @compileError("unable to translate C expr: unexpected token 'IntegerLiteral'"); // (no file):122:9 +pub const __INT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); // (no file):183:9 +pub const __UINT32_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `U`"); // (no file):205:9 +pub const __UINT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); // (no file):213:9 +pub const __seg_gs = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // (no file):342:9 +pub const __seg_fs = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // (no file):343:9 +pub const FIO_MACRO2STR_STEP2 = @compileError("unable to translate C expr: unexpected token '#'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:116:9 +pub const FIO_VERSION_STRING = @compileError("unable to translate C expr: unexpected token 'StringLiteral'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:126:9 +pub const __GLIBC_USE = @compileError("unable to translate macro: undefined identifier `__GLIBC_USE_`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/features.h:186:9 +pub const __glibc_has_attribute = @compileError("unable to translate macro: undefined identifier `__has_attribute`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:45:10 +pub const __glibc_has_extension = @compileError("unable to translate macro: undefined identifier `__has_extension`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:55:10 +pub const __THROW = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:79:11 +pub const __THROWNL = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:80:11 +pub const __NTH = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:81:11 +pub const __NTHNL = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:82:11 +pub const __CONCAT = @compileError("unable to translate C expr: unexpected token '##'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:124:9 +pub const __STRING = @compileError("unable to translate C expr: unexpected token '#'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:125:9 +pub const __glibc_unsigned_or_positive = @compileError("unable to translate macro: undefined identifier `__typeof`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:160:9 +pub const __glibc_fortify = @compileError("unable to translate C expr: expected ')' instead got '...'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:185:9 +pub const __glibc_fortify_n = @compileError("unable to translate C expr: expected ')' instead got '...'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:195:9 +pub const __warnattr = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:207:10 +pub const __errordecl = @compileError("unable to translate C expr: unexpected token 'extern'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:208:10 +pub const __flexarr = @compileError("unable to translate C expr: unexpected token '['"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:216:10 +pub const __REDIRECT = @compileError("unable to translate macro: undefined identifier `__asm__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:247:10 +pub const __REDIRECT_NTH = @compileError("unable to translate macro: undefined identifier `__asm__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:254:11 +pub const __REDIRECT_NTHNL = @compileError("unable to translate macro: undefined identifier `__asm__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:256:11 +pub const __ASMNAME2 = @compileError("unable to translate C expr: unexpected token 'Identifier'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:260:10 +pub const __attribute_malloc__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:281:10 +pub const __attribute_alloc_size__ = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:292:10 +pub const __attribute_alloc_align__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:298:10 +pub const __attribute_pure__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:308:10 +pub const __attribute_const__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:315:10 +pub const __attribute_maybe_unused__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:321:10 +pub const __attribute_used__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:330:10 +pub const __attribute_noinline__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:331:10 +pub const __attribute_deprecated__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:339:10 +pub const __attribute_deprecated_msg__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:349:10 +pub const __attribute_format_arg__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:362:10 +pub const __attribute_format_strfmon__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:372:10 +pub const __attribute_nonnull__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:384:11 +pub const __returns_nonnull = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:397:10 +pub const __attribute_warn_unused_result__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:406:10 +pub const __always_inline = @compileError("unable to translate macro: undefined identifier `__inline`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:424:10 +pub const __attribute_artificial__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:433:10 +pub const __extern_inline = @compileError("unable to translate macro: undefined identifier `__inline`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:451:11 +pub const __extern_always_inline = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:452:11 +pub const __restrict_arr = @compileError("unable to translate macro: undefined identifier `__restrict`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:495:10 +pub const __attribute_copy__ = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:544:10 +pub const __LDBL_REDIR2_DECL = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:620:10 +pub const __LDBL_REDIR_DECL = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:621:10 +pub const __glibc_macro_warning1 = @compileError("unable to translate macro: undefined identifier `_Pragma`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:635:10 +pub const __glibc_macro_warning = @compileError("unable to translate macro: undefined identifier `GCC`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:636:10 +pub const __fortified_attr_access = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:681:11 +pub const __attr_access = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:682:11 +pub const __attr_access_none = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:683:11 +pub const __attr_dealloc = @compileError("unable to translate C expr: unexpected token 'Eof'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:693:10 +pub const __attribute_returns_twice__ = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/cdefs.h:700:10 +pub const __STD_TYPE = @compileError("unable to translate C expr: unexpected token 'typedef'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types.h:137:10 +pub const __FSID_T_TYPE = @compileError("unable to translate macro: undefined identifier `__val`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/typesizes.h:73:9 +pub const si_pid = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:128:9 +pub const si_uid = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:129:9 +pub const si_timerid = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:130:9 +pub const si_overrun = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:131:9 +pub const si_status = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:132:9 +pub const si_utime = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:133:9 +pub const si_stime = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:134:9 +pub const si_value = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:135:9 +pub const si_int = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:136:9 +pub const si_ptr = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:137:9 +pub const si_addr = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:138:9 +pub const si_addr_lsb = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:139:9 +pub const si_lower = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:140:9 +pub const si_upper = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:141:9 +pub const si_pkey = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:142:9 +pub const si_band = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:143:9 +pub const si_fd = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:144:9 +pub const si_call_addr = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:146:10 +pub const si_syscall = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:147:10 +pub const si_arch = @compileError("unable to translate macro: undefined identifier `_sifields`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/siginfo_t.h:148:10 +pub const sigev_notify_function = @compileError("unable to translate macro: undefined identifier `_sigev_un`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/sigevent_t.h:45:9 +pub const sigev_notify_attributes = @compileError("unable to translate macro: undefined identifier `_sigev_un`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/sigevent_t.h:46:9 +pub const sa_handler = @compileError("unable to translate macro: undefined identifier `__sigaction_handler`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/sigaction.h:39:10 +pub const sa_sigaction = @compileError("unable to translate macro: undefined identifier `__sigaction_handler`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/sigaction.h:40:10 +pub const TEMP_FAILURE_RETRY = @compileError("unable to translate macro: undefined identifier `__extension__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/unistd.h:1134:10 +pub const __PTHREAD_MUTEX_INITIALIZER = @compileError("unable to translate C expr: unexpected token '{'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/struct_mutex.h:56:10 +pub const __PTHREAD_RWLOCK_ELISION_EXTRA = @compileError("unable to translate C expr: unexpected token '{'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/struct_rwlock.h:40:11 +pub const __ONCE_FLAG_INIT = @compileError("unable to translate C expr: unexpected token '{'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/thread-shared-types.h:113:9 +pub const va_start = @compileError("unable to translate macro: undefined identifier `__builtin_va_start`"); // /nix/store/qjijkmsm3i74x1v4h646flqvrx099qil-zig-0.11.0-dev.1602+d976b4e4a/lib/include/stdarg.h:17:9 +pub const va_end = @compileError("unable to translate macro: undefined identifier `__builtin_va_end`"); // /nix/store/qjijkmsm3i74x1v4h646flqvrx099qil-zig-0.11.0-dev.1602+d976b4e4a/lib/include/stdarg.h:18:9 +pub const va_arg = @compileError("unable to translate macro: undefined identifier `__builtin_va_arg`"); // /nix/store/qjijkmsm3i74x1v4h646flqvrx099qil-zig-0.11.0-dev.1602+d976b4e4a/lib/include/stdarg.h:19:9 +pub const __va_copy = @compileError("unable to translate macro: undefined identifier `__builtin_va_copy`"); // /nix/store/qjijkmsm3i74x1v4h646flqvrx099qil-zig-0.11.0-dev.1602+d976b4e4a/lib/include/stdarg.h:24:9 +pub const va_copy = @compileError("unable to translate macro: undefined identifier `__builtin_va_copy`"); // /nix/store/qjijkmsm3i74x1v4h646flqvrx099qil-zig-0.11.0-dev.1602+d976b4e4a/lib/include/stdarg.h:27:9 +pub const __getc_unlocked_body = @compileError("TODO postfix inc/dec expr"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/struct_FILE.h:102:9 +pub const __putc_unlocked_body = @compileError("TODO postfix inc/dec expr"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/types/struct_FILE.h:106:9 +pub const __CFLOAT32 = @compileError("unable to translate: TODO _Complex"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:149:12 +pub const __CFLOAT64 = @compileError("unable to translate: TODO _Complex"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:160:13 +pub const __CFLOAT32X = @compileError("unable to translate: TODO _Complex"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:169:12 +pub const __CFLOAT64X = @compileError("unable to translate: TODO _Complex"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:178:13 +pub const __builtin_nansf32 = @compileError("unable to translate macro: undefined identifier `__builtin_nansf`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:221:12 +pub const __builtin_huge_valf64 = @compileError("unable to translate macro: undefined identifier `__builtin_huge_val`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:255:13 +pub const __builtin_inff64 = @compileError("unable to translate macro: undefined identifier `__builtin_inf`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:256:13 +pub const __builtin_nanf64 = @compileError("unable to translate macro: undefined identifier `__builtin_nan`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:257:13 +pub const __builtin_nansf64 = @compileError("unable to translate macro: undefined identifier `__builtin_nans`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:258:13 +pub const __builtin_huge_valf32x = @compileError("unable to translate macro: undefined identifier `__builtin_huge_val`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:272:12 +pub const __builtin_inff32x = @compileError("unable to translate macro: undefined identifier `__builtin_inf`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:273:12 +pub const __builtin_nanf32x = @compileError("unable to translate macro: undefined identifier `__builtin_nan`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:274:12 +pub const __builtin_nansf32x = @compileError("unable to translate macro: undefined identifier `__builtin_nans`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:275:12 +pub const __builtin_huge_valf64x = @compileError("unable to translate macro: undefined identifier `__builtin_huge_vall`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:289:13 +pub const __builtin_inff64x = @compileError("unable to translate macro: undefined identifier `__builtin_infl`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:290:13 +pub const __builtin_nanf64x = @compileError("unable to translate macro: undefined identifier `__builtin_nanl`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:291:13 +pub const __builtin_nansf64x = @compileError("unable to translate macro: undefined identifier `__builtin_nansl`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/floatn-common.h:292:13 +pub const __FD_ZERO = @compileError("unable to translate macro: undefined identifier `__i`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/select.h:25:9 +pub const __FD_SET = @compileError("unable to translate C expr: expected ')' instead got '|='"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/select.h:32:9 +pub const __FD_CLR = @compileError("unable to translate C expr: expected ')' instead got '&='"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/select.h:34:9 +pub const strdupa = @compileError("unable to translate macro: undefined identifier `__extension__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/string.h:201:10 +pub const strndupa = @compileError("unable to translate macro: undefined identifier `__extension__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/string.h:211:10 +pub const st_atime = @compileError("unable to translate macro: undefined identifier `st_atim`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/struct_stat.h:77:11 +pub const st_mtime = @compileError("unable to translate macro: undefined identifier `st_mtim`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/struct_stat.h:78:11 +pub const st_ctime = @compileError("unable to translate macro: undefined identifier `st_ctim`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/bits/struct_stat.h:79:11 +pub const __struct_group = @compileError("unable to translate C expr: expected ')' instead got '...'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/linux/stddef.h:26:9 +pub const __DECLARE_FLEX_ARRAY = @compileError("unable to translate macro: undefined identifier `__empty_`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/linux/stddef.h:42:9 +pub const __aligned_u64 = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/linux/types.h:46:9 +pub const __aligned_be64 = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/linux/types.h:47:9 +pub const __aligned_le64 = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/linux/types.h:48:9 +pub const TIMEVAL_TO_TIMESPEC = @compileError("unable to translate C expr: unexpected token '{'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/time.h:38:10 +pub const TIMESPEC_TO_TIMEVAL = @compileError("unable to translate C expr: unexpected token '{'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/time.h:42:10 +pub const timerclear = @compileError("unable to translate C expr: expected ')' instead got '='"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/time.h:232:10 +pub const timercmp = @compileError("unable to translate C expr: expected ')' instead got 'Identifier'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/time.h:233:10 +pub const timeradd = @compileError("unable to translate C expr: unexpected token 'do'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/time.h:237:10 +pub const timersub = @compileError("unable to translate C expr: unexpected token 'do'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/sys/time.h:247:10 +pub const FIO_FUNC = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:238:9 +pub const FIO_ALIGN = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:324:9 +pub const FIO_ALIGN_NEW = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:325:9 +pub const FIO_LOG_PRINT = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:459:9 +pub const FIO_LOG_DEBUG = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:465:9 +pub const FIO_LOG_INFO = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:469:9 +pub const FIO_LOG_WARNING = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:471:9 +pub const FIO_LOG_ERROR = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:473:9 +pub const FIO_LOG_FATAL = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:475:9 +pub const FIO_LOG_STATE = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:484:9 +pub const FIO_ASSERT = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:487:9 +pub const FIO_ASSERT_ALLOC = @compileError("unable to translate macro: undefined identifier `__FILE__`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:496:9 +pub const FIO_ASSERT_DEBUG = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:513:9 +pub const fio_write2 = @compileError("unable to translate C expr: expected ')' instead got '...'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1204:9 +pub const FIO_CLOSE_NOOP = @compileError("unable to translate C expr: expected ')' instead got '('"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1209:9 +pub const fio_flush_strong = @compileError("unable to translate C expr: unexpected token 'do'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:1276:9 +pub const fio_atomic_xchange = @compileError("unable to translate macro: undefined identifier `__atomic_exchange_n`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2025:9 +pub const fio_atomic_add = @compileError("unable to translate macro: undefined identifier `__atomic_add_fetch`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2028:9 +pub const fio_atomic_sub = @compileError("unable to translate macro: undefined identifier `__atomic_sub_fetch`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2031:9 +pub const fio_lrot = @compileError("unable to translate C expr: unexpected token '('"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2251:9 +pub const fio_rrot = @compileError("unable to translate C expr: unexpected token '('"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2255:9 +pub const fio_u2str16 = @compileError("unable to translate C expr: unexpected token 'do'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2281:9 +pub const fio_u2str32 = @compileError("unable to translate C expr: unexpected token 'do'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2288:9 +pub const fio_u2str64 = @compileError("unable to translate C expr: unexpected token 'do'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2297:9 +pub const fio_risky_consume = @compileError("unable to translate C expr: unexpected token '+='"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2457:9 +pub const fio_test = @compileError("unable to translate C expr: unexpected token 'Eof'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio.h:2824:9 +pub const fiobj_siphash_test = @compileError("unable to translate C expr: unexpected token 'Eof'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fio_siphash.h:34:9 +pub const FIO_INLINE = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:85:9 +pub const fiobj_ref_inc = @compileError("unable to translate macro: undefined identifier `__atomic_add_fetch`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:374:9 +pub const fiobj_ref_dec = @compileError("unable to translate macro: undefined identifier `__atomic_sub_fetch`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobject.h:377:9 +pub const fiobj_data_gets = @compileError("unable to translate C expr: unexpected token ';'"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/fiobj_data.h:98:9 +pub const __exctype = @compileError("unable to translate C expr: unexpected token 'extern'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/ctype.h:102:9 +pub const __tobody = @compileError("unable to translate macro: undefined identifier `__extension__`"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/ctype.h:155:9 +pub const __exctype_l = @compileError("unable to translate C expr: unexpected token 'extern'"); // /nix/store/bq928ff6m7lvcfyvcdvgvqxhqi5f3ijq-glibc-2.35-224-dev/include/ctype.h:244:10 +pub const MUSTACHE_FUNC = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // zig-cache/i/e0c8a6e617497ade13de512cbe191f23/include/mustache_parser.h:42:9 +pub const __llvm__ = @as(c_int, 1); +pub const __clang__ = @as(c_int, 1); +pub const __clang_major__ = @as(c_int, 15); +pub const __clang_minor__ = @as(c_int, 0); +pub const __clang_patchlevel__ = @as(c_int, 7); +pub const __clang_version__ = "15.0.7 (https://github.com/ziglang/zig-bootstrap 8aa969bd1ad4704a6f351db54aac7ca11de73a9d)"; +pub const __GNUC__ = @as(c_int, 4); +pub const __GNUC_MINOR__ = @as(c_int, 2); +pub const __GNUC_PATCHLEVEL__ = @as(c_int, 1); +pub const __GXX_ABI_VERSION = @as(c_int, 1002); +pub const __ATOMIC_RELAXED = @as(c_int, 0); +pub const __ATOMIC_CONSUME = @as(c_int, 1); +pub const __ATOMIC_ACQUIRE = @as(c_int, 2); +pub const __ATOMIC_RELEASE = @as(c_int, 3); +pub const __ATOMIC_ACQ_REL = @as(c_int, 4); +pub const __ATOMIC_SEQ_CST = @as(c_int, 5); +pub const __OPENCL_MEMORY_SCOPE_WORK_ITEM = @as(c_int, 0); +pub const __OPENCL_MEMORY_SCOPE_WORK_GROUP = @as(c_int, 1); +pub const __OPENCL_MEMORY_SCOPE_DEVICE = @as(c_int, 2); +pub const __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES = @as(c_int, 3); +pub const __OPENCL_MEMORY_SCOPE_SUB_GROUP = @as(c_int, 4); +pub const __PRAGMA_REDEFINE_EXTNAME = @as(c_int, 1); +pub const __VERSION__ = "Clang 15.0.7 (https://github.com/ziglang/zig-bootstrap 8aa969bd1ad4704a6f351db54aac7ca11de73a9d)"; +pub const __OBJC_BOOL_IS_BOOL = @as(c_int, 0); +pub const __CONSTANT_CFSTRINGS__ = @as(c_int, 1); +pub const __clang_literal_encoding__ = "UTF-8"; +pub const __clang_wide_literal_encoding__ = "UTF-32"; +pub const __ORDER_LITTLE_ENDIAN__ = @as(c_int, 1234); +pub const __ORDER_BIG_ENDIAN__ = @as(c_int, 4321); +pub const __ORDER_PDP_ENDIAN__ = @as(c_int, 3412); +pub const __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__; +pub const __LITTLE_ENDIAN__ = @as(c_int, 1); +pub const _LP64 = @as(c_int, 1); +pub const __LP64__ = @as(c_int, 1); +pub const __CHAR_BIT__ = @as(c_int, 8); +pub const __BOOL_WIDTH__ = @as(c_int, 8); +pub const __SHRT_WIDTH__ = @as(c_int, 16); +pub const __INT_WIDTH__ = @as(c_int, 32); +pub const __LONG_WIDTH__ = @as(c_int, 64); +pub const __LLONG_WIDTH__ = @as(c_int, 64); +pub const __BITINT_MAXWIDTH__ = @as(c_int, 128); +pub const __SCHAR_MAX__ = @as(c_int, 127); +pub const __SHRT_MAX__ = @as(c_int, 32767); +pub const __INT_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const __LONG_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __LONG_LONG_MAX__ = @as(c_longlong, 9223372036854775807); +pub const __WCHAR_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const __WCHAR_WIDTH__ = @as(c_int, 32); +pub const __WINT_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub const __WINT_WIDTH__ = @as(c_int, 32); +pub const __INTMAX_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __INTMAX_WIDTH__ = @as(c_int, 64); +pub const __SIZE_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const __SIZE_WIDTH__ = @as(c_int, 64); +pub const __UINTMAX_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const __UINTMAX_WIDTH__ = @as(c_int, 64); +pub const __PTRDIFF_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __PTRDIFF_WIDTH__ = @as(c_int, 64); +pub const __INTPTR_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __INTPTR_WIDTH__ = @as(c_int, 64); +pub const __UINTPTR_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const __UINTPTR_WIDTH__ = @as(c_int, 64); +pub const __SIZEOF_DOUBLE__ = @as(c_int, 8); +pub const __SIZEOF_FLOAT__ = @as(c_int, 4); +pub const __SIZEOF_INT__ = @as(c_int, 4); +pub const __SIZEOF_LONG__ = @as(c_int, 8); +pub const __SIZEOF_LONG_DOUBLE__ = @as(c_int, 16); +pub const __SIZEOF_LONG_LONG__ = @as(c_int, 8); +pub const __SIZEOF_POINTER__ = @as(c_int, 8); +pub const __SIZEOF_SHORT__ = @as(c_int, 2); +pub const __SIZEOF_PTRDIFF_T__ = @as(c_int, 8); +pub const __SIZEOF_SIZE_T__ = @as(c_int, 8); +pub const __SIZEOF_WCHAR_T__ = @as(c_int, 4); +pub const __SIZEOF_WINT_T__ = @as(c_int, 4); +pub const __SIZEOF_INT128__ = @as(c_int, 16); +pub const __INTMAX_TYPE__ = c_long; +pub const __INTMAX_FMTd__ = "ld"; +pub const __INTMAX_FMTi__ = "li"; +pub const __UINTMAX_TYPE__ = c_ulong; +pub const __UINTMAX_FMTo__ = "lo"; +pub const __UINTMAX_FMTu__ = "lu"; +pub const __UINTMAX_FMTx__ = "lx"; +pub const __UINTMAX_FMTX__ = "lX"; +pub const __PTRDIFF_TYPE__ = c_long; +pub const __PTRDIFF_FMTd__ = "ld"; +pub const __PTRDIFF_FMTi__ = "li"; +pub const __INTPTR_TYPE__ = c_long; +pub const __INTPTR_FMTd__ = "ld"; +pub const __INTPTR_FMTi__ = "li"; +pub const __SIZE_TYPE__ = c_ulong; +pub const __SIZE_FMTo__ = "lo"; +pub const __SIZE_FMTu__ = "lu"; +pub const __SIZE_FMTx__ = "lx"; +pub const __SIZE_FMTX__ = "lX"; +pub const __WCHAR_TYPE__ = c_int; +pub const __WINT_TYPE__ = c_uint; +pub const __SIG_ATOMIC_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const __SIG_ATOMIC_WIDTH__ = @as(c_int, 32); +pub const __CHAR16_TYPE__ = c_ushort; +pub const __CHAR32_TYPE__ = c_uint; +pub const __UINTPTR_TYPE__ = c_ulong; +pub const __UINTPTR_FMTo__ = "lo"; +pub const __UINTPTR_FMTu__ = "lu"; +pub const __UINTPTR_FMTx__ = "lx"; +pub const __UINTPTR_FMTX__ = "lX"; +pub const __FLT16_HAS_DENORM__ = @as(c_int, 1); +pub const __FLT16_DIG__ = @as(c_int, 3); +pub const __FLT16_DECIMAL_DIG__ = @as(c_int, 5); +pub const __FLT16_HAS_INFINITY__ = @as(c_int, 1); +pub const __FLT16_HAS_QUIET_NAN__ = @as(c_int, 1); +pub const __FLT16_MANT_DIG__ = @as(c_int, 11); +pub const __FLT16_MAX_10_EXP__ = @as(c_int, 4); +pub const __FLT16_MAX_EXP__ = @as(c_int, 16); +pub const __FLT16_MIN_10_EXP__ = -@as(c_int, 4); +pub const __FLT16_MIN_EXP__ = -@as(c_int, 13); +pub const __FLT_DENORM_MIN__ = @as(f32, 1.40129846e-45); +pub const __FLT_HAS_DENORM__ = @as(c_int, 1); +pub const __FLT_DIG__ = @as(c_int, 6); +pub const __FLT_DECIMAL_DIG__ = @as(c_int, 9); +pub const __FLT_EPSILON__ = @as(f32, 1.19209290e-7); +pub const __FLT_HAS_INFINITY__ = @as(c_int, 1); +pub const __FLT_HAS_QUIET_NAN__ = @as(c_int, 1); +pub const __FLT_MANT_DIG__ = @as(c_int, 24); +pub const __FLT_MAX_10_EXP__ = @as(c_int, 38); +pub const __FLT_MAX_EXP__ = @as(c_int, 128); +pub const __FLT_MAX__ = @as(f32, 3.40282347e+38); +pub const __FLT_MIN_10_EXP__ = -@as(c_int, 37); +pub const __FLT_MIN_EXP__ = -@as(c_int, 125); +pub const __FLT_MIN__ = @as(f32, 1.17549435e-38); +pub const __DBL_DENORM_MIN__ = @as(f64, 4.9406564584124654e-324); +pub const __DBL_HAS_DENORM__ = @as(c_int, 1); +pub const __DBL_DIG__ = @as(c_int, 15); +pub const __DBL_DECIMAL_DIG__ = @as(c_int, 17); +pub const __DBL_EPSILON__ = @as(f64, 2.2204460492503131e-16); +pub const __DBL_HAS_INFINITY__ = @as(c_int, 1); +pub const __DBL_HAS_QUIET_NAN__ = @as(c_int, 1); +pub const __DBL_MANT_DIG__ = @as(c_int, 53); +pub const __DBL_MAX_10_EXP__ = @as(c_int, 308); +pub const __DBL_MAX_EXP__ = @as(c_int, 1024); +pub const __DBL_MAX__ = @as(f64, 1.7976931348623157e+308); +pub const __DBL_MIN_10_EXP__ = -@as(c_int, 307); +pub const __DBL_MIN_EXP__ = -@as(c_int, 1021); +pub const __DBL_MIN__ = @as(f64, 2.2250738585072014e-308); +pub const __LDBL_DENORM_MIN__ = @as(c_longdouble, 3.64519953188247460253e-4951); +pub const __LDBL_HAS_DENORM__ = @as(c_int, 1); +pub const __LDBL_DIG__ = @as(c_int, 18); +pub const __LDBL_DECIMAL_DIG__ = @as(c_int, 21); +pub const __LDBL_EPSILON__ = @as(c_longdouble, 1.08420217248550443401e-19); +pub const __LDBL_HAS_INFINITY__ = @as(c_int, 1); +pub const __LDBL_HAS_QUIET_NAN__ = @as(c_int, 1); +pub const __LDBL_MANT_DIG__ = @as(c_int, 64); +pub const __LDBL_MAX_10_EXP__ = @as(c_int, 4932); +pub const __LDBL_MAX_EXP__ = @as(c_int, 16384); +pub const __LDBL_MAX__ = @as(c_longdouble, 1.18973149535723176502e+4932); +pub const __LDBL_MIN_10_EXP__ = -@as(c_int, 4931); +pub const __LDBL_MIN_EXP__ = -@as(c_int, 16381); +pub const __LDBL_MIN__ = @as(c_longdouble, 3.36210314311209350626e-4932); +pub const __POINTER_WIDTH__ = @as(c_int, 64); +pub const __BIGGEST_ALIGNMENT__ = @as(c_int, 16); +pub const __WINT_UNSIGNED__ = @as(c_int, 1); +pub const __INT8_TYPE__ = i8; +pub const __INT8_FMTd__ = "hhd"; +pub const __INT8_FMTi__ = "hhi"; +pub const __INT8_C_SUFFIX__ = ""; +pub const __INT16_TYPE__ = c_short; +pub const __INT16_FMTd__ = "hd"; +pub const __INT16_FMTi__ = "hi"; +pub const __INT16_C_SUFFIX__ = ""; +pub const __INT32_TYPE__ = c_int; +pub const __INT32_FMTd__ = "d"; +pub const __INT32_FMTi__ = "i"; +pub const __INT32_C_SUFFIX__ = ""; +pub const __INT64_TYPE__ = c_long; +pub const __INT64_FMTd__ = "ld"; +pub const __INT64_FMTi__ = "li"; +pub const __UINT8_TYPE__ = u8; +pub const __UINT8_FMTo__ = "hho"; +pub const __UINT8_FMTu__ = "hhu"; +pub const __UINT8_FMTx__ = "hhx"; +pub const __UINT8_FMTX__ = "hhX"; +pub const __UINT8_C_SUFFIX__ = ""; +pub const __UINT8_MAX__ = @as(c_int, 255); +pub const __INT8_MAX__ = @as(c_int, 127); +pub const __UINT16_TYPE__ = c_ushort; +pub const __UINT16_FMTo__ = "ho"; +pub const __UINT16_FMTu__ = "hu"; +pub const __UINT16_FMTx__ = "hx"; +pub const __UINT16_FMTX__ = "hX"; +pub const __UINT16_C_SUFFIX__ = ""; +pub const __UINT16_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); +pub const __INT16_MAX__ = @as(c_int, 32767); +pub const __UINT32_TYPE__ = c_uint; +pub const __UINT32_FMTo__ = "o"; +pub const __UINT32_FMTu__ = "u"; +pub const __UINT32_FMTx__ = "x"; +pub const __UINT32_FMTX__ = "X"; +pub const __UINT32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub const __INT32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const __UINT64_TYPE__ = c_ulong; +pub const __UINT64_FMTo__ = "lo"; +pub const __UINT64_FMTu__ = "lu"; +pub const __UINT64_FMTx__ = "lx"; +pub const __UINT64_FMTX__ = "lX"; +pub const __UINT64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const __INT64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __INT_LEAST8_TYPE__ = i8; +pub const __INT_LEAST8_MAX__ = @as(c_int, 127); +pub const __INT_LEAST8_WIDTH__ = @as(c_int, 8); +pub const __INT_LEAST8_FMTd__ = "hhd"; +pub const __INT_LEAST8_FMTi__ = "hhi"; +pub const __UINT_LEAST8_TYPE__ = u8; +pub const __UINT_LEAST8_MAX__ = @as(c_int, 255); +pub const __UINT_LEAST8_FMTo__ = "hho"; +pub const __UINT_LEAST8_FMTu__ = "hhu"; +pub const __UINT_LEAST8_FMTx__ = "hhx"; +pub const __UINT_LEAST8_FMTX__ = "hhX"; +pub const __INT_LEAST16_TYPE__ = c_short; +pub const __INT_LEAST16_MAX__ = @as(c_int, 32767); +pub const __INT_LEAST16_WIDTH__ = @as(c_int, 16); +pub const __INT_LEAST16_FMTd__ = "hd"; +pub const __INT_LEAST16_FMTi__ = "hi"; +pub const __UINT_LEAST16_TYPE__ = c_ushort; +pub const __UINT_LEAST16_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); +pub const __UINT_LEAST16_FMTo__ = "ho"; +pub const __UINT_LEAST16_FMTu__ = "hu"; +pub const __UINT_LEAST16_FMTx__ = "hx"; +pub const __UINT_LEAST16_FMTX__ = "hX"; +pub const __INT_LEAST32_TYPE__ = c_int; +pub const __INT_LEAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const __INT_LEAST32_WIDTH__ = @as(c_int, 32); +pub const __INT_LEAST32_FMTd__ = "d"; +pub const __INT_LEAST32_FMTi__ = "i"; +pub const __UINT_LEAST32_TYPE__ = c_uint; +pub const __UINT_LEAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub const __UINT_LEAST32_FMTo__ = "o"; +pub const __UINT_LEAST32_FMTu__ = "u"; +pub const __UINT_LEAST32_FMTx__ = "x"; +pub const __UINT_LEAST32_FMTX__ = "X"; +pub const __INT_LEAST64_TYPE__ = c_long; +pub const __INT_LEAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __INT_LEAST64_WIDTH__ = @as(c_int, 64); +pub const __INT_LEAST64_FMTd__ = "ld"; +pub const __INT_LEAST64_FMTi__ = "li"; +pub const __UINT_LEAST64_TYPE__ = c_ulong; +pub const __UINT_LEAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const __UINT_LEAST64_FMTo__ = "lo"; +pub const __UINT_LEAST64_FMTu__ = "lu"; +pub const __UINT_LEAST64_FMTx__ = "lx"; +pub const __UINT_LEAST64_FMTX__ = "lX"; +pub const __INT_FAST8_TYPE__ = i8; +pub const __INT_FAST8_MAX__ = @as(c_int, 127); +pub const __INT_FAST8_WIDTH__ = @as(c_int, 8); +pub const __INT_FAST8_FMTd__ = "hhd"; +pub const __INT_FAST8_FMTi__ = "hhi"; +pub const __UINT_FAST8_TYPE__ = u8; +pub const __UINT_FAST8_MAX__ = @as(c_int, 255); +pub const __UINT_FAST8_FMTo__ = "hho"; +pub const __UINT_FAST8_FMTu__ = "hhu"; +pub const __UINT_FAST8_FMTx__ = "hhx"; +pub const __UINT_FAST8_FMTX__ = "hhX"; +pub const __INT_FAST16_TYPE__ = c_short; +pub const __INT_FAST16_MAX__ = @as(c_int, 32767); +pub const __INT_FAST16_WIDTH__ = @as(c_int, 16); +pub const __INT_FAST16_FMTd__ = "hd"; +pub const __INT_FAST16_FMTi__ = "hi"; +pub const __UINT_FAST16_TYPE__ = c_ushort; +pub const __UINT_FAST16_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); +pub const __UINT_FAST16_FMTo__ = "ho"; +pub const __UINT_FAST16_FMTu__ = "hu"; +pub const __UINT_FAST16_FMTx__ = "hx"; +pub const __UINT_FAST16_FMTX__ = "hX"; +pub const __INT_FAST32_TYPE__ = c_int; +pub const __INT_FAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const __INT_FAST32_WIDTH__ = @as(c_int, 32); +pub const __INT_FAST32_FMTd__ = "d"; +pub const __INT_FAST32_FMTi__ = "i"; +pub const __UINT_FAST32_TYPE__ = c_uint; +pub const __UINT_FAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub const __UINT_FAST32_FMTo__ = "o"; +pub const __UINT_FAST32_FMTu__ = "u"; +pub const __UINT_FAST32_FMTx__ = "x"; +pub const __UINT_FAST32_FMTX__ = "X"; +pub const __INT_FAST64_TYPE__ = c_long; +pub const __INT_FAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const __INT_FAST64_WIDTH__ = @as(c_int, 64); +pub const __INT_FAST64_FMTd__ = "ld"; +pub const __INT_FAST64_FMTi__ = "li"; +pub const __UINT_FAST64_TYPE__ = c_ulong; +pub const __UINT_FAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const __UINT_FAST64_FMTo__ = "lo"; +pub const __UINT_FAST64_FMTu__ = "lu"; +pub const __UINT_FAST64_FMTx__ = "lx"; +pub const __UINT_FAST64_FMTX__ = "lX"; +pub const __USER_LABEL_PREFIX__ = ""; +pub const __FINITE_MATH_ONLY__ = @as(c_int, 0); +pub const __GNUC_STDC_INLINE__ = @as(c_int, 1); +pub const __GCC_ATOMIC_TEST_AND_SET_TRUEVAL = @as(c_int, 1); +pub const __CLANG_ATOMIC_BOOL_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_CHAR_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_CHAR16_T_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_CHAR32_T_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_WCHAR_T_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_SHORT_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_INT_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_LONG_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_LLONG_LOCK_FREE = @as(c_int, 2); +pub const __CLANG_ATOMIC_POINTER_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_BOOL_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_CHAR_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_CHAR16_T_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_CHAR32_T_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_WCHAR_T_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_SHORT_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_INT_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_LONG_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_LLONG_LOCK_FREE = @as(c_int, 2); +pub const __GCC_ATOMIC_POINTER_LOCK_FREE = @as(c_int, 2); +pub const __NO_INLINE__ = @as(c_int, 1); +pub const __PIC__ = @as(c_int, 2); +pub const __pic__ = @as(c_int, 2); +pub const __FLT_RADIX__ = @as(c_int, 2); +pub const __DECIMAL_DIG__ = __LDBL_DECIMAL_DIG__; +pub const __SSP_STRONG__ = @as(c_int, 2); +pub const __GCC_ASM_FLAG_OUTPUTS__ = @as(c_int, 1); +pub const __code_model_small__ = @as(c_int, 1); +pub const __amd64__ = @as(c_int, 1); +pub const __amd64 = @as(c_int, 1); +pub const __x86_64 = @as(c_int, 1); +pub const __x86_64__ = @as(c_int, 1); +pub const __SEG_GS = @as(c_int, 1); +pub const __SEG_FS = @as(c_int, 1); +pub const __znver3 = @as(c_int, 1); +pub const __znver3__ = @as(c_int, 1); +pub const __tune_znver3__ = @as(c_int, 1); +pub const __REGISTER_PREFIX__ = ""; +pub const __NO_MATH_INLINES = @as(c_int, 1); +pub const __AES__ = @as(c_int, 1); +pub const __VAES__ = @as(c_int, 1); +pub const __PCLMUL__ = @as(c_int, 1); +pub const __VPCLMULQDQ__ = @as(c_int, 1); +pub const __LAHF_SAHF__ = @as(c_int, 1); +pub const __LZCNT__ = @as(c_int, 1); +pub const __RDRND__ = @as(c_int, 1); +pub const __FSGSBASE__ = @as(c_int, 1); +pub const __BMI__ = @as(c_int, 1); +pub const __BMI2__ = @as(c_int, 1); +pub const __POPCNT__ = @as(c_int, 1); +pub const __PRFCHW__ = @as(c_int, 1); +pub const __RDSEED__ = @as(c_int, 1); +pub const __ADX__ = @as(c_int, 1); +pub const __MWAITX__ = @as(c_int, 1); +pub const __MOVBE__ = @as(c_int, 1); +pub const __SSE4A__ = @as(c_int, 1); +pub const __FMA__ = @as(c_int, 1); +pub const __F16C__ = @as(c_int, 1); +pub const __SHA__ = @as(c_int, 1); +pub const __FXSR__ = @as(c_int, 1); +pub const __XSAVE__ = @as(c_int, 1); +pub const __XSAVEOPT__ = @as(c_int, 1); +pub const __XSAVEC__ = @as(c_int, 1); +pub const __XSAVES__ = @as(c_int, 1); +pub const __PKU__ = @as(c_int, 1); +pub const __CLFLUSHOPT__ = @as(c_int, 1); +pub const __CLWB__ = @as(c_int, 1); +pub const __WBNOINVD__ = @as(c_int, 1); +pub const __SHSTK__ = @as(c_int, 1); +pub const __CLZERO__ = @as(c_int, 1); +pub const __RDPID__ = @as(c_int, 1); +pub const __RDPRU__ = @as(c_int, 1); +pub const __INVPCID__ = @as(c_int, 1); +pub const __CRC32__ = @as(c_int, 1); +pub const __AVX2__ = @as(c_int, 1); +pub const __AVX__ = @as(c_int, 1); +pub const __SSE4_2__ = @as(c_int, 1); +pub const __SSE4_1__ = @as(c_int, 1); +pub const __SSSE3__ = @as(c_int, 1); +pub const __SSE3__ = @as(c_int, 1); +pub const __SSE2__ = @as(c_int, 1); +pub const __SSE2_MATH__ = @as(c_int, 1); +pub const __SSE__ = @as(c_int, 1); +pub const __SSE_MATH__ = @as(c_int, 1); +pub const __MMX__ = @as(c_int, 1); +pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 = @as(c_int, 1); +pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 = @as(c_int, 1); +pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 = @as(c_int, 1); +pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 = @as(c_int, 1); +pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 = @as(c_int, 1); +pub const __SIZEOF_FLOAT128__ = @as(c_int, 16); +pub const unix = @as(c_int, 1); +pub const __unix = @as(c_int, 1); +pub const __unix__ = @as(c_int, 1); +pub const linux = @as(c_int, 1); +pub const __linux = @as(c_int, 1); +pub const __linux__ = @as(c_int, 1); +pub const __ELF__ = @as(c_int, 1); +pub const __gnu_linux__ = @as(c_int, 1); +pub const __FLOAT128__ = @as(c_int, 1); +pub const __STDC__ = @as(c_int, 1); +pub const __STDC_HOSTED__ = @as(c_int, 1); +pub const __STDC_VERSION__ = @as(c_long, 201710); +pub const __STDC_UTF_16__ = @as(c_int, 1); +pub const __STDC_UTF_32__ = @as(c_int, 1); +pub const __GLIBC_MINOR__ = @as(c_int, 35); +pub const _DEBUG = @as(c_int, 1); +pub const __GCC_HAVE_DWARF2_CFI_ASM = @as(c_int, 1); +pub const H_HTTP_H = ""; +pub const H_FACIL_IO_H = ""; +pub const FIO_VERSION_MAJOR = @as(c_int, 0); +pub const FIO_VERSION_MINOR = @as(c_int, 7); +pub const FIO_VERSION_PATCH = @as(c_int, 4); +pub const FIO_VERSION_BETA = @as(c_int, 0); +pub inline fn FIO_MACRO2STR(macro: anytype) @TypeOf(FIO_MACRO2STR_STEP2(macro)) { + return FIO_MACRO2STR_STEP2(macro); +} +pub const FIO_MAX_SOCK_CAPACITY = @import("std").zig.c_translation.promoteIntLiteral(c_int, 131072, .decimal); +pub const FIO_CPU_CORES_LIMIT = @as(c_int, 8); +pub const FIO_DEFER_THROTTLE_PROGRESSIVE = @as(c_int, 1); +pub const FIO_PRINT_STATE = @as(c_int, 0); +pub const FIO_PUBSUB_SUPPORT = @as(c_int, 1); +pub const FIO_LOG_LENGTH_LIMIT = @as(c_int, 2048); +pub const FIO_IGNORE_MACRO = ""; +pub const _GNU_SOURCE = ""; +pub const _ERRNO_H = @as(c_int, 1); +pub const _FEATURES_H = @as(c_int, 1); +pub const __KERNEL_STRICT_NAMES = ""; +pub inline fn __GNUC_PREREQ(maj: anytype, min: anytype) @TypeOf(((__GNUC__ << @as(c_int, 16)) + __GNUC_MINOR__) >= ((maj << @as(c_int, 16)) + min)) { + return ((__GNUC__ << @as(c_int, 16)) + __GNUC_MINOR__) >= ((maj << @as(c_int, 16)) + min); +} +pub inline fn __glibc_clang_prereq(maj: anytype, min: anytype) @TypeOf(((__clang_major__ << @as(c_int, 16)) + __clang_minor__) >= ((maj << @as(c_int, 16)) + min)) { + return ((__clang_major__ << @as(c_int, 16)) + __clang_minor__) >= ((maj << @as(c_int, 16)) + min); +} +pub const _ISOC95_SOURCE = @as(c_int, 1); +pub const _ISOC99_SOURCE = @as(c_int, 1); +pub const _ISOC11_SOURCE = @as(c_int, 1); +pub const _ISOC2X_SOURCE = @as(c_int, 1); +pub const _POSIX_SOURCE = @as(c_int, 1); +pub const _POSIX_C_SOURCE = @as(c_long, 200809); +pub const _XOPEN_SOURCE = @as(c_int, 700); +pub const _XOPEN_SOURCE_EXTENDED = @as(c_int, 1); +pub const _LARGEFILE64_SOURCE = @as(c_int, 1); +pub const _DEFAULT_SOURCE = @as(c_int, 1); +pub const _ATFILE_SOURCE = @as(c_int, 1); +pub const _DYNAMIC_STACK_SIZE_SOURCE = @as(c_int, 1); +pub const __GLIBC_USE_ISOC2X = @as(c_int, 1); +pub const __USE_ISOC11 = @as(c_int, 1); +pub const __USE_ISOC99 = @as(c_int, 1); +pub const __USE_ISOC95 = @as(c_int, 1); +pub const __USE_POSIX = @as(c_int, 1); +pub const __USE_POSIX2 = @as(c_int, 1); +pub const __USE_POSIX199309 = @as(c_int, 1); +pub const __USE_POSIX199506 = @as(c_int, 1); +pub const __USE_XOPEN2K = @as(c_int, 1); +pub const __USE_XOPEN2K8 = @as(c_int, 1); +pub const __USE_XOPEN = @as(c_int, 1); +pub const __USE_XOPEN_EXTENDED = @as(c_int, 1); +pub const __USE_UNIX98 = @as(c_int, 1); +pub const _LARGEFILE_SOURCE = @as(c_int, 1); +pub const __USE_XOPEN2K8XSI = @as(c_int, 1); +pub const __USE_XOPEN2KXSI = @as(c_int, 1); +pub const __USE_LARGEFILE = @as(c_int, 1); +pub const __USE_LARGEFILE64 = @as(c_int, 1); +pub const __WORDSIZE = @as(c_int, 64); +pub const __WORDSIZE_TIME64_COMPAT32 = @as(c_int, 1); +pub const __SYSCALL_WORDSIZE = @as(c_int, 64); +pub const __TIMESIZE = __WORDSIZE; +pub const __USE_MISC = @as(c_int, 1); +pub const __USE_ATFILE = @as(c_int, 1); +pub const __USE_DYNAMIC_STACK_SIZE = @as(c_int, 1); +pub const __USE_GNU = @as(c_int, 1); +pub const __USE_FORTIFY_LEVEL = @as(c_int, 0); +pub const __GLIBC_USE_DEPRECATED_GETS = @as(c_int, 0); +pub const __GLIBC_USE_DEPRECATED_SCANF = @as(c_int, 0); +pub const _STDC_PREDEF_H = @as(c_int, 1); +pub const __STDC_IEC_559__ = @as(c_int, 1); +pub const __STDC_IEC_60559_BFP__ = @as(c_long, 201404); +pub const __STDC_IEC_559_COMPLEX__ = @as(c_int, 1); +pub const __STDC_IEC_60559_COMPLEX__ = @as(c_long, 201404); +pub const __STDC_ISO_10646__ = @as(c_long, 201706); +pub const __GNU_LIBRARY__ = @as(c_int, 6); +pub const __GLIBC__ = @as(c_int, 2); +pub inline fn __GLIBC_PREREQ(maj: anytype, min: anytype) @TypeOf(((__GLIBC__ << @as(c_int, 16)) + __GLIBC_MINOR__) >= ((maj << @as(c_int, 16)) + min)) { + return ((__GLIBC__ << @as(c_int, 16)) + __GLIBC_MINOR__) >= ((maj << @as(c_int, 16)) + min); +} +pub const _SYS_CDEFS_H = @as(c_int, 1); +pub inline fn __glibc_has_builtin(name: anytype) @TypeOf(__has_builtin(name)) { + return __has_builtin(name); +} +pub const __LEAF = ""; +pub const __LEAF_ATTR = ""; +pub inline fn __P(args: anytype) @TypeOf(args) { + return args; +} +pub inline fn __PMT(args: anytype) @TypeOf(args) { + return args; +} +pub const __ptr_t = ?*anyopaque; +pub const __BEGIN_DECLS = ""; +pub const __END_DECLS = ""; +pub inline fn __bos(ptr: anytype) @TypeOf(__builtin_object_size(ptr, __USE_FORTIFY_LEVEL > @as(c_int, 1))) { + return __builtin_object_size(ptr, __USE_FORTIFY_LEVEL > @as(c_int, 1)); +} +pub inline fn __bos0(ptr: anytype) @TypeOf(__builtin_object_size(ptr, @as(c_int, 0))) { + return __builtin_object_size(ptr, @as(c_int, 0)); +} +pub inline fn __glibc_objsize0(__o: anytype) @TypeOf(__bos0(__o)) { + return __bos0(__o); +} +pub inline fn __glibc_objsize(__o: anytype) @TypeOf(__bos(__o)) { + return __bos(__o); +} +pub inline fn __glibc_safe_len_cond(__l: anytype, __s: anytype, __osz: anytype) @TypeOf(__l <= @import("std").zig.c_translation.MacroArithmetic.div(__osz, __s)) { + return __l <= @import("std").zig.c_translation.MacroArithmetic.div(__osz, __s); +} +pub inline fn __glibc_safe_or_unknown_len(__l: anytype, __s: anytype, __osz: anytype) @TypeOf(((__builtin_constant_p(__osz) != 0) and (__osz == (__SIZE_TYPE__ - @as(c_int, 1)))) or (((__glibc_unsigned_or_positive(__l) != 0) and (__builtin_constant_p(__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz)) != 0)) and (__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz) != 0))) { + return ((__builtin_constant_p(__osz) != 0) and (__osz == (__SIZE_TYPE__ - @as(c_int, 1)))) or (((__glibc_unsigned_or_positive(__l) != 0) and (__builtin_constant_p(__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz)) != 0)) and (__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz) != 0)); +} +pub inline fn __glibc_unsafe_len(__l: anytype, __s: anytype, __osz: anytype) @TypeOf(((__glibc_unsigned_or_positive(__l) != 0) and (__builtin_constant_p(__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz)) != 0)) and !(__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz) != 0)) { + return ((__glibc_unsigned_or_positive(__l) != 0) and (__builtin_constant_p(__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz)) != 0)) and !(__glibc_safe_len_cond(__SIZE_TYPE__(__l), __s, __osz) != 0); +} +pub const __glibc_c99_flexarr_available = @as(c_int, 1); +pub inline fn __ASMNAME(cname: anytype) @TypeOf(__ASMNAME2(__USER_LABEL_PREFIX__, cname)) { + return __ASMNAME2(__USER_LABEL_PREFIX__, cname); +} +pub inline fn __nonnull(params: anytype) @TypeOf(__attribute_nonnull__(params)) { + return __attribute_nonnull__(params); +} +pub const __wur = ""; +pub const __fortify_function = __extern_always_inline ++ __attribute_artificial__; +pub inline fn __glibc_unlikely(cond: anytype) @TypeOf(__builtin_expect(cond, @as(c_int, 0))) { + return __builtin_expect(cond, @as(c_int, 0)); +} +pub inline fn __glibc_likely(cond: anytype) @TypeOf(__builtin_expect(cond, @as(c_int, 1))) { + return __builtin_expect(cond, @as(c_int, 1)); +} +pub const __attribute_nonstring__ = ""; +pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI = @as(c_int, 0); +pub inline fn __LDBL_REDIR1(name: anytype, proto: anytype, alias: anytype) @TypeOf(name ++ proto) { + _ = @TypeOf(alias); + return name ++ proto; +} +pub inline fn __LDBL_REDIR(name: anytype, proto: anytype) @TypeOf(name ++ proto) { + return name ++ proto; +} +pub inline fn __LDBL_REDIR1_NTH(name: anytype, proto: anytype, alias: anytype) @TypeOf(name ++ proto ++ __THROW) { + _ = @TypeOf(alias); + return name ++ proto ++ __THROW; +} +pub inline fn __LDBL_REDIR_NTH(name: anytype, proto: anytype) @TypeOf(name ++ proto ++ __THROW) { + return name ++ proto ++ __THROW; +} +pub inline fn __REDIRECT_LDBL(name: anytype, proto: anytype, alias: anytype) @TypeOf(__REDIRECT(name, proto, alias)) { + return __REDIRECT(name, proto, alias); +} +pub inline fn __REDIRECT_NTH_LDBL(name: anytype, proto: anytype, alias: anytype) @TypeOf(__REDIRECT_NTH(name, proto, alias)) { + return __REDIRECT_NTH(name, proto, alias); +} +pub const __HAVE_GENERIC_SELECTION = @as(c_int, 1); +pub const __attr_dealloc_free = ""; +pub const __stub___compat_bdflush = ""; +pub const __stub_chflags = ""; +pub const __stub_fchflags = ""; +pub const __stub_gtty = ""; +pub const __stub_revoke = ""; +pub const __stub_setlogin = ""; +pub const __stub_sigreturn = ""; +pub const __stub_stty = ""; +pub const _BITS_ERRNO_H = @as(c_int, 1); +pub const _ASM_GENERIC_ERRNO_H = ""; +pub const _ASM_GENERIC_ERRNO_BASE_H = ""; +pub const EPERM = @as(c_int, 1); +pub const ENOENT = @as(c_int, 2); +pub const ESRCH = @as(c_int, 3); +pub const EINTR = @as(c_int, 4); +pub const EIO = @as(c_int, 5); +pub const ENXIO = @as(c_int, 6); +pub const E2BIG = @as(c_int, 7); +pub const ENOEXEC = @as(c_int, 8); +pub const EBADF = @as(c_int, 9); +pub const ECHILD = @as(c_int, 10); +pub const EAGAIN = @as(c_int, 11); +pub const ENOMEM = @as(c_int, 12); +pub const EACCES = @as(c_int, 13); +pub const EFAULT = @as(c_int, 14); +pub const ENOTBLK = @as(c_int, 15); +pub const EBUSY = @as(c_int, 16); +pub const EEXIST = @as(c_int, 17); +pub const EXDEV = @as(c_int, 18); +pub const ENODEV = @as(c_int, 19); +pub const ENOTDIR = @as(c_int, 20); +pub const EISDIR = @as(c_int, 21); +pub const EINVAL = @as(c_int, 22); +pub const ENFILE = @as(c_int, 23); +pub const EMFILE = @as(c_int, 24); +pub const ENOTTY = @as(c_int, 25); +pub const ETXTBSY = @as(c_int, 26); +pub const EFBIG = @as(c_int, 27); +pub const ENOSPC = @as(c_int, 28); +pub const ESPIPE = @as(c_int, 29); +pub const EROFS = @as(c_int, 30); +pub const EMLINK = @as(c_int, 31); +pub const EPIPE = @as(c_int, 32); +pub const EDOM = @as(c_int, 33); +pub const ERANGE = @as(c_int, 34); +pub const EDEADLK = @as(c_int, 35); +pub const ENAMETOOLONG = @as(c_int, 36); +pub const ENOLCK = @as(c_int, 37); +pub const ENOSYS = @as(c_int, 38); +pub const ENOTEMPTY = @as(c_int, 39); +pub const ELOOP = @as(c_int, 40); +pub const EWOULDBLOCK = EAGAIN; +pub const ENOMSG = @as(c_int, 42); +pub const EIDRM = @as(c_int, 43); +pub const ECHRNG = @as(c_int, 44); +pub const EL2NSYNC = @as(c_int, 45); +pub const EL3HLT = @as(c_int, 46); +pub const EL3RST = @as(c_int, 47); +pub const ELNRNG = @as(c_int, 48); +pub const EUNATCH = @as(c_int, 49); +pub const ENOCSI = @as(c_int, 50); +pub const EL2HLT = @as(c_int, 51); +pub const EBADE = @as(c_int, 52); +pub const EBADR = @as(c_int, 53); +pub const EXFULL = @as(c_int, 54); +pub const ENOANO = @as(c_int, 55); +pub const EBADRQC = @as(c_int, 56); +pub const EBADSLT = @as(c_int, 57); +pub const EDEADLOCK = EDEADLK; +pub const EBFONT = @as(c_int, 59); +pub const ENOSTR = @as(c_int, 60); +pub const ENODATA = @as(c_int, 61); +pub const ETIME = @as(c_int, 62); +pub const ENOSR = @as(c_int, 63); +pub const ENONET = @as(c_int, 64); +pub const ENOPKG = @as(c_int, 65); +pub const EREMOTE = @as(c_int, 66); +pub const ENOLINK = @as(c_int, 67); +pub const EADV = @as(c_int, 68); +pub const ESRMNT = @as(c_int, 69); +pub const ECOMM = @as(c_int, 70); +pub const EPROTO = @as(c_int, 71); +pub const EMULTIHOP = @as(c_int, 72); +pub const EDOTDOT = @as(c_int, 73); +pub const EBADMSG = @as(c_int, 74); +pub const EOVERFLOW = @as(c_int, 75); +pub const ENOTUNIQ = @as(c_int, 76); +pub const EBADFD = @as(c_int, 77); +pub const EREMCHG = @as(c_int, 78); +pub const ELIBACC = @as(c_int, 79); +pub const ELIBBAD = @as(c_int, 80); +pub const ELIBSCN = @as(c_int, 81); +pub const ELIBMAX = @as(c_int, 82); +pub const ELIBEXEC = @as(c_int, 83); +pub const EILSEQ = @as(c_int, 84); +pub const ERESTART = @as(c_int, 85); +pub const ESTRPIPE = @as(c_int, 86); +pub const EUSERS = @as(c_int, 87); +pub const ENOTSOCK = @as(c_int, 88); +pub const EDESTADDRREQ = @as(c_int, 89); +pub const EMSGSIZE = @as(c_int, 90); +pub const EPROTOTYPE = @as(c_int, 91); +pub const ENOPROTOOPT = @as(c_int, 92); +pub const EPROTONOSUPPORT = @as(c_int, 93); +pub const ESOCKTNOSUPPORT = @as(c_int, 94); +pub const EOPNOTSUPP = @as(c_int, 95); +pub const EPFNOSUPPORT = @as(c_int, 96); +pub const EAFNOSUPPORT = @as(c_int, 97); +pub const EADDRINUSE = @as(c_int, 98); +pub const EADDRNOTAVAIL = @as(c_int, 99); +pub const ENETDOWN = @as(c_int, 100); +pub const ENETUNREACH = @as(c_int, 101); +pub const ENETRESET = @as(c_int, 102); +pub const ECONNABORTED = @as(c_int, 103); +pub const ECONNRESET = @as(c_int, 104); +pub const ENOBUFS = @as(c_int, 105); +pub const EISCONN = @as(c_int, 106); +pub const ENOTCONN = @as(c_int, 107); +pub const ESHUTDOWN = @as(c_int, 108); +pub const ETOOMANYREFS = @as(c_int, 109); +pub const ETIMEDOUT = @as(c_int, 110); +pub const ECONNREFUSED = @as(c_int, 111); +pub const EHOSTDOWN = @as(c_int, 112); +pub const EHOSTUNREACH = @as(c_int, 113); +pub const EALREADY = @as(c_int, 114); +pub const EINPROGRESS = @as(c_int, 115); +pub const ESTALE = @as(c_int, 116); +pub const EUCLEAN = @as(c_int, 117); +pub const ENOTNAM = @as(c_int, 118); +pub const ENAVAIL = @as(c_int, 119); +pub const EISNAM = @as(c_int, 120); +pub const EREMOTEIO = @as(c_int, 121); +pub const EDQUOT = @as(c_int, 122); +pub const ENOMEDIUM = @as(c_int, 123); +pub const EMEDIUMTYPE = @as(c_int, 124); +pub const ECANCELED = @as(c_int, 125); +pub const ENOKEY = @as(c_int, 126); +pub const EKEYEXPIRED = @as(c_int, 127); +pub const EKEYREVOKED = @as(c_int, 128); +pub const EKEYREJECTED = @as(c_int, 129); +pub const EOWNERDEAD = @as(c_int, 130); +pub const ENOTRECOVERABLE = @as(c_int, 131); +pub const ERFKILL = @as(c_int, 132); +pub const EHWPOISON = @as(c_int, 133); +pub const ENOTSUP = EOPNOTSUPP; +pub const errno = __errno_location().*; +pub const __error_t_defined = @as(c_int, 1); +pub const __CLANG_LIMITS_H = ""; +pub const _GCC_LIMITS_H_ = ""; +pub const _LIBC_LIMITS_H_ = @as(c_int, 1); +pub const __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION = ""; +pub const __GLIBC_USE_LIB_EXT2 = @as(c_int, 1); +pub const __GLIBC_USE_IEC_60559_BFP_EXT = @as(c_int, 1); +pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X = @as(c_int, 1); +pub const __GLIBC_USE_IEC_60559_EXT = @as(c_int, 1); +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT = @as(c_int, 1); +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X = @as(c_int, 1); +pub const __GLIBC_USE_IEC_60559_TYPES_EXT = @as(c_int, 1); +pub const MB_LEN_MAX = @as(c_int, 16); +pub const LLONG_MIN = -LLONG_MAX - @as(c_int, 1); +pub const LLONG_MAX = __LONG_LONG_MAX__; +pub const ULLONG_MAX = (LLONG_MAX * @as(c_ulonglong, 2)) + @as(c_int, 1); +pub const CHAR_WIDTH = @as(c_int, 8); +pub const SCHAR_WIDTH = @as(c_int, 8); +pub const UCHAR_WIDTH = @as(c_int, 8); +pub const SHRT_WIDTH = @as(c_int, 16); +pub const USHRT_WIDTH = @as(c_int, 16); +pub const INT_WIDTH = @as(c_int, 32); +pub const UINT_WIDTH = @as(c_int, 32); +pub const LONG_WIDTH = __WORDSIZE; +pub const ULONG_WIDTH = __WORDSIZE; +pub const LLONG_WIDTH = @as(c_int, 64); +pub const ULLONG_WIDTH = @as(c_int, 64); +pub const BOOL_MAX = @as(c_int, 1); +pub const BOOL_WIDTH = @as(c_int, 1); +pub const _BITS_POSIX1_LIM_H = @as(c_int, 1); +pub const _POSIX_AIO_LISTIO_MAX = @as(c_int, 2); +pub const _POSIX_AIO_MAX = @as(c_int, 1); +pub const _POSIX_ARG_MAX = @as(c_int, 4096); +pub const _POSIX_CHILD_MAX = @as(c_int, 25); +pub const _POSIX_DELAYTIMER_MAX = @as(c_int, 32); +pub const _POSIX_HOST_NAME_MAX = @as(c_int, 255); +pub const _POSIX_LINK_MAX = @as(c_int, 8); +pub const _POSIX_LOGIN_NAME_MAX = @as(c_int, 9); +pub const _POSIX_MAX_CANON = @as(c_int, 255); +pub const _POSIX_MAX_INPUT = @as(c_int, 255); +pub const _POSIX_MQ_OPEN_MAX = @as(c_int, 8); +pub const _POSIX_MQ_PRIO_MAX = @as(c_int, 32); +pub const _POSIX_NAME_MAX = @as(c_int, 14); +pub const _POSIX_NGROUPS_MAX = @as(c_int, 8); +pub const _POSIX_OPEN_MAX = @as(c_int, 20); +pub const _POSIX_FD_SETSIZE = _POSIX_OPEN_MAX; +pub const _POSIX_PATH_MAX = @as(c_int, 256); +pub const _POSIX_PIPE_BUF = @as(c_int, 512); +pub const _POSIX_RE_DUP_MAX = @as(c_int, 255); +pub const _POSIX_RTSIG_MAX = @as(c_int, 8); +pub const _POSIX_SEM_NSEMS_MAX = @as(c_int, 256); +pub const _POSIX_SEM_VALUE_MAX = @as(c_int, 32767); +pub const _POSIX_SIGQUEUE_MAX = @as(c_int, 32); +pub const _POSIX_SSIZE_MAX = @as(c_int, 32767); +pub const _POSIX_STREAM_MAX = @as(c_int, 8); +pub const _POSIX_SYMLINK_MAX = @as(c_int, 255); +pub const _POSIX_SYMLOOP_MAX = @as(c_int, 8); +pub const _POSIX_TIMER_MAX = @as(c_int, 32); +pub const _POSIX_TTY_NAME_MAX = @as(c_int, 9); +pub const _POSIX_TZNAME_MAX = @as(c_int, 6); +pub const _POSIX_QLIMIT = @as(c_int, 1); +pub const _POSIX_HIWAT = _POSIX_PIPE_BUF; +pub const _POSIX_UIO_MAXIOV = @as(c_int, 16); +pub const _POSIX_CLOCKRES_MIN = @import("std").zig.c_translation.promoteIntLiteral(c_int, 20000000, .decimal); +pub const __undef_NR_OPEN = ""; +pub const __undef_LINK_MAX = ""; +pub const __undef_OPEN_MAX = ""; +pub const __undef_ARG_MAX = ""; +pub const _LINUX_LIMITS_H = ""; +pub const NR_OPEN = @as(c_int, 1024); +pub const NGROUPS_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65536, .decimal); +pub const ARG_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 131072, .decimal); +pub const LINK_MAX = @as(c_int, 127); +pub const MAX_CANON = @as(c_int, 255); +pub const MAX_INPUT = @as(c_int, 255); +pub const NAME_MAX = @as(c_int, 255); +pub const PATH_MAX = @as(c_int, 4096); +pub const PIPE_BUF = @as(c_int, 4096); +pub const XATTR_NAME_MAX = @as(c_int, 255); +pub const XATTR_SIZE_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65536, .decimal); +pub const XATTR_LIST_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65536, .decimal); +pub const RTSIG_MAX = @as(c_int, 32); +pub const _POSIX_THREAD_KEYS_MAX = @as(c_int, 128); +pub const PTHREAD_KEYS_MAX = @as(c_int, 1024); +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS = @as(c_int, 4); +pub const PTHREAD_DESTRUCTOR_ITERATIONS = _POSIX_THREAD_DESTRUCTOR_ITERATIONS; +pub const _POSIX_THREAD_THREADS_MAX = @as(c_int, 64); +pub const AIO_PRIO_DELTA_MAX = @as(c_int, 20); +pub const __SC_THREAD_STACK_MIN_VALUE = @as(c_int, 75); +pub const PTHREAD_STACK_MIN = __sysconf(__SC_THREAD_STACK_MIN_VALUE); +pub const DELAYTIMER_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const TTY_NAME_MAX = @as(c_int, 32); +pub const LOGIN_NAME_MAX = @as(c_int, 256); +pub const HOST_NAME_MAX = @as(c_int, 64); +pub const MQ_PRIO_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 32768, .decimal); +pub const SEM_VALUE_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const SSIZE_MAX = LONG_MAX; +pub const _BITS_POSIX2_LIM_H = @as(c_int, 1); +pub const _POSIX2_BC_BASE_MAX = @as(c_int, 99); +pub const _POSIX2_BC_DIM_MAX = @as(c_int, 2048); +pub const _POSIX2_BC_SCALE_MAX = @as(c_int, 99); +pub const _POSIX2_BC_STRING_MAX = @as(c_int, 1000); +pub const _POSIX2_COLL_WEIGHTS_MAX = @as(c_int, 2); +pub const _POSIX2_EXPR_NEST_MAX = @as(c_int, 32); +pub const _POSIX2_LINE_MAX = @as(c_int, 2048); +pub const _POSIX2_RE_DUP_MAX = @as(c_int, 255); +pub const _POSIX2_CHARCLASS_NAME_MAX = @as(c_int, 14); +pub const BC_BASE_MAX = _POSIX2_BC_BASE_MAX; +pub const BC_DIM_MAX = _POSIX2_BC_DIM_MAX; +pub const BC_SCALE_MAX = _POSIX2_BC_SCALE_MAX; +pub const BC_STRING_MAX = _POSIX2_BC_STRING_MAX; +pub const COLL_WEIGHTS_MAX = @as(c_int, 255); +pub const EXPR_NEST_MAX = _POSIX2_EXPR_NEST_MAX; +pub const LINE_MAX = _POSIX2_LINE_MAX; +pub const CHARCLASS_NAME_MAX = @as(c_int, 2048); +pub const RE_DUP_MAX = @as(c_int, 0x7fff); +pub const _XOPEN_LIM_H = @as(c_int, 1); +pub const _XOPEN_IOV_MAX = _POSIX_UIO_MAXIOV; +pub const _BITS_UIO_LIM_H = @as(c_int, 1); +pub const __IOV_MAX = @as(c_int, 1024); +pub const IOV_MAX = __IOV_MAX; +pub const NL_ARGMAX = _POSIX_ARG_MAX; +pub const NL_LANGMAX = _POSIX2_LINE_MAX; +pub const NL_MSGMAX = INT_MAX; +pub const NL_NMAX = INT_MAX; +pub const NL_SETMAX = INT_MAX; +pub const NL_TEXTMAX = INT_MAX; +pub const NZERO = @as(c_int, 20); +pub const WORD_BIT = @as(c_int, 32); +pub const LONG_BIT = @as(c_int, 64); +pub const SCHAR_MAX = __SCHAR_MAX__; +pub const SHRT_MAX = __SHRT_MAX__; +pub const INT_MAX = __INT_MAX__; +pub const LONG_MAX = __LONG_MAX__; +pub const SCHAR_MIN = -__SCHAR_MAX__ - @as(c_int, 1); +pub const SHRT_MIN = -__SHRT_MAX__ - @as(c_int, 1); +pub const INT_MIN = -__INT_MAX__ - @as(c_int, 1); +pub const LONG_MIN = -__LONG_MAX__ - @as(c_long, 1); +pub const UCHAR_MAX = (__SCHAR_MAX__ * @as(c_int, 2)) + @as(c_int, 1); +pub const USHRT_MAX = (__SHRT_MAX__ * @as(c_int, 2)) + @as(c_int, 1); +pub const UINT_MAX = (__INT_MAX__ * @as(c_uint, 2)) + @as(c_uint, 1); +pub const ULONG_MAX = (__LONG_MAX__ * @as(c_ulong, 2)) + @as(c_ulong, 1); +pub const CHAR_BIT = __CHAR_BIT__; +pub const CHAR_MIN = SCHAR_MIN; +pub const CHAR_MAX = __SCHAR_MAX__; +pub const LONG_LONG_MAX = __LONG_LONG_MAX__; +pub const LONG_LONG_MIN = -__LONG_LONG_MAX__ - @as(c_longlong, 1); +pub const ULONG_LONG_MAX = (__LONG_LONG_MAX__ * @as(c_ulonglong, 2)) + @as(c_ulonglong, 1); +pub const _SIGNAL_H = ""; +pub const _BITS_TYPES_H = @as(c_int, 1); +pub const __S16_TYPE = c_short; +pub const __U16_TYPE = c_ushort; +pub const __S32_TYPE = c_int; +pub const __U32_TYPE = c_uint; +pub const __SLONGWORD_TYPE = c_long; +pub const __ULONGWORD_TYPE = c_ulong; +pub const __SQUAD_TYPE = c_long; +pub const __UQUAD_TYPE = c_ulong; +pub const __SWORD_TYPE = c_long; +pub const __UWORD_TYPE = c_ulong; +pub const __SLONG32_TYPE = c_int; +pub const __ULONG32_TYPE = c_uint; +pub const __S64_TYPE = c_long; +pub const __U64_TYPE = c_ulong; +pub const _BITS_TYPESIZES_H = @as(c_int, 1); +pub const __SYSCALL_SLONG_TYPE = __SLONGWORD_TYPE; +pub const __SYSCALL_ULONG_TYPE = __ULONGWORD_TYPE; +pub const __DEV_T_TYPE = __UQUAD_TYPE; +pub const __UID_T_TYPE = __U32_TYPE; +pub const __GID_T_TYPE = __U32_TYPE; +pub const __INO_T_TYPE = __SYSCALL_ULONG_TYPE; +pub const __INO64_T_TYPE = __UQUAD_TYPE; +pub const __MODE_T_TYPE = __U32_TYPE; +pub const __NLINK_T_TYPE = __SYSCALL_ULONG_TYPE; +pub const __FSWORD_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __OFF_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __OFF64_T_TYPE = __SQUAD_TYPE; +pub const __PID_T_TYPE = __S32_TYPE; +pub const __RLIM_T_TYPE = __SYSCALL_ULONG_TYPE; +pub const __RLIM64_T_TYPE = __UQUAD_TYPE; +pub const __BLKCNT_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __BLKCNT64_T_TYPE = __SQUAD_TYPE; +pub const __FSBLKCNT_T_TYPE = __SYSCALL_ULONG_TYPE; +pub const __FSBLKCNT64_T_TYPE = __UQUAD_TYPE; +pub const __FSFILCNT_T_TYPE = __SYSCALL_ULONG_TYPE; +pub const __FSFILCNT64_T_TYPE = __UQUAD_TYPE; +pub const __ID_T_TYPE = __U32_TYPE; +pub const __CLOCK_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __TIME_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __USECONDS_T_TYPE = __U32_TYPE; +pub const __SUSECONDS_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __SUSECONDS64_T_TYPE = __SQUAD_TYPE; +pub const __DADDR_T_TYPE = __S32_TYPE; +pub const __KEY_T_TYPE = __S32_TYPE; +pub const __CLOCKID_T_TYPE = __S32_TYPE; +pub const __TIMER_T_TYPE = ?*anyopaque; +pub const __BLKSIZE_T_TYPE = __SYSCALL_SLONG_TYPE; +pub const __SSIZE_T_TYPE = __SWORD_TYPE; +pub const __CPU_MASK_TYPE = __SYSCALL_ULONG_TYPE; +pub const __OFF_T_MATCHES_OFF64_T = @as(c_int, 1); +pub const __INO_T_MATCHES_INO64_T = @as(c_int, 1); +pub const __RLIM_T_MATCHES_RLIM64_T = @as(c_int, 1); +pub const __STATFS_MATCHES_STATFS64 = @as(c_int, 1); +pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 = @as(c_int, 1); +pub const __FD_SETSIZE = @as(c_int, 1024); +pub const _BITS_TIME64_H = @as(c_int, 1); +pub const __TIME64_T_TYPE = __TIME_T_TYPE; +pub const _BITS_SIGNUM_GENERIC_H = @as(c_int, 1); +pub const SIG_ERR = @import("std").zig.c_translation.cast(__sighandler_t, -@as(c_int, 1)); +pub const SIG_DFL = @import("std").zig.c_translation.cast(__sighandler_t, @as(c_int, 0)); +pub const SIG_IGN = @import("std").zig.c_translation.cast(__sighandler_t, @as(c_int, 1)); +pub const SIG_HOLD = @import("std").zig.c_translation.cast(__sighandler_t, @as(c_int, 2)); +pub const SIGINT = @as(c_int, 2); +pub const SIGILL = @as(c_int, 4); +pub const SIGABRT = @as(c_int, 6); +pub const SIGFPE = @as(c_int, 8); +pub const SIGSEGV = @as(c_int, 11); +pub const SIGTERM = @as(c_int, 15); +pub const SIGHUP = @as(c_int, 1); +pub const SIGQUIT = @as(c_int, 3); +pub const SIGTRAP = @as(c_int, 5); +pub const SIGKILL = @as(c_int, 9); +pub const SIGPIPE = @as(c_int, 13); +pub const SIGALRM = @as(c_int, 14); +pub const SIGIO = SIGPOLL; +pub const SIGIOT = SIGABRT; +pub const SIGCLD = SIGCHLD; +pub const _BITS_SIGNUM_ARCH_H = @as(c_int, 1); +pub const SIGSTKFLT = @as(c_int, 16); +pub const SIGPWR = @as(c_int, 30); +pub const SIGBUS = @as(c_int, 7); +pub const SIGSYS = @as(c_int, 31); +pub const SIGURG = @as(c_int, 23); +pub const SIGSTOP = @as(c_int, 19); +pub const SIGTSTP = @as(c_int, 20); +pub const SIGCONT = @as(c_int, 18); +pub const SIGCHLD = @as(c_int, 17); +pub const SIGTTIN = @as(c_int, 21); +pub const SIGTTOU = @as(c_int, 22); +pub const SIGPOLL = @as(c_int, 29); +pub const SIGXFSZ = @as(c_int, 25); +pub const SIGXCPU = @as(c_int, 24); +pub const SIGVTALRM = @as(c_int, 26); +pub const SIGPROF = @as(c_int, 27); +pub const SIGUSR1 = @as(c_int, 10); +pub const SIGUSR2 = @as(c_int, 12); +pub const SIGWINCH = @as(c_int, 28); +pub const __SIGRTMIN = @as(c_int, 32); +pub const __SIGRTMAX = @as(c_int, 64); +pub const _NSIG = __SIGRTMAX + @as(c_int, 1); +pub const __sig_atomic_t_defined = @as(c_int, 1); +pub const __sigset_t_defined = @as(c_int, 1); +pub const ____sigset_t_defined = ""; +pub const _SIGSET_NWORDS = @import("std").zig.c_translation.MacroArithmetic.div(@as(c_int, 1024), @as(c_int, 8) * @import("std").zig.c_translation.sizeof(c_ulong)); +pub const __pid_t_defined = ""; +pub const __uid_t_defined = ""; +pub const _STRUCT_TIMESPEC = @as(c_int, 1); +pub const _BITS_ENDIAN_H = @as(c_int, 1); +pub const __LITTLE_ENDIAN = @as(c_int, 1234); +pub const __BIG_ENDIAN = @as(c_int, 4321); +pub const __PDP_ENDIAN = @as(c_int, 3412); +pub const _BITS_ENDIANNESS_H = @as(c_int, 1); +pub const __BYTE_ORDER = __LITTLE_ENDIAN; +pub const __FLOAT_WORD_ORDER = __BYTE_ORDER; +pub inline fn __LONG_LONG_PAIR(HI: anytype, LO: anytype) @TypeOf(HI) { + return blk: { + _ = @TypeOf(LO); + break :blk HI; + }; +} +pub const __time_t_defined = @as(c_int, 1); +pub const __siginfo_t_defined = @as(c_int, 1); +pub const ____sigval_t_defined = ""; +pub const __SI_MAX_SIZE = @as(c_int, 128); +pub const __SI_PAD_SIZE = @import("std").zig.c_translation.MacroArithmetic.div(__SI_MAX_SIZE, @import("std").zig.c_translation.sizeof(c_int)) - @as(c_int, 4); +pub const _BITS_SIGINFO_ARCH_H = @as(c_int, 1); +pub const __SI_ALIGNMENT = ""; +pub const __SI_BAND_TYPE = c_long; +pub const __SI_CLOCK_T = __clock_t; +pub const __SI_ERRNO_THEN_CODE = @as(c_int, 1); +pub const __SI_HAVE_SIGSYS = @as(c_int, 1); +pub const __SI_SIGFAULT_ADDL = ""; +pub const _BITS_SIGINFO_CONSTS_H = @as(c_int, 1); +pub const __SI_ASYNCIO_AFTER_SIGIO = @as(c_int, 1); +pub const _BITS_SIGINFO_CONSTS_ARCH_H = @as(c_int, 1); +pub const __sigval_t_defined = ""; +pub const __sigevent_t_defined = @as(c_int, 1); +pub const __SIGEV_MAX_SIZE = @as(c_int, 64); +pub const __SIGEV_PAD_SIZE = @import("std").zig.c_translation.MacroArithmetic.div(__SIGEV_MAX_SIZE, @import("std").zig.c_translation.sizeof(c_int)) - @as(c_int, 4); +pub const __have_pthread_attr_t = @as(c_int, 1); +pub const _BITS_SIGEVENT_CONSTS_H = @as(c_int, 1); +pub inline fn sigmask(sig: anytype) @TypeOf(__glibc_macro_warning("sigmask is deprecated")(@import("std").zig.c_translation.cast(c_int, @as(c_uint, 1) << (sig - @as(c_int, 1))))) { + return __glibc_macro_warning("sigmask is deprecated")(@import("std").zig.c_translation.cast(c_int, @as(c_uint, 1) << (sig - @as(c_int, 1)))); +} +pub const NSIG = _NSIG; +pub const _BITS_SIGACTION_H = @as(c_int, 1); +pub const SA_NOCLDSTOP = @as(c_int, 1); +pub const SA_NOCLDWAIT = @as(c_int, 2); +pub const SA_SIGINFO = @as(c_int, 4); +pub const SA_ONSTACK = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x08000000, .hexadecimal); +pub const SA_RESTART = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x10000000, .hexadecimal); +pub const SA_NODEFER = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x40000000, .hexadecimal); +pub const SA_RESETHAND = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x80000000, .hexadecimal); +pub const SA_INTERRUPT = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x20000000, .hexadecimal); +pub const SA_NOMASK = SA_NODEFER; +pub const SA_ONESHOT = SA_RESETHAND; +pub const SA_STACK = SA_ONSTACK; +pub const SIG_BLOCK = @as(c_int, 0); +pub const SIG_UNBLOCK = @as(c_int, 1); +pub const SIG_SETMASK = @as(c_int, 2); +pub const _BITS_SIGCONTEXT_H = @as(c_int, 1); +pub const FP_XSTATE_MAGIC1 = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0x46505853, .hexadecimal); +pub const FP_XSTATE_MAGIC2 = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0x46505845, .hexadecimal); +pub const FP_XSTATE_MAGIC2_SIZE = @import("std").zig.c_translation.sizeof(FP_XSTATE_MAGIC2); +pub const __need_size_t = ""; +pub const _SIZE_T = ""; +pub const __stack_t_defined = @as(c_int, 1); +pub const _SYS_UCONTEXT_H = @as(c_int, 1); +pub inline fn __ctx(fld: anytype) @TypeOf(fld) { + return fld; +} +pub const __NGREG = @as(c_int, 23); +pub const NGREG = __NGREG; +pub const _BITS_SIGSTACK_H = @as(c_int, 1); +pub const MINSIGSTKSZ = @as(c_int, 2048); +pub const SIGSTKSZ = @as(c_int, 8192); +pub const _UNISTD_H = @as(c_int, 1); +pub const _POSIX_VERSION = @as(c_long, 200809); +pub const __POSIX2_THIS_VERSION = @as(c_long, 200809); +pub const _POSIX2_VERSION = __POSIX2_THIS_VERSION; +pub const _POSIX2_C_VERSION = __POSIX2_THIS_VERSION; +pub const _POSIX2_C_BIND = __POSIX2_THIS_VERSION; +pub const _POSIX2_C_DEV = __POSIX2_THIS_VERSION; +pub const _POSIX2_SW_DEV = __POSIX2_THIS_VERSION; +pub const _POSIX2_LOCALEDEF = __POSIX2_THIS_VERSION; +pub const _XOPEN_VERSION = @as(c_int, 700); +pub const _XOPEN_XCU_VERSION = @as(c_int, 4); +pub const _XOPEN_XPG2 = @as(c_int, 1); +pub const _XOPEN_XPG3 = @as(c_int, 1); +pub const _XOPEN_XPG4 = @as(c_int, 1); +pub const _XOPEN_UNIX = @as(c_int, 1); +pub const _XOPEN_ENH_I18N = @as(c_int, 1); +pub const _XOPEN_LEGACY = @as(c_int, 1); +pub const _BITS_POSIX_OPT_H = @as(c_int, 1); +pub const _POSIX_JOB_CONTROL = @as(c_int, 1); +pub const _POSIX_SAVED_IDS = @as(c_int, 1); +pub const _POSIX_PRIORITY_SCHEDULING = @as(c_long, 200809); +pub const _POSIX_SYNCHRONIZED_IO = @as(c_long, 200809); +pub const _POSIX_FSYNC = @as(c_long, 200809); +pub const _POSIX_MAPPED_FILES = @as(c_long, 200809); +pub const _POSIX_MEMLOCK = @as(c_long, 200809); +pub const _POSIX_MEMLOCK_RANGE = @as(c_long, 200809); +pub const _POSIX_MEMORY_PROTECTION = @as(c_long, 200809); +pub const _POSIX_CHOWN_RESTRICTED = @as(c_int, 0); +pub const _POSIX_VDISABLE = '\x00'; +pub const _POSIX_NO_TRUNC = @as(c_int, 1); +pub const _XOPEN_REALTIME = @as(c_int, 1); +pub const _XOPEN_REALTIME_THREADS = @as(c_int, 1); +pub const _XOPEN_SHM = @as(c_int, 1); +pub const _POSIX_THREADS = @as(c_long, 200809); +pub const _POSIX_REENTRANT_FUNCTIONS = @as(c_int, 1); +pub const _POSIX_THREAD_SAFE_FUNCTIONS = @as(c_long, 200809); +pub const _POSIX_THREAD_PRIORITY_SCHEDULING = @as(c_long, 200809); +pub const _POSIX_THREAD_ATTR_STACKSIZE = @as(c_long, 200809); +pub const _POSIX_THREAD_ATTR_STACKADDR = @as(c_long, 200809); +pub const _POSIX_THREAD_PRIO_INHERIT = @as(c_long, 200809); +pub const _POSIX_THREAD_PRIO_PROTECT = @as(c_long, 200809); +pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT = @as(c_long, 200809); +pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT = -@as(c_int, 1); +pub const _POSIX_SEMAPHORES = @as(c_long, 200809); +pub const _POSIX_REALTIME_SIGNALS = @as(c_long, 200809); +pub const _POSIX_ASYNCHRONOUS_IO = @as(c_long, 200809); +pub const _POSIX_ASYNC_IO = @as(c_int, 1); +pub const _LFS_ASYNCHRONOUS_IO = @as(c_int, 1); +pub const _POSIX_PRIORITIZED_IO = @as(c_long, 200809); +pub const _LFS64_ASYNCHRONOUS_IO = @as(c_int, 1); +pub const _LFS_LARGEFILE = @as(c_int, 1); +pub const _LFS64_LARGEFILE = @as(c_int, 1); +pub const _LFS64_STDIO = @as(c_int, 1); +pub const _POSIX_SHARED_MEMORY_OBJECTS = @as(c_long, 200809); +pub const _POSIX_CPUTIME = @as(c_int, 0); +pub const _POSIX_THREAD_CPUTIME = @as(c_int, 0); +pub const _POSIX_REGEXP = @as(c_int, 1); +pub const _POSIX_READER_WRITER_LOCKS = @as(c_long, 200809); +pub const _POSIX_SHELL = @as(c_int, 1); +pub const _POSIX_TIMEOUTS = @as(c_long, 200809); +pub const _POSIX_SPIN_LOCKS = @as(c_long, 200809); +pub const _POSIX_SPAWN = @as(c_long, 200809); +pub const _POSIX_TIMERS = @as(c_long, 200809); +pub const _POSIX_BARRIERS = @as(c_long, 200809); +pub const _POSIX_MESSAGE_PASSING = @as(c_long, 200809); +pub const _POSIX_THREAD_PROCESS_SHARED = @as(c_long, 200809); +pub const _POSIX_MONOTONIC_CLOCK = @as(c_int, 0); +pub const _POSIX_CLOCK_SELECTION = @as(c_long, 200809); +pub const _POSIX_ADVISORY_INFO = @as(c_long, 200809); +pub const _POSIX_IPV6 = @as(c_long, 200809); +pub const _POSIX_RAW_SOCKETS = @as(c_long, 200809); +pub const _POSIX2_CHAR_TERM = @as(c_long, 200809); +pub const _POSIX_SPORADIC_SERVER = -@as(c_int, 1); +pub const _POSIX_THREAD_SPORADIC_SERVER = -@as(c_int, 1); +pub const _POSIX_TRACE = -@as(c_int, 1); +pub const _POSIX_TRACE_EVENT_FILTER = -@as(c_int, 1); +pub const _POSIX_TRACE_INHERIT = -@as(c_int, 1); +pub const _POSIX_TRACE_LOG = -@as(c_int, 1); +pub const _POSIX_TYPED_MEMORY_OBJECTS = -@as(c_int, 1); +pub const _POSIX_V7_LPBIG_OFFBIG = -@as(c_int, 1); +pub const _POSIX_V6_LPBIG_OFFBIG = -@as(c_int, 1); +pub const _XBS5_LPBIG_OFFBIG = -@as(c_int, 1); +pub const _POSIX_V7_LP64_OFF64 = @as(c_int, 1); +pub const _POSIX_V6_LP64_OFF64 = @as(c_int, 1); +pub const _XBS5_LP64_OFF64 = @as(c_int, 1); +pub const __ILP32_OFF32_CFLAGS = "-m32"; +pub const __ILP32_OFF32_LDFLAGS = "-m32"; +pub const __ILP32_OFFBIG_CFLAGS = "-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"; +pub const __ILP32_OFFBIG_LDFLAGS = "-m32"; +pub const __LP64_OFF64_CFLAGS = "-m64"; +pub const __LP64_OFF64_LDFLAGS = "-m64"; +pub const STDIN_FILENO = @as(c_int, 0); +pub const STDOUT_FILENO = @as(c_int, 1); +pub const STDERR_FILENO = @as(c_int, 2); +pub const __ssize_t_defined = ""; +pub const __need_NULL = ""; +pub const NULL = @import("std").zig.c_translation.cast(?*anyopaque, @as(c_int, 0)); +pub const __gid_t_defined = ""; +pub const __off_t_defined = ""; +pub const __off64_t_defined = ""; +pub const __useconds_t_defined = ""; +pub const __intptr_t_defined = ""; +pub const __socklen_t_defined = ""; +pub const R_OK = @as(c_int, 4); +pub const W_OK = @as(c_int, 2); +pub const X_OK = @as(c_int, 1); +pub const F_OK = @as(c_int, 0); +pub const SEEK_SET = @as(c_int, 0); +pub const SEEK_CUR = @as(c_int, 1); +pub const SEEK_END = @as(c_int, 2); +pub const SEEK_DATA = @as(c_int, 3); +pub const SEEK_HOLE = @as(c_int, 4); +pub const L_SET = SEEK_SET; +pub const L_INCR = SEEK_CUR; +pub const L_XTND = SEEK_END; +pub const _SC_PAGE_SIZE = _SC_PAGESIZE; +pub const _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = _CS_V6_WIDTH_RESTRICTED_ENVS; +pub const _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS = _CS_V5_WIDTH_RESTRICTED_ENVS; +pub const _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS = _CS_V7_WIDTH_RESTRICTED_ENVS; +pub const _GETOPT_POSIX_H = @as(c_int, 1); +pub const _GETOPT_CORE_H = @as(c_int, 1); +pub const F_ULOCK = @as(c_int, 0); +pub const F_LOCK = @as(c_int, 1); +pub const F_TLOCK = @as(c_int, 2); +pub const F_TEST = @as(c_int, 3); +pub const _LINUX_CLOSE_RANGE_H = ""; +pub const CLOSE_RANGE_UNSHARE = @as(c_uint, 1) << @as(c_int, 1); +pub const CLOSE_RANGE_CLOEXEC = @as(c_uint, 1) << @as(c_int, 2); +pub const _BITS_SS_FLAGS_H = @as(c_int, 1); +pub const __sigstack_defined = @as(c_int, 1); +pub const _BITS_PTHREADTYPES_COMMON_H = @as(c_int, 1); +pub const _THREAD_SHARED_TYPES_H = @as(c_int, 1); +pub const _BITS_PTHREADTYPES_ARCH_H = @as(c_int, 1); +pub const __SIZEOF_PTHREAD_MUTEX_T = @as(c_int, 40); +pub const __SIZEOF_PTHREAD_ATTR_T = @as(c_int, 56); +pub const __SIZEOF_PTHREAD_RWLOCK_T = @as(c_int, 56); +pub const __SIZEOF_PTHREAD_BARRIER_T = @as(c_int, 32); +pub const __SIZEOF_PTHREAD_MUTEXATTR_T = @as(c_int, 4); +pub const __SIZEOF_PTHREAD_COND_T = @as(c_int, 48); +pub const __SIZEOF_PTHREAD_CONDATTR_T = @as(c_int, 4); +pub const __SIZEOF_PTHREAD_RWLOCKATTR_T = @as(c_int, 8); +pub const __SIZEOF_PTHREAD_BARRIERATTR_T = @as(c_int, 4); +pub const __LOCK_ALIGNMENT = ""; +pub const __ONCE_ALIGNMENT = ""; +pub const _BITS_ATOMIC_WIDE_COUNTER_H = ""; +pub const _THREAD_MUTEX_INTERNAL_H = @as(c_int, 1); +pub const __PTHREAD_MUTEX_HAVE_PREV = @as(c_int, 1); +pub const _RWLOCK_INTERNAL_H = ""; +pub inline fn __PTHREAD_RWLOCK_INITIALIZER(__flags: anytype) @TypeOf(__flags) { + return blk: { + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @as(c_int, 0); + _ = @TypeOf(__PTHREAD_RWLOCK_ELISION_EXTRA); + _ = @as(c_int, 0); + break :blk __flags; + }; +} +pub const _BITS_SIGTHREAD_H = @as(c_int, 1); +pub const SIGRTMIN = __libc_current_sigrtmin(); +pub const SIGRTMAX = __libc_current_sigrtmax(); +pub const __STDARG_H = ""; +pub const _VA_LIST = ""; +pub const __GNUC_VA_LIST = @as(c_int, 1); +pub const __CLANG_STDINT_H = ""; +pub const _STDINT_H = @as(c_int, 1); +pub const _BITS_WCHAR_H = @as(c_int, 1); +pub const __WCHAR_MAX = __WCHAR_MAX__; +pub const __WCHAR_MIN = -__WCHAR_MAX - @as(c_int, 1); +pub const _BITS_STDINT_INTN_H = @as(c_int, 1); +pub const _BITS_STDINT_UINTN_H = @as(c_int, 1); +pub const __INT64_C = @import("std").zig.c_translation.Macros.L_SUFFIX; +pub const __UINT64_C = @import("std").zig.c_translation.Macros.UL_SUFFIX; +pub const INT8_MIN = -@as(c_int, 128); +pub const INT16_MIN = -@as(c_int, 32767) - @as(c_int, 1); +pub const INT32_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal) - @as(c_int, 1); +pub const INT64_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); +pub const INT8_MAX = @as(c_int, 127); +pub const INT16_MAX = @as(c_int, 32767); +pub const INT32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const INT64_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); +pub const UINT8_MAX = @as(c_int, 255); +pub const UINT16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); +pub const UINT32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub const UINT64_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); +pub const INT_LEAST8_MIN = -@as(c_int, 128); +pub const INT_LEAST16_MIN = -@as(c_int, 32767) - @as(c_int, 1); +pub const INT_LEAST32_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal) - @as(c_int, 1); +pub const INT_LEAST64_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); +pub const INT_LEAST8_MAX = @as(c_int, 127); +pub const INT_LEAST16_MAX = @as(c_int, 32767); +pub const INT_LEAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const INT_LEAST64_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); +pub const UINT_LEAST8_MAX = @as(c_int, 255); +pub const UINT_LEAST16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); +pub const UINT_LEAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub const UINT_LEAST64_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); +pub const INT_FAST8_MIN = -@as(c_int, 128); +pub const INT_FAST16_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); +pub const INT_FAST32_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); +pub const INT_FAST64_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); +pub const INT_FAST8_MAX = @as(c_int, 127); +pub const INT_FAST16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const INT_FAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const INT_FAST64_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); +pub const UINT_FAST8_MAX = @as(c_int, 255); +pub const UINT_FAST16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const UINT_FAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const UINT_FAST64_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); +pub const INTPTR_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); +pub const INTPTR_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const UINTPTR_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const INTMAX_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); +pub const INTMAX_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); +pub const UINTMAX_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); +pub const PTRDIFF_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); +pub const PTRDIFF_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); +pub const SIG_ATOMIC_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal) - @as(c_int, 1); +pub const SIG_ATOMIC_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const SIZE_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); +pub const WCHAR_MIN = __WCHAR_MIN; +pub const WCHAR_MAX = __WCHAR_MAX; +pub const WINT_MIN = @as(c_uint, 0); +pub const WINT_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); +pub inline fn INT8_C(c: anytype) @TypeOf(c) { + return c; +} +pub inline fn INT16_C(c: anytype) @TypeOf(c) { + return c; +} +pub inline fn INT32_C(c: anytype) @TypeOf(c) { + return c; +} +pub const INT64_C = @import("std").zig.c_translation.Macros.L_SUFFIX; +pub inline fn UINT8_C(c: anytype) @TypeOf(c) { + return c; +} +pub inline fn UINT16_C(c: anytype) @TypeOf(c) { + return c; +} +pub const UINT32_C = @import("std").zig.c_translation.Macros.U_SUFFIX; +pub const UINT64_C = @import("std").zig.c_translation.Macros.UL_SUFFIX; +pub const INTMAX_C = @import("std").zig.c_translation.Macros.L_SUFFIX; +pub const UINTMAX_C = @import("std").zig.c_translation.Macros.UL_SUFFIX; +pub const INT8_WIDTH = @as(c_int, 8); +pub const UINT8_WIDTH = @as(c_int, 8); +pub const INT16_WIDTH = @as(c_int, 16); +pub const UINT16_WIDTH = @as(c_int, 16); +pub const INT32_WIDTH = @as(c_int, 32); +pub const UINT32_WIDTH = @as(c_int, 32); +pub const INT64_WIDTH = @as(c_int, 64); +pub const UINT64_WIDTH = @as(c_int, 64); +pub const INT_LEAST8_WIDTH = @as(c_int, 8); +pub const UINT_LEAST8_WIDTH = @as(c_int, 8); +pub const INT_LEAST16_WIDTH = @as(c_int, 16); +pub const UINT_LEAST16_WIDTH = @as(c_int, 16); +pub const INT_LEAST32_WIDTH = @as(c_int, 32); +pub const UINT_LEAST32_WIDTH = @as(c_int, 32); +pub const INT_LEAST64_WIDTH = @as(c_int, 64); +pub const UINT_LEAST64_WIDTH = @as(c_int, 64); +pub const INT_FAST8_WIDTH = @as(c_int, 8); +pub const UINT_FAST8_WIDTH = @as(c_int, 8); +pub const INT_FAST16_WIDTH = __WORDSIZE; +pub const UINT_FAST16_WIDTH = __WORDSIZE; +pub const INT_FAST32_WIDTH = __WORDSIZE; +pub const UINT_FAST32_WIDTH = __WORDSIZE; +pub const INT_FAST64_WIDTH = @as(c_int, 64); +pub const UINT_FAST64_WIDTH = @as(c_int, 64); +pub const INTPTR_WIDTH = __WORDSIZE; +pub const UINTPTR_WIDTH = __WORDSIZE; +pub const INTMAX_WIDTH = @as(c_int, 64); +pub const UINTMAX_WIDTH = @as(c_int, 64); +pub const PTRDIFF_WIDTH = __WORDSIZE; +pub const SIG_ATOMIC_WIDTH = @as(c_int, 32); +pub const SIZE_WIDTH = __WORDSIZE; +pub const WCHAR_WIDTH = @as(c_int, 32); +pub const WINT_WIDTH = @as(c_int, 32); +pub const _STDIO_H = @as(c_int, 1); +pub const __need___va_list = ""; +pub const _____fpos_t_defined = @as(c_int, 1); +pub const ____mbstate_t_defined = @as(c_int, 1); +pub const _____fpos64_t_defined = @as(c_int, 1); +pub const ____FILE_defined = @as(c_int, 1); +pub const __FILE_defined = @as(c_int, 1); +pub const __struct_FILE_defined = @as(c_int, 1); +pub const _IO_EOF_SEEN = @as(c_int, 0x0010); +pub inline fn __feof_unlocked_body(_fp: anytype) @TypeOf((_fp.*._flags & _IO_EOF_SEEN) != @as(c_int, 0)) { + return (_fp.*._flags & _IO_EOF_SEEN) != @as(c_int, 0); +} +pub const _IO_ERR_SEEN = @as(c_int, 0x0020); +pub inline fn __ferror_unlocked_body(_fp: anytype) @TypeOf((_fp.*._flags & _IO_ERR_SEEN) != @as(c_int, 0)) { + return (_fp.*._flags & _IO_ERR_SEEN) != @as(c_int, 0); +} +pub const _IO_USER_LOCK = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x8000, .hexadecimal); +pub const __cookie_io_functions_t_defined = @as(c_int, 1); +pub const _VA_LIST_DEFINED = ""; +pub const _IOFBF = @as(c_int, 0); +pub const _IOLBF = @as(c_int, 1); +pub const _IONBF = @as(c_int, 2); +pub const BUFSIZ = @as(c_int, 8192); +pub const EOF = -@as(c_int, 1); +pub const P_tmpdir = "/tmp"; +pub const _BITS_STDIO_LIM_H = @as(c_int, 1); +pub const L_tmpnam = @as(c_int, 20); +pub const TMP_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 238328, .decimal); +pub const FILENAME_MAX = @as(c_int, 4096); +pub const L_ctermid = @as(c_int, 9); +pub const L_cuserid = @as(c_int, 9); +pub const FOPEN_MAX = @as(c_int, 16); +pub const _PRINTF_NAN_LEN_MAX = @as(c_int, 4); +pub const RENAME_NOREPLACE = @as(c_int, 1) << @as(c_int, 0); +pub const RENAME_EXCHANGE = @as(c_int, 1) << @as(c_int, 1); +pub const RENAME_WHITEOUT = @as(c_int, 1) << @as(c_int, 2); +pub const __attr_dealloc_fclose = __attr_dealloc(fclose, @as(c_int, 1)); +pub const _BITS_FLOATN_H = ""; +pub const __HAVE_FLOAT128 = @as(c_int, 0); +pub const __HAVE_DISTINCT_FLOAT128 = @as(c_int, 0); +pub const __HAVE_FLOAT64X = @as(c_int, 1); +pub const __HAVE_FLOAT64X_LONG_DOUBLE = @as(c_int, 1); +pub const _BITS_FLOATN_COMMON_H = ""; +pub const __HAVE_FLOAT16 = @as(c_int, 0); +pub const __HAVE_FLOAT32 = @as(c_int, 1); +pub const __HAVE_FLOAT64 = @as(c_int, 1); +pub const __HAVE_FLOAT32X = @as(c_int, 1); +pub const __HAVE_FLOAT128X = @as(c_int, 0); +pub const __HAVE_DISTINCT_FLOAT16 = __HAVE_FLOAT16; +pub const __HAVE_DISTINCT_FLOAT32 = @as(c_int, 0); +pub const __HAVE_DISTINCT_FLOAT64 = @as(c_int, 0); +pub const __HAVE_DISTINCT_FLOAT32X = @as(c_int, 0); +pub const __HAVE_DISTINCT_FLOAT64X = @as(c_int, 0); +pub const __HAVE_DISTINCT_FLOAT128X = __HAVE_FLOAT128X; +pub const __HAVE_FLOAT128_UNLIKE_LDBL = (__HAVE_DISTINCT_FLOAT128 != 0) and (__LDBL_MANT_DIG__ != @as(c_int, 113)); +pub const __HAVE_FLOATN_NOT_TYPEDEF = @as(c_int, 0); +pub const __f32 = @import("std").zig.c_translation.Macros.F_SUFFIX; +pub inline fn __f64(x: anytype) @TypeOf(x) { + return x; +} +pub inline fn __f32x(x: anytype) @TypeOf(x) { + return x; +} +pub const __f64x = @import("std").zig.c_translation.Macros.L_SUFFIX; +pub inline fn __builtin_huge_valf32() @TypeOf(__builtin_huge_valf()) { + return __builtin_huge_valf(); +} +pub inline fn __builtin_inff32() @TypeOf(__builtin_inff()) { + return __builtin_inff(); +} +pub inline fn __builtin_nanf32(x: anytype) @TypeOf(__builtin_nanf(x)) { + return __builtin_nanf(x); +} +pub const __need_wchar_t = ""; +pub const _WCHAR_T = ""; +pub const _STDLIB_H = @as(c_int, 1); +pub const WNOHANG = @as(c_int, 1); +pub const WUNTRACED = @as(c_int, 2); +pub const WSTOPPED = @as(c_int, 2); +pub const WEXITED = @as(c_int, 4); +pub const WCONTINUED = @as(c_int, 8); +pub const WNOWAIT = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x01000000, .hexadecimal); +pub const __WNOTHREAD = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x20000000, .hexadecimal); +pub const __WALL = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x40000000, .hexadecimal); +pub const __WCLONE = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x80000000, .hexadecimal); +pub inline fn __WEXITSTATUS(status: anytype) @TypeOf((status & @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xff00, .hexadecimal)) >> @as(c_int, 8)) { + return (status & @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xff00, .hexadecimal)) >> @as(c_int, 8); +} +pub inline fn __WTERMSIG(status: anytype) @TypeOf(status & @as(c_int, 0x7f)) { + return status & @as(c_int, 0x7f); +} +pub inline fn __WSTOPSIG(status: anytype) @TypeOf(__WEXITSTATUS(status)) { + return __WEXITSTATUS(status); +} +pub inline fn __WIFEXITED(status: anytype) @TypeOf(__WTERMSIG(status) == @as(c_int, 0)) { + return __WTERMSIG(status) == @as(c_int, 0); +} +pub inline fn __WIFSIGNALED(status: anytype) @TypeOf((@import("std").zig.c_translation.cast(i8, (status & @as(c_int, 0x7f)) + @as(c_int, 1)) >> @as(c_int, 1)) > @as(c_int, 0)) { + return (@import("std").zig.c_translation.cast(i8, (status & @as(c_int, 0x7f)) + @as(c_int, 1)) >> @as(c_int, 1)) > @as(c_int, 0); +} +pub inline fn __WIFSTOPPED(status: anytype) @TypeOf((status & @as(c_int, 0xff)) == @as(c_int, 0x7f)) { + return (status & @as(c_int, 0xff)) == @as(c_int, 0x7f); +} +pub inline fn __WIFCONTINUED(status: anytype) @TypeOf(status == __W_CONTINUED) { + return status == __W_CONTINUED; +} +pub inline fn __WCOREDUMP(status: anytype) @TypeOf(status & __WCOREFLAG) { + return status & __WCOREFLAG; +} +pub inline fn __W_EXITCODE(ret: anytype, sig: anytype) @TypeOf((ret << @as(c_int, 8)) | sig) { + return (ret << @as(c_int, 8)) | sig; +} +pub inline fn __W_STOPCODE(sig: anytype) @TypeOf((sig << @as(c_int, 8)) | @as(c_int, 0x7f)) { + return (sig << @as(c_int, 8)) | @as(c_int, 0x7f); +} +pub const __W_CONTINUED = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xffff, .hexadecimal); +pub const __WCOREFLAG = @as(c_int, 0x80); +pub inline fn WEXITSTATUS(status: anytype) @TypeOf(__WEXITSTATUS(status)) { + return __WEXITSTATUS(status); +} +pub inline fn WTERMSIG(status: anytype) @TypeOf(__WTERMSIG(status)) { + return __WTERMSIG(status); +} +pub inline fn WSTOPSIG(status: anytype) @TypeOf(__WSTOPSIG(status)) { + return __WSTOPSIG(status); +} +pub inline fn WIFEXITED(status: anytype) @TypeOf(__WIFEXITED(status)) { + return __WIFEXITED(status); +} +pub inline fn WIFSIGNALED(status: anytype) @TypeOf(__WIFSIGNALED(status)) { + return __WIFSIGNALED(status); +} +pub inline fn WIFSTOPPED(status: anytype) @TypeOf(__WIFSTOPPED(status)) { + return __WIFSTOPPED(status); +} +pub inline fn WIFCONTINUED(status: anytype) @TypeOf(__WIFCONTINUED(status)) { + return __WIFCONTINUED(status); +} +pub const __ldiv_t_defined = @as(c_int, 1); +pub const __lldiv_t_defined = @as(c_int, 1); +pub const RAND_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); +pub const EXIT_FAILURE = @as(c_int, 1); +pub const EXIT_SUCCESS = @as(c_int, 0); +pub const MB_CUR_MAX = __ctype_get_mb_cur_max(); +pub const _BITS_TYPES_LOCALE_T_H = @as(c_int, 1); +pub const _BITS_TYPES___LOCALE_T_H = @as(c_int, 1); +pub const _SYS_TYPES_H = @as(c_int, 1); +pub const __u_char_defined = ""; +pub const __ino_t_defined = ""; +pub const __ino64_t_defined = ""; +pub const __dev_t_defined = ""; +pub const __mode_t_defined = ""; +pub const __nlink_t_defined = ""; +pub const __id_t_defined = ""; +pub const __daddr_t_defined = ""; +pub const __key_t_defined = ""; +pub const __clock_t_defined = @as(c_int, 1); +pub const __clockid_t_defined = @as(c_int, 1); +pub const __timer_t_defined = @as(c_int, 1); +pub const __suseconds_t_defined = ""; +pub const __BIT_TYPES_DEFINED__ = @as(c_int, 1); +pub const _ENDIAN_H = @as(c_int, 1); +pub const LITTLE_ENDIAN = __LITTLE_ENDIAN; +pub const BIG_ENDIAN = __BIG_ENDIAN; +pub const PDP_ENDIAN = __PDP_ENDIAN; +pub const BYTE_ORDER = __BYTE_ORDER; +pub const _BITS_BYTESWAP_H = @as(c_int, 1); +pub inline fn __bswap_constant_16(x: anytype) __uint16_t { + return @import("std").zig.c_translation.cast(__uint16_t, ((x >> @as(c_int, 8)) & @as(c_int, 0xff)) | ((x & @as(c_int, 0xff)) << @as(c_int, 8))); +} +pub inline fn __bswap_constant_32(x: anytype) @TypeOf(((((x & @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0xff000000, .hexadecimal)) >> @as(c_int, 24)) | ((x & @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0x00ff0000, .hexadecimal)) >> @as(c_int, 8))) | ((x & @as(c_uint, 0x0000ff00)) << @as(c_int, 8))) | ((x & @as(c_uint, 0x000000ff)) << @as(c_int, 24))) { + return ((((x & @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0xff000000, .hexadecimal)) >> @as(c_int, 24)) | ((x & @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0x00ff0000, .hexadecimal)) >> @as(c_int, 8))) | ((x & @as(c_uint, 0x0000ff00)) << @as(c_int, 8))) | ((x & @as(c_uint, 0x000000ff)) << @as(c_int, 24)); +} +pub inline fn __bswap_constant_64(x: anytype) @TypeOf(((((((((x & @as(c_ulonglong, 0xff00000000000000)) >> @as(c_int, 56)) | ((x & @as(c_ulonglong, 0x00ff000000000000)) >> @as(c_int, 40))) | ((x & @as(c_ulonglong, 0x0000ff0000000000)) >> @as(c_int, 24))) | ((x & @as(c_ulonglong, 0x000000ff00000000)) >> @as(c_int, 8))) | ((x & @as(c_ulonglong, 0x00000000ff000000)) << @as(c_int, 8))) | ((x & @as(c_ulonglong, 0x0000000000ff0000)) << @as(c_int, 24))) | ((x & @as(c_ulonglong, 0x000000000000ff00)) << @as(c_int, 40))) | ((x & @as(c_ulonglong, 0x00000000000000ff)) << @as(c_int, 56))) { + return ((((((((x & @as(c_ulonglong, 0xff00000000000000)) >> @as(c_int, 56)) | ((x & @as(c_ulonglong, 0x00ff000000000000)) >> @as(c_int, 40))) | ((x & @as(c_ulonglong, 0x0000ff0000000000)) >> @as(c_int, 24))) | ((x & @as(c_ulonglong, 0x000000ff00000000)) >> @as(c_int, 8))) | ((x & @as(c_ulonglong, 0x00000000ff000000)) << @as(c_int, 8))) | ((x & @as(c_ulonglong, 0x0000000000ff0000)) << @as(c_int, 24))) | ((x & @as(c_ulonglong, 0x000000000000ff00)) << @as(c_int, 40))) | ((x & @as(c_ulonglong, 0x00000000000000ff)) << @as(c_int, 56)); +} +pub const _BITS_UINTN_IDENTITY_H = @as(c_int, 1); +pub inline fn htobe16(x: anytype) @TypeOf(__bswap_16(x)) { + return __bswap_16(x); +} +pub inline fn htole16(x: anytype) @TypeOf(__uint16_identity(x)) { + return __uint16_identity(x); +} +pub inline fn be16toh(x: anytype) @TypeOf(__bswap_16(x)) { + return __bswap_16(x); +} +pub inline fn le16toh(x: anytype) @TypeOf(__uint16_identity(x)) { + return __uint16_identity(x); +} +pub inline fn htobe32(x: anytype) @TypeOf(__bswap_32(x)) { + return __bswap_32(x); +} +pub inline fn htole32(x: anytype) @TypeOf(__uint32_identity(x)) { + return __uint32_identity(x); +} +pub inline fn be32toh(x: anytype) @TypeOf(__bswap_32(x)) { + return __bswap_32(x); +} +pub inline fn le32toh(x: anytype) @TypeOf(__uint32_identity(x)) { + return __uint32_identity(x); +} +pub inline fn htobe64(x: anytype) @TypeOf(__bswap_64(x)) { + return __bswap_64(x); +} +pub inline fn htole64(x: anytype) @TypeOf(__uint64_identity(x)) { + return __uint64_identity(x); +} +pub inline fn be64toh(x: anytype) @TypeOf(__bswap_64(x)) { + return __bswap_64(x); +} +pub inline fn le64toh(x: anytype) @TypeOf(__uint64_identity(x)) { + return __uint64_identity(x); +} +pub const _SYS_SELECT_H = @as(c_int, 1); +pub inline fn __FD_ISSET(d: anytype, s: anytype) @TypeOf((__FDS_BITS(s)[@intCast(usize, __FD_ELT(d))] & __FD_MASK(d)) != @as(c_int, 0)) { + return (__FDS_BITS(s)[@intCast(usize, __FD_ELT(d))] & __FD_MASK(d)) != @as(c_int, 0); +} +pub const __timeval_defined = @as(c_int, 1); +pub const __NFDBITS = @as(c_int, 8) * @import("std").zig.c_translation.cast(c_int, @import("std").zig.c_translation.sizeof(__fd_mask)); +pub inline fn __FD_ELT(d: anytype) @TypeOf(@import("std").zig.c_translation.MacroArithmetic.div(d, __NFDBITS)) { + return @import("std").zig.c_translation.MacroArithmetic.div(d, __NFDBITS); +} +pub inline fn __FD_MASK(d: anytype) __fd_mask { + return @import("std").zig.c_translation.cast(__fd_mask, @as(c_ulong, 1) << @import("std").zig.c_translation.MacroArithmetic.rem(d, __NFDBITS)); +} +pub inline fn __FDS_BITS(set: anytype) @TypeOf(set.*.fds_bits) { + return set.*.fds_bits; +} +pub const FD_SETSIZE = __FD_SETSIZE; +pub const NFDBITS = __NFDBITS; +pub inline fn FD_SET(fd: anytype, fdsetp: anytype) @TypeOf(__FD_SET(fd, fdsetp)) { + return __FD_SET(fd, fdsetp); +} +pub inline fn FD_CLR(fd: anytype, fdsetp: anytype) @TypeOf(__FD_CLR(fd, fdsetp)) { + return __FD_CLR(fd, fdsetp); +} +pub inline fn FD_ISSET(fd: anytype, fdsetp: anytype) @TypeOf(__FD_ISSET(fd, fdsetp)) { + return __FD_ISSET(fd, fdsetp); +} +pub inline fn FD_ZERO(fdsetp: anytype) @TypeOf(__FD_ZERO(fdsetp)) { + return __FD_ZERO(fdsetp); +} +pub const __blksize_t_defined = ""; +pub const __blkcnt_t_defined = ""; +pub const __fsblkcnt_t_defined = ""; +pub const __fsfilcnt_t_defined = ""; +pub const _ALLOCA_H = @as(c_int, 1); +pub const __COMPAR_FN_T = ""; +pub const _STRING_H = @as(c_int, 1); +pub const _STRINGS_H = @as(c_int, 1); +pub const _TIME_H = @as(c_int, 1); +pub const _BITS_TIME_H = @as(c_int, 1); +pub const CLOCKS_PER_SEC = @import("std").zig.c_translation.cast(__clock_t, @import("std").zig.c_translation.promoteIntLiteral(c_int, 1000000, .decimal)); +pub const CLOCK_REALTIME = @as(c_int, 0); +pub const CLOCK_MONOTONIC = @as(c_int, 1); +pub const CLOCK_PROCESS_CPUTIME_ID = @as(c_int, 2); +pub const CLOCK_THREAD_CPUTIME_ID = @as(c_int, 3); +pub const CLOCK_MONOTONIC_RAW = @as(c_int, 4); +pub const CLOCK_REALTIME_COARSE = @as(c_int, 5); +pub const CLOCK_MONOTONIC_COARSE = @as(c_int, 6); +pub const CLOCK_BOOTTIME = @as(c_int, 7); +pub const CLOCK_REALTIME_ALARM = @as(c_int, 8); +pub const CLOCK_BOOTTIME_ALARM = @as(c_int, 9); +pub const CLOCK_TAI = @as(c_int, 11); +pub const TIMER_ABSTIME = @as(c_int, 1); +pub const _BITS_TIMEX_H = @as(c_int, 1); +pub const ADJ_OFFSET = @as(c_int, 0x0001); +pub const ADJ_FREQUENCY = @as(c_int, 0x0002); +pub const ADJ_MAXERROR = @as(c_int, 0x0004); +pub const ADJ_ESTERROR = @as(c_int, 0x0008); +pub const ADJ_STATUS = @as(c_int, 0x0010); +pub const ADJ_TIMECONST = @as(c_int, 0x0020); +pub const ADJ_TAI = @as(c_int, 0x0080); +pub const ADJ_SETOFFSET = @as(c_int, 0x0100); +pub const ADJ_MICRO = @as(c_int, 0x1000); +pub const ADJ_NANO = @as(c_int, 0x2000); +pub const ADJ_TICK = @as(c_int, 0x4000); +pub const ADJ_OFFSET_SINGLESHOT = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x8001, .hexadecimal); +pub const ADJ_OFFSET_SS_READ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xa001, .hexadecimal); +pub const MOD_OFFSET = ADJ_OFFSET; +pub const MOD_FREQUENCY = ADJ_FREQUENCY; +pub const MOD_MAXERROR = ADJ_MAXERROR; +pub const MOD_ESTERROR = ADJ_ESTERROR; +pub const MOD_STATUS = ADJ_STATUS; +pub const MOD_TIMECONST = ADJ_TIMECONST; +pub const MOD_CLKB = ADJ_TICK; +pub const MOD_CLKA = ADJ_OFFSET_SINGLESHOT; +pub const MOD_TAI = ADJ_TAI; +pub const MOD_MICRO = ADJ_MICRO; +pub const MOD_NANO = ADJ_NANO; +pub const STA_PLL = @as(c_int, 0x0001); +pub const STA_PPSFREQ = @as(c_int, 0x0002); +pub const STA_PPSTIME = @as(c_int, 0x0004); +pub const STA_FLL = @as(c_int, 0x0008); +pub const STA_INS = @as(c_int, 0x0010); +pub const STA_DEL = @as(c_int, 0x0020); +pub const STA_UNSYNC = @as(c_int, 0x0040); +pub const STA_FREQHOLD = @as(c_int, 0x0080); +pub const STA_PPSSIGNAL = @as(c_int, 0x0100); +pub const STA_PPSJITTER = @as(c_int, 0x0200); +pub const STA_PPSWANDER = @as(c_int, 0x0400); +pub const STA_PPSERROR = @as(c_int, 0x0800); +pub const STA_CLOCKERR = @as(c_int, 0x1000); +pub const STA_NANO = @as(c_int, 0x2000); +pub const STA_MODE = @as(c_int, 0x4000); +pub const STA_CLK = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x8000, .hexadecimal); +pub const STA_RONLY = ((((((STA_PPSSIGNAL | STA_PPSJITTER) | STA_PPSWANDER) | STA_PPSERROR) | STA_CLOCKERR) | STA_NANO) | STA_MODE) | STA_CLK; +pub const __struct_tm_defined = @as(c_int, 1); +pub const __itimerspec_defined = @as(c_int, 1); +pub const TIME_UTC = @as(c_int, 1); +pub inline fn __isleap(year: anytype) @TypeOf((@import("std").zig.c_translation.MacroArithmetic.rem(year, @as(c_int, 4)) == @as(c_int, 0)) and ((@import("std").zig.c_translation.MacroArithmetic.rem(year, @as(c_int, 100)) != @as(c_int, 0)) or (@import("std").zig.c_translation.MacroArithmetic.rem(year, @as(c_int, 400)) == @as(c_int, 0)))) { + return (@import("std").zig.c_translation.MacroArithmetic.rem(year, @as(c_int, 4)) == @as(c_int, 0)) and ((@import("std").zig.c_translation.MacroArithmetic.rem(year, @as(c_int, 100)) != @as(c_int, 0)) or (@import("std").zig.c_translation.MacroArithmetic.rem(year, @as(c_int, 400)) == @as(c_int, 0))); +} +pub const _FCNTL_H = @as(c_int, 1); +pub const __O_LARGEFILE = @as(c_int, 0); +pub const F_GETLK64 = @as(c_int, 5); +pub const F_SETLK64 = @as(c_int, 6); +pub const F_SETLKW64 = @as(c_int, 7); +pub const __iovec_defined = @as(c_int, 1); +pub const O_ACCMODE = @as(c_int, 0o003); +pub const O_RDONLY = @as(c_int, 0o0); +pub const O_WRONLY = @as(c_int, 0o1); +pub const O_RDWR = @as(c_int, 0o2); +pub const O_CREAT = @as(c_int, 0o100); +pub const O_EXCL = @as(c_int, 0o200); +pub const O_NOCTTY = @as(c_int, 0o400); +pub const O_TRUNC = @as(c_int, 0o1000); +pub const O_APPEND = @as(c_int, 0o2000); +pub const O_NONBLOCK = @as(c_int, 0o4000); +pub const O_NDELAY = O_NONBLOCK; +pub const O_SYNC = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o4010000, .octal); +pub const O_FSYNC = O_SYNC; +pub const O_ASYNC = @as(c_int, 0o20000); +pub const __O_DIRECTORY = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o200000, .octal); +pub const __O_NOFOLLOW = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o400000, .octal); +pub const __O_CLOEXEC = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o2000000, .octal); +pub const __O_DIRECT = @as(c_int, 0o40000); +pub const __O_NOATIME = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o1000000, .octal); +pub const __O_PATH = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o10000000, .octal); +pub const __O_DSYNC = @as(c_int, 0o10000); +pub const __O_TMPFILE = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o20000000, .octal) | __O_DIRECTORY; +pub const F_GETLK = @as(c_int, 5); +pub const F_SETLK = @as(c_int, 6); +pub const F_SETLKW = @as(c_int, 7); +pub const F_OFD_GETLK = @as(c_int, 36); +pub const F_OFD_SETLK = @as(c_int, 37); +pub const F_OFD_SETLKW = @as(c_int, 38); +pub const O_LARGEFILE = __O_LARGEFILE; +pub const O_DIRECTORY = __O_DIRECTORY; +pub const O_NOFOLLOW = __O_NOFOLLOW; +pub const O_CLOEXEC = __O_CLOEXEC; +pub const O_DIRECT = __O_DIRECT; +pub const O_NOATIME = __O_NOATIME; +pub const O_PATH = __O_PATH; +pub const O_TMPFILE = __O_TMPFILE; +pub const O_DSYNC = __O_DSYNC; +pub const O_RSYNC = O_SYNC; +pub const F_DUPFD = @as(c_int, 0); +pub const F_GETFD = @as(c_int, 1); +pub const F_SETFD = @as(c_int, 2); +pub const F_GETFL = @as(c_int, 3); +pub const F_SETFL = @as(c_int, 4); +pub const __F_SETOWN = @as(c_int, 8); +pub const __F_GETOWN = @as(c_int, 9); +pub const F_SETOWN = __F_SETOWN; +pub const F_GETOWN = __F_GETOWN; +pub const __F_SETSIG = @as(c_int, 10); +pub const __F_GETSIG = @as(c_int, 11); +pub const __F_SETOWN_EX = @as(c_int, 15); +pub const __F_GETOWN_EX = @as(c_int, 16); +pub const F_SETSIG = __F_SETSIG; +pub const F_GETSIG = __F_GETSIG; +pub const F_SETOWN_EX = __F_SETOWN_EX; +pub const F_GETOWN_EX = __F_GETOWN_EX; +pub const F_SETLEASE = @as(c_int, 1024); +pub const F_GETLEASE = @as(c_int, 1025); +pub const F_NOTIFY = @as(c_int, 1026); +pub const F_SETPIPE_SZ = @as(c_int, 1031); +pub const F_GETPIPE_SZ = @as(c_int, 1032); +pub const F_ADD_SEALS = @as(c_int, 1033); +pub const F_GET_SEALS = @as(c_int, 1034); +pub const F_GET_RW_HINT = @as(c_int, 1035); +pub const F_SET_RW_HINT = @as(c_int, 1036); +pub const F_GET_FILE_RW_HINT = @as(c_int, 1037); +pub const F_SET_FILE_RW_HINT = @as(c_int, 1038); +pub const F_DUPFD_CLOEXEC = @as(c_int, 1030); +pub const FD_CLOEXEC = @as(c_int, 1); +pub const F_RDLCK = @as(c_int, 0); +pub const F_WRLCK = @as(c_int, 1); +pub const F_UNLCK = @as(c_int, 2); +pub const F_EXLCK = @as(c_int, 4); +pub const F_SHLCK = @as(c_int, 8); +pub const LOCK_SH = @as(c_int, 1); +pub const LOCK_EX = @as(c_int, 2); +pub const LOCK_NB = @as(c_int, 4); +pub const LOCK_UN = @as(c_int, 8); +pub const LOCK_MAND = @as(c_int, 32); +pub const LOCK_READ = @as(c_int, 64); +pub const LOCK_WRITE = @as(c_int, 128); +pub const LOCK_RW = @as(c_int, 192); +pub const DN_ACCESS = @as(c_int, 0x00000001); +pub const DN_MODIFY = @as(c_int, 0x00000002); +pub const DN_CREATE = @as(c_int, 0x00000004); +pub const DN_DELETE = @as(c_int, 0x00000008); +pub const DN_RENAME = @as(c_int, 0x00000010); +pub const DN_ATTRIB = @as(c_int, 0x00000020); +pub const DN_MULTISHOT = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x80000000, .hexadecimal); +pub const F_SEAL_SEAL = @as(c_int, 0x0001); +pub const F_SEAL_SHRINK = @as(c_int, 0x0002); +pub const F_SEAL_GROW = @as(c_int, 0x0004); +pub const F_SEAL_WRITE = @as(c_int, 0x0008); +pub const F_SEAL_FUTURE_WRITE = @as(c_int, 0x0010); +pub const RWH_WRITE_LIFE_NOT_SET = @as(c_int, 0); +pub const RWF_WRITE_LIFE_NOT_SET = RWH_WRITE_LIFE_NOT_SET; +pub const RWH_WRITE_LIFE_NONE = @as(c_int, 1); +pub const RWH_WRITE_LIFE_SHORT = @as(c_int, 2); +pub const RWH_WRITE_LIFE_MEDIUM = @as(c_int, 3); +pub const RWH_WRITE_LIFE_LONG = @as(c_int, 4); +pub const RWH_WRITE_LIFE_EXTREME = @as(c_int, 5); +pub const FAPPEND = O_APPEND; +pub const FFSYNC = O_FSYNC; +pub const FASYNC = O_ASYNC; +pub const FNONBLOCK = O_NONBLOCK; +pub const FNDELAY = O_NDELAY; +pub const __POSIX_FADV_DONTNEED = @as(c_int, 4); +pub const __POSIX_FADV_NOREUSE = @as(c_int, 5); +pub const POSIX_FADV_NORMAL = @as(c_int, 0); +pub const POSIX_FADV_RANDOM = @as(c_int, 1); +pub const POSIX_FADV_SEQUENTIAL = @as(c_int, 2); +pub const POSIX_FADV_WILLNEED = @as(c_int, 3); +pub const POSIX_FADV_DONTNEED = __POSIX_FADV_DONTNEED; +pub const POSIX_FADV_NOREUSE = __POSIX_FADV_NOREUSE; +pub const SYNC_FILE_RANGE_WAIT_BEFORE = @as(c_int, 1); +pub const SYNC_FILE_RANGE_WRITE = @as(c_int, 2); +pub const SYNC_FILE_RANGE_WAIT_AFTER = @as(c_int, 4); +pub const SYNC_FILE_RANGE_WRITE_AND_WAIT = (SYNC_FILE_RANGE_WRITE | SYNC_FILE_RANGE_WAIT_BEFORE) | SYNC_FILE_RANGE_WAIT_AFTER; +pub const SPLICE_F_MOVE = @as(c_int, 1); +pub const SPLICE_F_NONBLOCK = @as(c_int, 2); +pub const SPLICE_F_MORE = @as(c_int, 4); +pub const SPLICE_F_GIFT = @as(c_int, 8); +pub const _FALLOC_H_ = ""; +pub const FALLOC_FL_KEEP_SIZE = @as(c_int, 0x01); +pub const FALLOC_FL_PUNCH_HOLE = @as(c_int, 0x02); +pub const FALLOC_FL_NO_HIDE_STALE = @as(c_int, 0x04); +pub const FALLOC_FL_COLLAPSE_RANGE = @as(c_int, 0x08); +pub const FALLOC_FL_ZERO_RANGE = @as(c_int, 0x10); +pub const FALLOC_FL_INSERT_RANGE = @as(c_int, 0x20); +pub const FALLOC_FL_UNSHARE_RANGE = @as(c_int, 0x40); +pub const MAX_HANDLE_SZ = @as(c_int, 128); +pub inline fn __OPEN_NEEDS_MODE(oflag: anytype) @TypeOf(((oflag & O_CREAT) != @as(c_int, 0)) or ((oflag & __O_TMPFILE) == __O_TMPFILE)) { + return ((oflag & O_CREAT) != @as(c_int, 0)) or ((oflag & __O_TMPFILE) == __O_TMPFILE); +} +pub const _BITS_STAT_H = @as(c_int, 1); +pub const _BITS_STRUCT_STAT_H = @as(c_int, 1); +pub const _STATBUF_ST_BLKSIZE = ""; +pub const _STATBUF_ST_RDEV = ""; +pub const _STATBUF_ST_NSEC = ""; +pub const __S_IFMT = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o170000, .octal); +pub const __S_IFDIR = @as(c_int, 0o040000); +pub const __S_IFCHR = @as(c_int, 0o020000); +pub const __S_IFBLK = @as(c_int, 0o060000); +pub const __S_IFREG = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o100000, .octal); +pub const __S_IFIFO = @as(c_int, 0o010000); +pub const __S_IFLNK = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o120000, .octal); +pub const __S_IFSOCK = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0o140000, .octal); +pub inline fn __S_TYPEISMQ(buf: anytype) @TypeOf(buf.*.st_mode - buf.*.st_mode) { + return buf.*.st_mode - buf.*.st_mode; +} +pub inline fn __S_TYPEISSEM(buf: anytype) @TypeOf(buf.*.st_mode - buf.*.st_mode) { + return buf.*.st_mode - buf.*.st_mode; +} +pub inline fn __S_TYPEISSHM(buf: anytype) @TypeOf(buf.*.st_mode - buf.*.st_mode) { + return buf.*.st_mode - buf.*.st_mode; +} +pub const __S_ISUID = @as(c_int, 0o4000); +pub const __S_ISGID = @as(c_int, 0o2000); +pub const __S_ISVTX = @as(c_int, 0o1000); +pub const __S_IREAD = @as(c_int, 0o400); +pub const __S_IWRITE = @as(c_int, 0o200); +pub const __S_IEXEC = @as(c_int, 0o100); +pub const UTIME_NOW = (@as(c_long, 1) << @as(c_int, 30)) - @as(c_long, 1); +pub const UTIME_OMIT = (@as(c_long, 1) << @as(c_int, 30)) - @as(c_long, 2); +pub const S_IFMT = __S_IFMT; +pub const S_IFDIR = __S_IFDIR; +pub const S_IFCHR = __S_IFCHR; +pub const S_IFBLK = __S_IFBLK; +pub const S_IFREG = __S_IFREG; +pub const S_IFIFO = __S_IFIFO; +pub const S_IFLNK = __S_IFLNK; +pub const S_IFSOCK = __S_IFSOCK; +pub const S_ISUID = __S_ISUID; +pub const S_ISGID = __S_ISGID; +pub const S_ISVTX = __S_ISVTX; +pub const S_IRUSR = __S_IREAD; +pub const S_IWUSR = __S_IWRITE; +pub const S_IXUSR = __S_IEXEC; +pub const S_IRWXU = (__S_IREAD | __S_IWRITE) | __S_IEXEC; +pub const S_IRGRP = S_IRUSR >> @as(c_int, 3); +pub const S_IWGRP = S_IWUSR >> @as(c_int, 3); +pub const S_IXGRP = S_IXUSR >> @as(c_int, 3); +pub const S_IRWXG = S_IRWXU >> @as(c_int, 3); +pub const S_IROTH = S_IRGRP >> @as(c_int, 3); +pub const S_IWOTH = S_IWGRP >> @as(c_int, 3); +pub const S_IXOTH = S_IXGRP >> @as(c_int, 3); +pub const S_IRWXO = S_IRWXG >> @as(c_int, 3); +pub const AT_FDCWD = -@as(c_int, 100); +pub const AT_SYMLINK_NOFOLLOW = @as(c_int, 0x100); +pub const AT_REMOVEDIR = @as(c_int, 0x200); +pub const AT_SYMLINK_FOLLOW = @as(c_int, 0x400); +pub const AT_NO_AUTOMOUNT = @as(c_int, 0x800); +pub const AT_EMPTY_PATH = @as(c_int, 0x1000); +pub const AT_STATX_SYNC_TYPE = @as(c_int, 0x6000); +pub const AT_STATX_SYNC_AS_STAT = @as(c_int, 0x0000); +pub const AT_STATX_FORCE_SYNC = @as(c_int, 0x2000); +pub const AT_STATX_DONT_SYNC = @as(c_int, 0x4000); +pub const AT_RECURSIVE = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x8000, .hexadecimal); +pub const AT_EACCESS = @as(c_int, 0x200); +pub const _SYS_STAT_H = @as(c_int, 1); +pub inline fn __S_ISTYPE(mode: anytype, mask: anytype) @TypeOf((mode & __S_IFMT) == mask) { + return (mode & __S_IFMT) == mask; +} +pub inline fn S_ISDIR(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFDIR)) { + return __S_ISTYPE(mode, __S_IFDIR); +} +pub inline fn S_ISCHR(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFCHR)) { + return __S_ISTYPE(mode, __S_IFCHR); +} +pub inline fn S_ISBLK(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFBLK)) { + return __S_ISTYPE(mode, __S_IFBLK); +} +pub inline fn S_ISREG(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFREG)) { + return __S_ISTYPE(mode, __S_IFREG); +} +pub inline fn S_ISFIFO(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFIFO)) { + return __S_ISTYPE(mode, __S_IFIFO); +} +pub inline fn S_ISLNK(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFLNK)) { + return __S_ISTYPE(mode, __S_IFLNK); +} +pub inline fn S_ISSOCK(mode: anytype) @TypeOf(__S_ISTYPE(mode, __S_IFSOCK)) { + return __S_ISTYPE(mode, __S_IFSOCK); +} +pub inline fn S_TYPEISMQ(buf: anytype) @TypeOf(__S_TYPEISMQ(buf)) { + return __S_TYPEISMQ(buf); +} +pub inline fn S_TYPEISSEM(buf: anytype) @TypeOf(__S_TYPEISSEM(buf)) { + return __S_TYPEISSEM(buf); +} +pub inline fn S_TYPEISSHM(buf: anytype) @TypeOf(__S_TYPEISSHM(buf)) { + return __S_TYPEISSHM(buf); +} +pub const S_IREAD = S_IRUSR; +pub const S_IWRITE = S_IWUSR; +pub const S_IEXEC = S_IXUSR; +pub const ACCESSPERMS = (S_IRWXU | S_IRWXG) | S_IRWXO; +pub const ALLPERMS = ((((S_ISUID | S_ISGID) | S_ISVTX) | S_IRWXU) | S_IRWXG) | S_IRWXO; +pub const DEFFILEMODE = ((((S_IRUSR | S_IWUSR) | S_IRGRP) | S_IWGRP) | S_IROTH) | S_IWOTH; +pub const S_BLKSIZE = @as(c_int, 512); +pub const _LINUX_STAT_H = ""; +pub const _LINUX_TYPES_H = ""; +pub const _ASM_GENERIC_TYPES_H = ""; +pub const _ASM_GENERIC_INT_LL64_H = ""; +pub const __ASM_X86_BITSPERLONG_H = ""; +pub const __BITS_PER_LONG = @as(c_int, 64); +pub const __ASM_GENERIC_BITS_PER_LONG = ""; +pub const _LINUX_POSIX_TYPES_H = ""; +pub const _LINUX_STDDEF_H = ""; +pub const _ASM_X86_POSIX_TYPES_64_H = ""; +pub const __ASM_GENERIC_POSIX_TYPES_H = ""; +pub const __bitwise = ""; +pub const __bitwise__ = __bitwise; +pub const STATX_TYPE = @as(c_uint, 0x00000001); +pub const STATX_MODE = @as(c_uint, 0x00000002); +pub const STATX_NLINK = @as(c_uint, 0x00000004); +pub const STATX_UID = @as(c_uint, 0x00000008); +pub const STATX_GID = @as(c_uint, 0x00000010); +pub const STATX_ATIME = @as(c_uint, 0x00000020); +pub const STATX_MTIME = @as(c_uint, 0x00000040); +pub const STATX_CTIME = @as(c_uint, 0x00000080); +pub const STATX_INO = @as(c_uint, 0x00000100); +pub const STATX_SIZE = @as(c_uint, 0x00000200); +pub const STATX_BLOCKS = @as(c_uint, 0x00000400); +pub const STATX_BASIC_STATS = @as(c_uint, 0x000007ff); +pub const STATX_BTIME = @as(c_uint, 0x00000800); +pub const STATX_MNT_ID = @as(c_uint, 0x00001000); +pub const STATX__RESERVED = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 0x80000000, .hexadecimal); +pub const STATX_ALL = @as(c_uint, 0x00000fff); +pub const STATX_ATTR_COMPRESSED = @as(c_int, 0x00000004); +pub const STATX_ATTR_IMMUTABLE = @as(c_int, 0x00000010); +pub const STATX_ATTR_APPEND = @as(c_int, 0x00000020); +pub const STATX_ATTR_NODUMP = @as(c_int, 0x00000040); +pub const STATX_ATTR_ENCRYPTED = @as(c_int, 0x00000800); +pub const STATX_ATTR_AUTOMOUNT = @as(c_int, 0x00001000); +pub const STATX_ATTR_MOUNT_ROOT = @as(c_int, 0x00002000); +pub const STATX_ATTR_VERITY = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x00100000, .hexadecimal); +pub const STATX_ATTR_DAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x00200000, .hexadecimal); +pub const __statx_timestamp_defined = @as(c_int, 1); +pub const __statx_defined = @as(c_int, 1); +pub const _SYS_TIME_H = @as(c_int, 1); +pub inline fn timerisset(tvp: anytype) @TypeOf((tvp.*.tv_sec != 0) or (tvp.*.tv_usec != 0)) { + return (tvp.*.tv_sec != 0) or (tvp.*.tv_usec != 0); +} +pub inline fn deprecated(reason: anytype) @TypeOf(deprecated) { + _ = @TypeOf(reason); + return deprecated; +} +pub const FIO_STR_INFO_TYPE = ""; +pub const FIO_LOG_LEVEL_NONE = @as(c_int, 0); +pub const FIO_LOG_LEVEL_FATAL = @as(c_int, 1); +pub const FIO_LOG_LEVEL_ERROR = @as(c_int, 2); +pub const FIO_LOG_LEVEL_WARNING = @as(c_int, 3); +pub const FIO_LOG_LEVEL_INFO = @as(c_int, 4); +pub const FIO_LOG_LEVEL_DEBUG = @as(c_int, 5); +pub const FIO_LOG____LENGTH_ON_STACK = FIO_LOG_LENGTH_LIMIT; +pub const FIO_LOG____LENGTH_BORDER = FIO_LOG_LENGTH_LIMIT - @as(c_int, 32); +pub inline fn fio_uuid2fd(uuid: anytype) c_int { + return @import("std").zig.c_translation.cast(c_int, @import("std").zig.c_translation.cast(usize, uuid) >> @as(c_int, 8)); +} +pub const FIO_PUBSUB_CLUSTER = @import("std").zig.c_translation.cast([*c]fio_pubsub_engine_s, @as(c_int, 1)); +pub const FIO_PUBSUB_PROCESS = @import("std").zig.c_translation.cast([*c]fio_pubsub_engine_s, @as(c_int, 2)); +pub const FIO_PUBSUB_SIBLINGS = @import("std").zig.c_translation.cast([*c]fio_pubsub_engine_s, @as(c_int, 3)); +pub const FIO_PUBSUB_ROOT = @import("std").zig.c_translation.cast([*c]fio_pubsub_engine_s, @as(c_int, 4)); +pub const pubsub_publish = fio_publish; +pub const FIO_LOCK_INIT = @as(c_int, 0); +pub inline fn fio_bswap16(i: anytype) @TypeOf(__builtin_bswap16(@import("std").zig.c_translation.cast(u16, i))) { + return __builtin_bswap16(@import("std").zig.c_translation.cast(u16, i)); +} +pub inline fn fio_bswap32(i: anytype) @TypeOf(__builtin_bswap32(@import("std").zig.c_translation.cast(u32, i))) { + return __builtin_bswap32(@import("std").zig.c_translation.cast(u32, i)); +} +pub inline fn fio_bswap64(i: anytype) @TypeOf(__builtin_bswap64(@import("std").zig.c_translation.cast(u64, i))) { + return __builtin_bswap64(@import("std").zig.c_translation.cast(u64, i)); +} +pub inline fn fio_lton16(i: anytype) @TypeOf(fio_bswap16(i)) { + return fio_bswap16(i); +} +pub inline fn fio_lton32(i: anytype) @TypeOf(fio_bswap32(i)) { + return fio_bswap32(i); +} +pub inline fn fio_lton64(i: anytype) @TypeOf(fio_bswap64(i)) { + return fio_bswap64(i); +} +pub inline fn fio_ntol16(i: anytype) @TypeOf(fio_bswap16(i)) { + return fio_bswap16(i); +} +pub inline fn fio_ntol32(i: anytype) @TypeOf(fio_bswap32(i)) { + return fio_bswap32(i); +} +pub inline fn fio_ntol64(i: anytype) @TypeOf(fio_bswap64(i)) { + return fio_bswap64(i); +} +pub inline fn fio_lrot32(i: anytype, bits: anytype) @TypeOf((@import("std").zig.c_translation.cast(u32, i) << (bits & @as(c_ulong, 31))) | (@import("std").zig.c_translation.cast(u32, i) >> (-bits & @as(c_ulong, 31)))) { + return (@import("std").zig.c_translation.cast(u32, i) << (bits & @as(c_ulong, 31))) | (@import("std").zig.c_translation.cast(u32, i) >> (-bits & @as(c_ulong, 31))); +} +pub inline fn fio_rrot32(i: anytype, bits: anytype) @TypeOf((@import("std").zig.c_translation.cast(u32, i) >> (bits & @as(c_ulong, 31))) | (@import("std").zig.c_translation.cast(u32, i) << (-bits & @as(c_ulong, 31)))) { + return (@import("std").zig.c_translation.cast(u32, i) >> (bits & @as(c_ulong, 31))) | (@import("std").zig.c_translation.cast(u32, i) << (-bits & @as(c_ulong, 31))); +} +pub inline fn fio_lrot64(i: anytype, bits: anytype) @TypeOf((@import("std").zig.c_translation.cast(u64, i) << (bits & @as(c_ulong, 63))) | (@import("std").zig.c_translation.cast(u64, i) >> (-bits & @as(c_ulong, 63)))) { + return (@import("std").zig.c_translation.cast(u64, i) << (bits & @as(c_ulong, 63))) | (@import("std").zig.c_translation.cast(u64, i) >> (-bits & @as(c_ulong, 63))); +} +pub inline fn fio_rrot64(i: anytype, bits: anytype) @TypeOf((@import("std").zig.c_translation.cast(u64, i) >> (bits & @as(c_ulong, 63))) | (@import("std").zig.c_translation.cast(u64, i) << (-bits & @as(c_ulong, 63)))) { + return (@import("std").zig.c_translation.cast(u64, i) >> (bits & @as(c_ulong, 63))) | (@import("std").zig.c_translation.cast(u64, i) << (-bits & @as(c_ulong, 63))); +} +pub inline fn fio_str2u16(c: anytype) u16 { + return @import("std").zig.c_translation.cast(u16, (@import("std").zig.c_translation.cast(u16, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 0))]) << @as(c_int, 8)) | @import("std").zig.c_translation.cast(u16, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 1))])); +} +pub inline fn fio_str2u32(c: anytype) u32 { + return @import("std").zig.c_translation.cast(u32, (((@import("std").zig.c_translation.cast(u32, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 0))]) << @as(c_int, 24)) | (@import("std").zig.c_translation.cast(u32, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 1))]) << @as(c_int, 16))) | (@import("std").zig.c_translation.cast(u32, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 2))]) << @as(c_int, 8))) | @import("std").zig.c_translation.cast(u32, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 3))])); +} +pub inline fn fio_str2u64(c: anytype) u64 { + return @import("std").zig.c_translation.cast(u64, (((((((@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 0))]) << @as(c_int, 56)) | (@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 1))]) << @as(c_int, 48))) | (@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 2))]) << @as(c_int, 40))) | (@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 3))]) << @as(c_int, 32))) | (@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 4))]) << @as(c_int, 24))) | (@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 5))]) << @as(c_int, 16))) | (@import("std").zig.c_translation.cast(u64, @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 6))]) << @as(c_int, 8))) | @import("std").zig.c_translation.cast([*c]u8, c)[@intCast(usize, @as(c_int, 7))]); +} +pub const FIO_HASH_SECRET_SEED64_1 = @import("std").zig.c_translation.cast(usize, &fio_hash_secret_marker1); +pub const FIO_HASH_SECRET_SEED64_2 = @import("std").zig.c_translation.cast(usize, &fio_hash_secret_marker2); +pub inline fn FIO_HASH_FN(data: anytype, length: anytype, key1: anytype, key2: anytype) @TypeOf(fio_siphash13(data, length, @import("std").zig.c_translation.cast(u64, key1), @import("std").zig.c_translation.cast(u64, key2))) { + return fio_siphash13(data, length, @import("std").zig.c_translation.cast(u64, key1), @import("std").zig.c_translation.cast(u64, key2)); +} +pub const RISKY_PRIME_0 = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xFBBA3FA15B22113B, .hexadecimal); +pub const RISKY_PRIME_1 = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xAB137439982B86C9, .hexadecimal); +pub inline fn fio_siphash(data: anytype, length: anytype, k1: anytype, k2: anytype) @TypeOf(fio_siphash13(data, length, k1, k2)) { + return fio_siphash13(data, length, k1, k2); +} +pub const FIO_MEMORY_BLOCK_SIZE_LOG = @as(c_int, 15); +pub const FIO_MEMORY_BLOCK_SIZE = @import("std").zig.c_translation.cast(usize, @as(c_int, 1)) << FIO_MEMORY_BLOCK_SIZE_LOG; +pub const FIO_MEMORY_BLOCK_ALLOC_LIMIT = FIO_MEMORY_BLOCK_SIZE >> @as(c_int, 1); +pub inline fn FIO_MALLOC(size: anytype) @TypeOf(fio_malloc(size)) { + return fio_malloc(size); +} +pub inline fn FIO_CALLOC(size: anytype, units: anytype) @TypeOf(fio_calloc(size, units)) { + return fio_calloc(size, units); +} +pub inline fn FIO_REALLOC(ptr: anytype, new_length: anytype, existing_data_length: anytype) @TypeOf(fio_realloc2(ptr, new_length, existing_data_length)) { + return fio_realloc2(ptr, new_length, existing_data_length); +} +pub const FIO_FREE = fio_free; +pub const H_FIOBJ_H = ""; +pub const FIOBJ_ARRAY_H = ""; +pub const H_FIOBJECT_H = ""; +pub const H_FIO_SIPHASH_H = ""; +pub inline fn FIOBJ_TYPE(obj: anytype) @TypeOf(fiobj_type(obj)) { + return fiobj_type(obj); +} +pub inline fn FIOBJ_TYPE_IS(obj: anytype, @"type": anytype) @TypeOf(fiobj_type_is(obj, @"type")) { + return fiobj_type_is(obj, @"type"); +} +pub inline fn FIOBJ_IS_NULL(obj: anytype) @TypeOf(!(obj != 0) or (obj == @import("std").zig.c_translation.cast(FIOBJ, FIOBJ_T_NULL))) { + return !(obj != 0) or (obj == @import("std").zig.c_translation.cast(FIOBJ, FIOBJ_T_NULL)); +} +pub const FIOBJ_INVALID = @as(c_int, 0); +pub const FIOBJECT_NUMBER_FLAG = @as(c_int, 1); +pub const FIOBJECT_PRIMITIVE_FLAG = @as(c_int, 6); +pub const FIOBJECT_STRING_FLAG = @as(c_int, 2); +pub const FIOBJECT_HASH_FLAG = @as(c_int, 4); +pub const FIOBJECT_TYPE_MASK = ~@import("std").zig.c_translation.cast(usize, @as(c_int, 7)); +pub const FIOBJ_NUMBER_SIGN_MASK = ~@import("std").zig.c_translation.cast(usize, @as(c_int, 0)) >> @as(c_int, 1); +pub const FIOBJ_NUMBER_SIGN_BIT = ~FIOBJ_NUMBER_SIGN_MASK; +pub const FIOBJ_NUMBER_SIGN_EXCLUDE_BIT = FIOBJ_NUMBER_SIGN_BIT >> @as(c_int, 1); +pub inline fn FIOBJ_IS_ALLOCATED(o: anytype) @TypeOf(((o != 0) and ((o & FIOBJECT_NUMBER_FLAG) == @as(c_int, 0))) and ((o & FIOBJECT_PRIMITIVE_FLAG) != FIOBJECT_PRIMITIVE_FLAG)) { + return ((o != 0) and ((o & FIOBJECT_NUMBER_FLAG) == @as(c_int, 0))) and ((o & FIOBJECT_PRIMITIVE_FLAG) != FIOBJECT_PRIMITIVE_FLAG); +} +pub inline fn FIOBJ2PTR(o: anytype) ?*anyopaque { + return @import("std").zig.c_translation.cast(?*anyopaque, o & FIOBJECT_TYPE_MASK); +} +pub inline fn FIOBJECT2VTBL(o: anytype) @TypeOf(fiobj_type_vtable(o)) { + return fiobj_type_vtable(o); +} +pub inline fn FIOBJECT2HEAD(o: anytype) [*c]fiobj_object_header_s { + return @import("std").zig.c_translation.cast([*c]fiobj_object_header_s, FIOBJ2PTR(o)); +} +pub inline fn OBJREF_ADD(o: anytype) @TypeOf(fiobj_ref_inc(o)) { + return fiobj_ref_inc(o); +} +pub inline fn OBJREF_REM(o: anytype) @TypeOf(fiobj_ref_dec(o)) { + return fiobj_ref_dec(o); +} +pub inline fn fiobj_ary_entry(a: anytype, p: anytype) @TypeOf(fiobj_ary_index(a, p)) { + return fiobj_ary_index(a, p); +} +pub const H_FIOBJ_IO_H = ""; +pub const H_FIOBJ_HASH_H = ""; +pub const H_FIOBJ_STR_H = ""; +pub inline fn FIOBJ_IS_STRING(obj: anytype) @TypeOf(FIOBJ_TYPE_IS(obj, FIOBJ_T_STRING)) { + return FIOBJ_TYPE_IS(obj, FIOBJ_T_STRING); +} +pub inline fn fiobj_str_minimize(str: anytype) @TypeOf(fiobj_str_compact(str)) { + return fiobj_str_compact(str); +} +pub inline fn fiobj_str_join(dest: anytype, src: anytype) @TypeOf(fiobj_str_concat(dest, src)) { + return fiobj_str_concat(dest, src); +} +pub const HASH_INITIAL_CAPACITY = @as(c_int, 16); +pub const H_FIOBJ_JSON_H = ""; +pub const H_FIOBJ_NUMBERS_H = ""; +pub inline fn fiobj_ptr_wrap(ptr: anytype) @TypeOf(fiobj_num_new(@import("std").zig.c_translation.cast(usize, ptr))) { + return fiobj_num_new(@import("std").zig.c_translation.cast(usize, ptr)); +} +pub inline fn fiobj_ptr_unwrap(obj: anytype) ?*anyopaque { + return @import("std").zig.c_translation.cast(?*anyopaque, fiobj_obj2num(obj)); +} +pub const JSON_MAX_DEPTH = @as(c_int, 32); +pub const H_FIOBJ_MUSTACHE_H = ""; +pub const H_MUSTACHE_LOADR_H = ""; +pub const _CTYPE_H = @as(c_int, 1); +pub inline fn _ISbit(bit: anytype) @TypeOf(if (bit < @as(c_int, 8)) (@as(c_int, 1) << bit) << @as(c_int, 8) else (@as(c_int, 1) << bit) >> @as(c_int, 8)) { + return if (bit < @as(c_int, 8)) (@as(c_int, 1) << bit) << @as(c_int, 8) else (@as(c_int, 1) << bit) >> @as(c_int, 8); +} +pub inline fn __isctype(c: anytype, @"type": anytype) @TypeOf(__ctype_b_loc().*[@intCast(usize, @import("std").zig.c_translation.cast(c_int, c))] & @import("std").zig.c_translation.cast(c_ushort, @"type")) { + return __ctype_b_loc().*[@intCast(usize, @import("std").zig.c_translation.cast(c_int, c))] & @import("std").zig.c_translation.cast(c_ushort, @"type"); +} +pub inline fn __isascii(c: anytype) @TypeOf((c & ~@as(c_int, 0x7f)) == @as(c_int, 0)) { + return (c & ~@as(c_int, 0x7f)) == @as(c_int, 0); +} +pub inline fn __toascii(c: anytype) @TypeOf(c & @as(c_int, 0x7f)) { + return c & @as(c_int, 0x7f); +} +pub inline fn __isctype_l(c: anytype, @"type": anytype, locale: anytype) @TypeOf(locale.*.__ctype_b[@intCast(usize, @import("std").zig.c_translation.cast(c_int, c))] & @import("std").zig.c_translation.cast(c_ushort, @"type")) { + return locale.*.__ctype_b[@intCast(usize, @import("std").zig.c_translation.cast(c_int, c))] & @import("std").zig.c_translation.cast(c_ushort, @"type"); +} +pub inline fn __isalnum_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISalnum, l)) { + return __isctype_l(c, _ISalnum, l); +} +pub inline fn __isalpha_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISalpha, l)) { + return __isctype_l(c, _ISalpha, l); +} +pub inline fn __iscntrl_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _IScntrl, l)) { + return __isctype_l(c, _IScntrl, l); +} +pub inline fn __isdigit_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISdigit, l)) { + return __isctype_l(c, _ISdigit, l); +} +pub inline fn __islower_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISlower, l)) { + return __isctype_l(c, _ISlower, l); +} +pub inline fn __isgraph_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISgraph, l)) { + return __isctype_l(c, _ISgraph, l); +} +pub inline fn __isprint_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISprint, l)) { + return __isctype_l(c, _ISprint, l); +} +pub inline fn __ispunct_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISpunct, l)) { + return __isctype_l(c, _ISpunct, l); +} +pub inline fn __isspace_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISspace, l)) { + return __isctype_l(c, _ISspace, l); +} +pub inline fn __isupper_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISupper, l)) { + return __isctype_l(c, _ISupper, l); +} +pub inline fn __isxdigit_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISxdigit, l)) { + return __isctype_l(c, _ISxdigit, l); +} +pub inline fn __isblank_l(c: anytype, l: anytype) @TypeOf(__isctype_l(c, _ISblank, l)) { + return __isctype_l(c, _ISblank, l); +} +pub inline fn __isascii_l(c: anytype, l: anytype) @TypeOf(__isascii(c)) { + return blk_1: { + _ = @TypeOf(l); + break :blk_1 __isascii(c); + }; +} +pub inline fn __toascii_l(c: anytype, l: anytype) @TypeOf(__toascii(c)) { + return blk_1: { + _ = @TypeOf(l); + break :blk_1 __toascii(c); + }; +} +pub inline fn isascii_l(c: anytype, l: anytype) @TypeOf(__isascii_l(c, l)) { + return __isascii_l(c, l); +} +pub inline fn toascii_l(c: anytype, l: anytype) @TypeOf(__toascii_l(c, l)) { + return __toascii_l(c, l); +} +pub const MUSTACHE_USE_DYNAMIC_PADDING = @as(c_int, 1); +pub const MUSTACHE_FAIL_ON_MISSING_TEMPLATE = @as(c_int, 1); +pub const MUSTACHE_NESTING_LIMIT = @as(c_int, 82); +pub const H_FIOBJ4SOCK_H = ""; +pub const HTTP_BUSY_UNLESS_HAS_FDS = @as(c_int, 64); +pub const HTTP_DEFAULT_BODY_LIMIT = (@as(c_int, 1024) * @as(c_int, 1024)) * @as(c_int, 50); +pub const HTTP_MAX_HEADER_COUNT = @as(c_int, 128); +pub const HTTP_MAX_HEADER_LENGTH = @as(c_int, 8192); +pub const FIO_HTTP_EXACT_LOGGING = @as(c_int, 0); +pub const H_WEBSOCKETS_H = ""; +pub const WEBSOCKET_OPTIMIZE_PUBSUB = -@as(c_int, 32); +pub const WEBSOCKET_OPTIMIZE_PUBSUB_TEXT = -@as(c_int, 33); +pub const WEBSOCKET_OPTIMIZE_PUBSUB_BINARY = -@as(c_int, 34); +pub inline fn http_url_parse(url: anytype, len: anytype) @TypeOf(fio_url_parse(url, len)) { + return fio_url_parse(url, len); +} +pub const timespec = struct_timespec; +pub const sigval = union_sigval; +pub const sigevent = struct_sigevent; +pub const _fpx_sw_bytes = struct__fpx_sw_bytes; +pub const _fpreg = struct__fpreg; +pub const _fpxreg = struct__fpxreg; +pub const _xmmreg = struct__xmmreg; +pub const _fpstate = struct__fpstate; +pub const sigcontext = struct_sigcontext; +pub const _xsave_hdr = struct__xsave_hdr; +pub const _ymmh_state = struct__ymmh_state; +pub const _xstate = struct__xstate; +pub const _libc_fpxreg = struct__libc_fpxreg; +pub const _libc_xmmreg = struct__libc_xmmreg; +pub const _libc_fpstate = struct__libc_fpstate; +pub const __pthread_internal_list = struct___pthread_internal_list; +pub const __pthread_internal_slist = struct___pthread_internal_slist; +pub const __pthread_mutex_s = struct___pthread_mutex_s; +pub const __pthread_rwlock_arch_t = struct___pthread_rwlock_arch_t; +pub const __pthread_cond_s = struct___pthread_cond_s; +pub const __va_list_tag = struct___va_list_tag; +pub const _G_fpos_t = struct__G_fpos_t; +pub const _G_fpos64_t = struct__G_fpos64_t; +pub const _IO_marker = struct__IO_marker; +pub const _IO_codecvt = struct__IO_codecvt; +pub const _IO_wide_data = struct__IO_wide_data; +pub const _IO_FILE = struct__IO_FILE; +pub const _IO_cookie_io_functions_t = struct__IO_cookie_io_functions_t; +pub const obstack = struct_obstack; +pub const __locale_data = struct___locale_data; +pub const __locale_struct = struct___locale_struct; +pub const timeval = struct_timeval; +pub const random_data = struct_random_data; +pub const drand48_data = struct_drand48_data; +pub const timex = struct_timex; +pub const tm = struct_tm; +pub const itimerspec = struct_itimerspec; +pub const flock = struct_flock; +pub const flock64 = struct_flock64; +pub const iovec = struct_iovec; +pub const __pid_type = enum___pid_type; +pub const f_owner_ex = struct_f_owner_ex; +pub const file_handle = struct_file_handle; +pub const statx_timestamp = struct_statx_timestamp; +pub const __itimer_which = enum___itimer_which; +pub const itimerval = struct_itimerval; +pub const fio_io_event = enum_fio_io_event; +pub const fio_listen_args = struct_fio_listen_args; +pub const fio_connect_args = struct_fio_connect_args; +pub const fio_start_args = struct_fio_start_args; +pub const fio_protocol_lock_e = enum_fio_protocol_lock_e; +pub const websocket_subscribe_s = struct_websocket_subscribe_s; +pub const http_sse_subscribe_args = struct_http_sse_subscribe_args; +pub const http_sse_write_args = struct_http_sse_write_args;