@zigc/lib 0.17.0-dev.607 → 0.17.0-dev.644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/Maker/PkgConfig.zig +15 -7
- package/compiler/Maker/Step/Compile.zig +7 -9
- package/compiler/Maker/Step/Fmt.zig +1 -1
- package/compiler/Maker/Step/Run.zig +59 -41
- package/compiler/Maker/Step/TranslateC.zig +6 -5
- package/compiler/Maker/Step.zig +47 -16
- package/compiler/Maker.zig +54 -44
- package/libc/include/aarch64-netbsd-none/aarch64/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/aarch64/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/aarch64/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/aarch64/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/aarch64/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/aarch64/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/aarch64/vmparam.h +4 -4
- package/libc/include/aarch64-netbsd-none/machine/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/machine/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/machine/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/machine/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/machine/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/machine/vmparam.h +4 -4
- package/libc/include/arm-netbsd-eabi/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/asm.h +48 -19
- package/libc/include/arm-netbsd-eabi/machine/byte_swap.h +121 -0
- package/libc/include/arm-netbsd-eabi/machine/cpu.h +1 -3
- package/libc/include/arm-netbsd-eabi/machine/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/lwp_private.h +81 -0
- package/libc/include/arm-netbsd-eabi/machine/mcontext.h +5 -51
- package/libc/include/arm-netbsd-eabi/machine/mutex.h +1 -1
- package/libc/include/arm-netbsd-eabi/machine/proc.h +2 -2
- package/libc/include/arm-netbsd-eabi/machine/profile.h +28 -96
- package/libc/include/arm-netbsd-eabi/machine/setjmp.h +7 -6
- package/libc/include/arm-netbsd-eabi/machine/sysarch.h +85 -0
- package/libc/include/generic-netbsd/altq/altq.h +2 -2
- package/libc/include/generic-netbsd/altq/altq_afmap.h +2 -1
- package/libc/include/generic-netbsd/altq/altq_classq.h +8 -6
- package/libc/include/generic-netbsd/altq/altq_jobs.h +37 -37
- package/libc/include/generic-netbsd/altq/altq_rmclass.h +8 -8
- package/libc/include/generic-netbsd/altq/altq_var.h +2 -2
- package/libc/include/generic-netbsd/arm/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/arm/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/arm/asm.h +48 -19
- package/libc/include/generic-netbsd/arm/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/arm/cpu.h +1 -3
- package/libc/include/generic-netbsd/arm/cputypes.h +12 -1
- package/libc/include/generic-netbsd/arm/float.h +2 -1
- package/libc/include/generic-netbsd/arm/lwp_private.h +81 -0
- package/libc/include/generic-netbsd/arm/mcontext.h +5 -51
- package/libc/include/generic-netbsd/arm/mutex.h +1 -1
- package/libc/include/generic-netbsd/arm/proc.h +2 -2
- package/libc/include/generic-netbsd/arm/profile.h +28 -96
- package/libc/include/generic-netbsd/arm/setjmp.h +7 -6
- package/libc/include/generic-netbsd/arpa/nameser.h +3 -3
- package/libc/include/generic-netbsd/arpa/nameser_compat.h +3 -3
- package/libc/include/generic-netbsd/assert.h +12 -22
- package/libc/include/generic-netbsd/bitstring.h +5 -5
- package/libc/include/generic-netbsd/cdbw.h +2 -2
- package/libc/include/generic-netbsd/crypto/cryptodev.h +99 -92
- package/libc/include/generic-netbsd/dev/i2c/emcfaninfo.h +234 -0
- package/libc/include/generic-netbsd/dev/i2c/emcfanreg.h +127 -0
- package/libc/include/generic-netbsd/dev/i2o/i2o.h +3 -366
- package/libc/include/generic-netbsd/dev/ic/hd44780var.h +3 -1
- package/libc/include/generic-netbsd/dev/ic/scmdreg.h +2 -2
- package/libc/include/generic-netbsd/dev/ic/stireg.h +777 -0
- package/libc/include/generic-netbsd/dev/ic/summitreg.h +214 -0
- package/libc/include/generic-netbsd/dev/iscsi/iscsi.h +1 -1
- package/libc/include/generic-netbsd/dev/pci/amrreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/mlyreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/pcidevs.h +177 -22
- package/libc/include/generic-netbsd/dev/pci/pcidevs_data.h +14971 -14588
- package/libc/include/generic-netbsd/dev/pci/pcireg.h +14 -14
- package/libc/include/generic-netbsd/dev/pckbc/pckbdreg.h +2 -1
- package/libc/include/generic-netbsd/dev/pcmcia/if_rayreg.h +2 -2
- package/libc/include/generic-netbsd/dev/raidframe/raidframeio.h +1 -1
- package/libc/include/generic-netbsd/dev/scsipi/scsi_disk.h +42 -7
- package/libc/include/generic-netbsd/dev/scsipi/scsi_spc.h +2 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipi_all.h +83 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipiconf.h +3 -1
- package/libc/include/generic-netbsd/dev/tc/sfbreg.h +3 -3
- package/libc/include/generic-netbsd/dev/tc/sticio.h +2 -2
- package/libc/include/generic-netbsd/dev/usb/umcpmio_hid_reports.h +499 -0
- package/libc/include/generic-netbsd/dev/usb/umcpmio_io.h +45 -0
- package/libc/include/generic-netbsd/dev/usb/usb.h +44 -6
- package/libc/include/generic-netbsd/dev/vndvar.h +2 -2
- package/libc/include/generic-netbsd/dev/wscons/wsconsio.h +19 -1
- package/libc/include/generic-netbsd/dev/wscons/wsksymdef.h +2 -2
- package/libc/include/generic-netbsd/dirent.h +1 -1
- package/libc/include/generic-netbsd/dlfcn.h +4 -2
- package/libc/include/generic-netbsd/elf.h +32 -20
- package/libc/include/generic-netbsd/elfdefinitions.h +1 -1
- package/libc/include/generic-netbsd/evbarm/intr.h +1 -1
- package/libc/include/generic-netbsd/evbmips/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/execinfo.h +4 -2
- package/libc/include/generic-netbsd/fcntl.h +26 -2
- package/libc/include/generic-netbsd/float.h +58 -2
- package/libc/include/generic-netbsd/fmtmsg.h +2 -2
- package/libc/include/generic-netbsd/fs/hfs/libhfs.h +1 -1
- package/libc/include/generic-netbsd/fs/nilfs/nilfs_fs.h +2 -2
- package/libc/include/generic-netbsd/gelf.h +2 -2
- package/libc/include/generic-netbsd/i386/asm.h +12 -4
- package/libc/include/generic-netbsd/i386/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/i386/cpu.h +15 -4
- package/libc/include/generic-netbsd/i386/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/i386/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/i386/mcontext.h +6 -24
- package/libc/include/generic-netbsd/i386/param.h +9 -1
- package/libc/include/generic-netbsd/i386/pcb.h +6 -2
- package/libc/include/generic-netbsd/i386/ptrace.h +2 -2
- package/libc/include/generic-netbsd/i386/types.h +2 -1
- package/libc/include/generic-netbsd/i386/wchar_limits.h +1 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_extern.h +6 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_mount.h +7 -1
- package/libc/include/generic-netbsd/langinfo.h +2 -1
- package/libc/include/generic-netbsd/lauxlib.h +1 -1
- package/libc/include/generic-netbsd/libelf.h +6 -15
- package/libc/include/generic-netbsd/limits.h +1 -1
- package/libc/include/generic-netbsd/lua.h +1 -1
- package/libc/include/generic-netbsd/luaconf.h +1 -1
- package/libc/include/generic-netbsd/lualib.h +1 -1
- package/libc/include/generic-netbsd/lwp.h +1 -1
- package/libc/include/generic-netbsd/machine/ansi.h +2 -2
- package/libc/include/generic-netbsd/machine/aout_machdep.h +39 -2
- package/libc/include/generic-netbsd/machine/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/machine/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/machine/asm.h +271 -2
- package/libc/include/generic-netbsd/machine/bswap.h +9 -1
- package/libc/include/generic-netbsd/machine/byte_swap.h +42 -64
- package/libc/include/generic-netbsd/machine/cdefs.h +7 -2
- package/libc/include/generic-netbsd/machine/cpu.h +207 -30
- package/libc/include/generic-netbsd/machine/cputypes.h +12 -1
- package/libc/include/generic-netbsd/machine/disklabel.h +41 -42
- package/libc/include/generic-netbsd/machine/elf_machdep.h +143 -2
- package/libc/include/generic-netbsd/machine/endian.h +1 -1
- package/libc/include/generic-netbsd/machine/fenv.h +35 -2
- package/libc/include/generic-netbsd/machine/float.h +58 -2
- package/libc/include/generic-netbsd/machine/frame.h +129 -2
- package/libc/include/generic-netbsd/machine/ieee.h +3 -2
- package/libc/include/generic-netbsd/machine/ieeefp.h +43 -2
- package/libc/include/generic-netbsd/machine/int_const.h +32 -2
- package/libc/include/generic-netbsd/machine/int_fmtio.h +380 -2
- package/libc/include/generic-netbsd/machine/int_limits.h +2 -2
- package/libc/include/generic-netbsd/machine/int_mwgwtypes.h +2 -2
- package/libc/include/generic-netbsd/machine/int_types.h +2 -2
- package/libc/include/generic-netbsd/machine/kcore.h +39 -2
- package/libc/include/generic-netbsd/machine/limits.h +2 -2
- package/libc/include/generic-netbsd/machine/lock.h +2 -2
- package/libc/include/generic-netbsd/machine/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/machine/math.h +3 -2
- package/libc/include/generic-netbsd/machine/mcontext.h +149 -2
- package/libc/include/generic-netbsd/machine/mutex.h +127 -2
- package/libc/include/generic-netbsd/machine/param.h +90 -23
- package/libc/include/generic-netbsd/machine/pcb.h +54 -2
- package/libc/include/generic-netbsd/machine/pmap.h +262 -2
- package/libc/include/generic-netbsd/machine/proc.h +75 -2
- package/libc/include/generic-netbsd/machine/profile.h +116 -2
- package/libc/include/generic-netbsd/machine/psl.h +2 -2
- package/libc/include/generic-netbsd/machine/pte.h +346 -2
- package/libc/include/generic-netbsd/machine/ptrace.h +62 -2
- package/libc/include/generic-netbsd/machine/reg.h +124 -2
- package/libc/include/generic-netbsd/machine/reloc.h +2 -2
- package/libc/include/generic-netbsd/machine/setjmp.h +69 -2
- package/libc/include/generic-netbsd/machine/signal.h +39 -2
- package/libc/include/generic-netbsd/machine/sljit_machdep.h +1 -1
- package/libc/include/generic-netbsd/machine/sysarch.h +2 -84
- package/libc/include/generic-netbsd/machine/sysreg.h +354 -0
- package/libc/include/generic-netbsd/machine/trap.h +2 -2
- package/libc/include/generic-netbsd/machine/types.h +118 -6
- package/libc/include/generic-netbsd/machine/vmparam.h +235 -2
- package/libc/include/generic-netbsd/machine/wchar_limits.h +2 -2
- package/libc/include/generic-netbsd/math.h +19 -6
- package/libc/include/generic-netbsd/md2.h +6 -3
- package/libc/include/generic-netbsd/mips/asm.h +69 -17
- package/libc/include/generic-netbsd/mips/bswap.h +3 -1
- package/libc/include/generic-netbsd/mips/cpu.h +7 -7
- package/libc/include/generic-netbsd/mips/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/mips/fenv.h +2 -1
- package/libc/include/generic-netbsd/mips/float.h +3 -2
- package/libc/include/generic-netbsd/mips/frame.h +3 -2
- package/libc/include/generic-netbsd/mips/limits.h +4 -13
- package/libc/include/generic-netbsd/mips/lwp_private.h +87 -0
- package/libc/include/generic-netbsd/mips/mcontext.h +2 -53
- package/libc/include/generic-netbsd/mips/mips3_pte.h +2 -2
- package/libc/include/generic-netbsd/mips/mips_param.h +16 -2
- package/libc/include/generic-netbsd/mips/mutex.h +1 -1
- package/libc/include/generic-netbsd/mips/types.h +1 -1
- package/libc/include/generic-netbsd/mips/vmparam.h +1 -1
- package/libc/include/generic-netbsd/miscfs/kernfs/kernfs.h +2 -2
- package/libc/include/generic-netbsd/miscfs/procfs/procfs.h +33 -2
- package/libc/include/generic-netbsd/miscfs/specfs/specdev.h +1 -2
- package/libc/include/generic-netbsd/monetary.h +2 -1
- package/libc/include/generic-netbsd/net/agr/if_agrioctl.h +2 -2
- package/libc/include/generic-netbsd/net/bpf.h +11 -4
- package/libc/include/generic-netbsd/net/bpfdesc.h +1 -1
- package/libc/include/generic-netbsd/net/dlt.h +222 -48
- package/libc/include/generic-netbsd/net/if.h +20 -5
- package/libc/include/generic-netbsd/net/if_bridgevar.h +2 -3
- package/libc/include/generic-netbsd/net/if_ether.h +4 -3
- package/libc/include/generic-netbsd/net/if_lagg.h +2 -2
- package/libc/include/generic-netbsd/net/if_media.h +2 -2
- package/libc/include/generic-netbsd/net/if_ppp.h +1 -3
- package/libc/include/generic-netbsd/net/if_stats.h +19 -5
- package/libc/include/generic-netbsd/net/net_stats.h +13 -6
- package/libc/include/generic-netbsd/net/npf.h +33 -5
- package/libc/include/generic-netbsd/net/pfkeyv2.h +1 -1
- package/libc/include/generic-netbsd/net/route.h +4 -4
- package/libc/include/generic-netbsd/net80211/ieee80211_node.h +3 -2
- package/libc/include/generic-netbsd/net80211/ieee80211_var.h +2 -2
- package/libc/include/generic-netbsd/netbt/hci.h +3 -3
- package/libc/include/generic-netbsd/netdb.h +2 -2
- package/libc/include/generic-netbsd/netinet/icmp6.h +6 -2
- package/libc/include/generic-netbsd/netinet/in.h +17 -17
- package/libc/include/generic-netbsd/netinet/in_var.h +5 -9
- package/libc/include/generic-netbsd/netinet/ip_mroute.h +24 -28
- package/libc/include/generic-netbsd/netinet/ip_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/sctp.h +4 -4
- package/libc/include/generic-netbsd/netinet/tcp_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/tcp_vtw.h +2 -2
- package/libc/include/generic-netbsd/netinet6/in6_var.h +7 -33
- package/libc/include/generic-netbsd/netinet6/ip6_var.h +2 -2
- package/libc/include/generic-netbsd/nfs/krpc.h +9 -4
- package/libc/include/generic-netbsd/nfs/nfs.h +5 -3
- package/libc/include/generic-netbsd/nfs/nfsdiskless.h +37 -20
- package/libc/include/generic-netbsd/nfs/nfsm_subs.h +4 -7
- package/libc/include/generic-netbsd/nfs/nfsmount.h +3 -4
- package/libc/include/generic-netbsd/nfs/nfsnode.h +9 -6
- package/libc/include/generic-netbsd/nfs/nfsproto.h +5 -2
- package/libc/include/generic-netbsd/nfs/nfsrtt.h +8 -4
- package/libc/include/generic-netbsd/nfs/nfsrvcache.h +9 -3
- package/libc/include/generic-netbsd/nfs/rpcv2.h +5 -3
- package/libc/include/generic-netbsd/nfs/xdr_subs.h +6 -5
- package/libc/include/generic-netbsd/nl_types.h +3 -1
- package/libc/include/generic-netbsd/ntfs/ntfs_inode.h +2 -2
- package/libc/include/generic-netbsd/poll.h +8 -2
- package/libc/include/generic-netbsd/prop/prop_object.h +48 -3
- package/libc/include/generic-netbsd/protocols/talkd.h +2 -2
- package/libc/include/generic-netbsd/pthread.h +51 -12
- package/libc/include/generic-netbsd/regex.h +2 -1
- package/libc/include/generic-netbsd/riscv/ansi.h +3 -0
- package/libc/include/generic-netbsd/riscv/aout_machdep.h +40 -0
- package/libc/include/generic-netbsd/riscv/asm.h +272 -0
- package/libc/include/generic-netbsd/riscv/bswap.h +11 -0
- package/libc/include/generic-netbsd/riscv/byte_swap.h +99 -0
- package/libc/include/generic-netbsd/riscv/cdefs.h +8 -0
- package/libc/include/generic-netbsd/riscv/cpu.h +242 -0
- package/libc/include/generic-netbsd/riscv/disklabel.h +68 -0
- package/libc/include/generic-netbsd/riscv/elf_machdep.h +144 -0
- package/libc/include/generic-netbsd/riscv/endian.h +3 -0
- package/libc/include/generic-netbsd/riscv/endian_machdep.h +3 -0
- package/libc/include/generic-netbsd/riscv/fenv.h +36 -0
- package/libc/include/generic-netbsd/riscv/float.h +59 -0
- package/libc/include/generic-netbsd/riscv/ieee.h +4 -0
- package/libc/include/generic-netbsd/riscv/ieeefp.h +44 -0
- package/libc/include/generic-netbsd/riscv/int_const.h +33 -0
- package/libc/include/generic-netbsd/riscv/int_fmtio.h +381 -0
- package/libc/include/generic-netbsd/riscv/int_limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_mwgwtypes.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_types.h +3 -0
- package/libc/include/generic-netbsd/riscv/kcore.h +40 -0
- package/libc/include/generic-netbsd/riscv/limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/lock.h +3 -0
- package/libc/include/generic-netbsd/riscv/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/riscv/math.h +4 -0
- package/libc/include/generic-netbsd/riscv/mcontext.h +150 -0
- package/libc/include/generic-netbsd/riscv/mutex.h +128 -0
- package/libc/include/generic-netbsd/riscv/param.h +110 -0
- package/libc/include/generic-netbsd/riscv/pcb.h +55 -0
- package/libc/include/generic-netbsd/riscv/pmap.h +263 -0
- package/libc/include/generic-netbsd/riscv/proc.h +76 -0
- package/libc/include/generic-netbsd/riscv/profile.h +117 -0
- package/libc/include/generic-netbsd/riscv/pte.h +347 -0
- package/libc/include/generic-netbsd/riscv/ptrace.h +63 -0
- package/libc/include/generic-netbsd/riscv/reg.h +125 -0
- package/libc/include/generic-netbsd/riscv/rwlock.h +1 -0
- package/libc/include/generic-netbsd/riscv/setjmp.h +70 -0
- package/libc/include/generic-netbsd/riscv/signal.h +40 -0
- package/libc/include/generic-netbsd/riscv/sysarch.h +3 -0
- package/libc/include/generic-netbsd/riscv/sysreg.h +354 -0
- package/libc/include/generic-netbsd/riscv/types.h +123 -0
- package/libc/include/generic-netbsd/riscv/vmparam.h +236 -0
- package/libc/include/generic-netbsd/riscv/wchar_limits.h +13 -0
- package/libc/include/generic-netbsd/rmd160.h +3 -3
- package/libc/include/generic-netbsd/rpc/xdr.h +3 -3
- package/libc/include/generic-netbsd/rpcsvc/yp_prot.h +3 -2
- package/libc/include/generic-netbsd/rump/rump_namei.h +2 -2
- package/libc/include/generic-netbsd/rump/rump_syscalls.h +4 -4
- package/libc/include/generic-netbsd/rump/rumpuser.h +6 -1
- package/libc/include/generic-netbsd/rump/rumpvnode_if.h +2 -2
- package/libc/include/generic-netbsd/sha1.h +3 -3
- package/libc/include/generic-netbsd/sha2.h +8 -1
- package/libc/include/generic-netbsd/signal.h +4 -4
- package/libc/include/generic-netbsd/sparc/asm.h +10 -1
- package/libc/include/generic-netbsd/sparc/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc/cgtworeg.h +2 -2
- package/libc/include/generic-netbsd/sparc/cpu.h +1 -1
- package/libc/include/generic-netbsd/sparc/float.h +3 -1
- package/libc/include/generic-netbsd/sparc/limits.h +4 -6
- package/libc/include/generic-netbsd/sparc/lwp_private.h +51 -0
- package/libc/include/generic-netbsd/sparc/mcontext.h +4 -22
- package/libc/include/generic-netbsd/sparc/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc/param.h +4 -2
- package/libc/include/generic-netbsd/sparc/pmap.h +2 -2
- package/libc/include/generic-netbsd/sparc/psl.h +6 -3
- package/libc/include/generic-netbsd/sparc/types.h +2 -2
- package/libc/include/generic-netbsd/sparc64/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc64/cpu.h +2 -2
- package/libc/include/generic-netbsd/sparc64/ctlreg.h +8 -7
- package/libc/include/generic-netbsd/sparc64/intr.h +1 -1
- package/libc/include/generic-netbsd/sparc64/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/sparc64/mcontext.h +4 -4
- package/libc/include/generic-netbsd/sparc64/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc64/param.h +8 -2
- package/libc/include/generic-netbsd/sparc64/psl.h +7 -2
- package/libc/include/generic-netbsd/sparc64/pte.h +2 -2
- package/libc/include/generic-netbsd/sparc64/vmparam.h +1 -1
- package/libc/include/generic-netbsd/ssp/ssp.h +16 -6
- package/libc/include/generic-netbsd/stdalign.h +3 -3
- package/libc/include/generic-netbsd/stdarg.h +2 -2
- package/libc/include/generic-netbsd/stddef.h +90 -12
- package/libc/include/generic-netbsd/stdlib.h +11 -2
- package/libc/include/generic-netbsd/stdnoreturn.h +2 -2
- package/libc/include/generic-netbsd/string.h +66 -39
- package/libc/include/generic-netbsd/strings.h +17 -3
- package/libc/include/generic-netbsd/sys/atomic.h +10 -5
- package/libc/include/generic-netbsd/sys/bitops.h +2 -2
- package/libc/include/generic-netbsd/sys/bootblock.h +13 -2
- package/libc/include/generic-netbsd/sys/bswap.h +46 -20
- package/libc/include/generic-netbsd/sys/buf.h +3 -3
- package/libc/include/generic-netbsd/sys/cdefs.h +44 -6
- package/libc/include/generic-netbsd/sys/cdefs_aout.h +8 -1
- package/libc/include/generic-netbsd/sys/cdefs_elf.h +9 -2
- package/libc/include/generic-netbsd/sys/chio.h +2 -2
- package/libc/include/generic-netbsd/sys/clock.h +5 -1
- package/libc/include/generic-netbsd/sys/common_limits.h +3 -1
- package/libc/include/generic-netbsd/sys/condvar.h +1 -1
- package/libc/include/generic-netbsd/sys/conf.h +4 -3
- package/libc/include/generic-netbsd/sys/container_of.h +75 -0
- package/libc/include/generic-netbsd/sys/device.h +20 -13
- package/libc/include/generic-netbsd/sys/disk.h +8 -1
- package/libc/include/generic-netbsd/sys/disklabel.h +2 -2
- package/libc/include/generic-netbsd/sys/disklabel_gpt.h +7 -1
- package/libc/include/generic-netbsd/sys/efiio.h +1 -1
- package/libc/include/generic-netbsd/sys/elfdefinitions.h +2368 -1591
- package/libc/include/generic-netbsd/sys/endian.h +17 -17
- package/libc/include/generic-netbsd/sys/evcnt.h +15 -2
- package/libc/include/generic-netbsd/sys/event.h +3 -2
- package/libc/include/generic-netbsd/sys/exec.h +2 -2
- package/libc/include/generic-netbsd/sys/exec_elf.h +32 -20
- package/libc/include/generic-netbsd/sys/fcntl.h +26 -2
- package/libc/include/generic-netbsd/sys/fd_set.h +3 -3
- package/libc/include/generic-netbsd/sys/featuretest.h +24 -6
- package/libc/include/generic-netbsd/sys/file.h +18 -6
- package/libc/include/generic-netbsd/sys/filedesc.h +8 -4
- package/libc/include/generic-netbsd/sys/futex.h +11 -11
- package/libc/include/generic-netbsd/sys/ieee754.h +2 -2
- package/libc/include/generic-netbsd/sys/ipc.h +2 -2
- package/libc/include/generic-netbsd/sys/ipmi.h +4 -2
- package/libc/include/generic-netbsd/sys/ksem.h +1 -1
- package/libc/include/generic-netbsd/sys/ktrace.h +6 -4
- package/libc/include/generic-netbsd/sys/lock.h +2 -2
- package/libc/include/generic-netbsd/sys/lua.h +1 -1
- package/libc/include/generic-netbsd/sys/lwp.h +25 -92
- package/libc/include/generic-netbsd/sys/mbuf.h +15 -13
- package/libc/include/generic-netbsd/sys/mman.h +11 -3
- package/libc/include/generic-netbsd/sys/mount.h +1 -2
- package/libc/include/generic-netbsd/sys/msg.h +3 -3
- package/libc/include/generic-netbsd/sys/mutex.h +1 -3
- package/libc/include/generic-netbsd/sys/namei.h +32 -17
- package/libc/include/generic-netbsd/sys/param.h +11 -8
- package/libc/include/generic-netbsd/sys/pipe.h +10 -11
- package/libc/include/generic-netbsd/sys/poll.h +8 -2
- package/libc/include/generic-netbsd/sys/proc.h +15 -15
- package/libc/include/generic-netbsd/sys/ptrace.h +24 -7
- package/libc/include/generic-netbsd/sys/ptree.h +2 -1
- package/libc/include/generic-netbsd/sys/queue.h +37 -37
- package/libc/include/generic-netbsd/sys/rbtree.h +23 -9
- package/libc/include/generic-netbsd/sys/resourcevar.h +2 -2
- package/libc/include/generic-netbsd/sys/rmd160.h +3 -3
- package/libc/include/generic-netbsd/sys/rndio.h +1 -1
- package/libc/include/generic-netbsd/sys/rwlock.h +1 -2
- package/libc/include/generic-netbsd/sys/sched.h +1 -1
- package/libc/include/generic-netbsd/sys/sdt.h +181 -111
- package/libc/include/generic-netbsd/sys/sem.h +7 -2
- package/libc/include/generic-netbsd/sys/sha1.h +3 -3
- package/libc/include/generic-netbsd/sys/sha2.h +8 -1
- package/libc/include/generic-netbsd/sys/shm.h +2 -2
- package/libc/include/generic-netbsd/sys/siginfo.h +5 -5
- package/libc/include/generic-netbsd/sys/signal.h +1 -1
- package/libc/include/generic-netbsd/sys/sigtypes.h +4 -4
- package/libc/include/generic-netbsd/sys/sleepq.h +14 -27
- package/libc/include/generic-netbsd/sys/socket.h +3 -1
- package/libc/include/generic-netbsd/sys/socketvar.h +4 -4
- package/libc/include/generic-netbsd/sys/stat.h +5 -5
- package/libc/include/generic-netbsd/sys/stdalign.h +55 -0
- package/libc/include/generic-netbsd/sys/stdarg.h +2 -2
- package/libc/include/generic-netbsd/sys/stddef.h +156 -0
- package/libc/include/generic-netbsd/sys/swap.h +2 -2
- package/libc/include/generic-netbsd/sys/syncobj.h +9 -6
- package/libc/include/generic-netbsd/sys/syscall.h +29 -8
- package/libc/include/generic-netbsd/sys/syscallargs.h +89 -12
- package/libc/include/generic-netbsd/sys/sysctl.h +94 -86
- package/libc/include/generic-netbsd/sys/syslimits.h +8 -1
- package/libc/include/generic-netbsd/sys/syslog.h +6 -7
- package/libc/include/generic-netbsd/sys/time.h +10 -8
- package/libc/include/generic-netbsd/sys/tree.h +13 -13
- package/libc/include/generic-netbsd/sys/tty.h +2 -2
- package/libc/include/generic-netbsd/sys/ttycom.h +7 -1
- package/libc/include/generic-netbsd/sys/types.h +1 -1
- package/libc/include/generic-netbsd/sys/ucontext.h +46 -49
- package/libc/include/generic-netbsd/sys/un.h +12 -4
- package/libc/include/generic-netbsd/sys/unistd.h +103 -102
- package/libc/include/generic-netbsd/sys/unpcb.h +2 -2
- package/libc/include/generic-netbsd/sys/vmmeter.h +1 -39
- package/libc/include/generic-netbsd/sys/vnode_if.h +2 -2
- package/libc/include/generic-netbsd/sys/vnode_impl.h +6 -3
- package/libc/include/generic-netbsd/sys/wapbl_replay.h +2 -2
- package/libc/include/generic-netbsd/sys/wchan.h +37 -0
- package/libc/include/generic-netbsd/syslog.h +6 -7
- package/libc/include/generic-netbsd/time.h +44 -8
- package/libc/include/generic-netbsd/tzfile.h +11 -6
- package/libc/include/generic-netbsd/uchar.h +1 -1
- package/libc/include/generic-netbsd/ucontext.h +2 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs.h +31 -16
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_dir.h +1 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extents.h +5 -5
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extern.h +4 -4
- package/libc/include/generic-netbsd/ufs/ffs/ffs_extern.h +1 -1
- package/libc/include/generic-netbsd/ufs/ffs/fs.h +3 -3
- package/libc/include/generic-netbsd/ufs/ufs/quota2.h +2 -2
- package/libc/include/generic-netbsd/unistd.h +11 -5
- package/libc/include/generic-netbsd/unwind.h +1 -1
- package/libc/include/generic-netbsd/util.h +15 -1
- package/libc/include/generic-netbsd/uvm/uvm.h +1 -5
- package/libc/include/generic-netbsd/uvm/uvm_extern.h +3 -4
- package/libc/include/generic-netbsd/uvm/uvm_object.h +2 -2
- package/libc/include/generic-netbsd/uvm/uvm_param.h +1 -1
- package/libc/include/generic-netbsd/uvm/uvm_swap.h +14 -3
- package/libc/include/generic-netbsd/wchar.h +7 -2
- package/libc/include/generic-netbsd/x86/bootinfo.h +4 -1
- package/libc/include/generic-netbsd/x86/cpu.h +18 -1
- package/libc/include/generic-netbsd/x86/cpu_extended_state.h +3 -1
- package/libc/include/generic-netbsd/x86/cpuvar.h +4 -1
- package/libc/include/generic-netbsd/x86/float.h +24 -1
- package/libc/include/generic-netbsd/x86/ieee.h +11 -7
- package/libc/include/generic-netbsd/x86/lwp_private.h +56 -0
- package/libc/include/generic-netbsd/x86/mutex.h +1 -1
- package/libc/include/generic-netbsd/x86/specialreg.h +111 -23
- package/libc/include/m68k-netbsd-none/m68k/asm.h +11 -2
- package/libc/include/m68k-netbsd-none/m68k/bus_dma.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/byte_swap.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_30.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_40.h +3 -1
- package/libc/include/m68k-netbsd-none/m68k/cacheops_60.h +5 -3
- package/libc/include/m68k-netbsd-none/m68k/cpu.h +86 -59
- package/libc/include/m68k-netbsd-none/m68k/cpuframe.h +5 -5
- package/libc/include/m68k-netbsd-none/m68k/fenv.h +6 -4
- package/libc/include/m68k-netbsd-none/m68k/float.h +26 -1
- package/libc/include/m68k-netbsd-none/m68k/frame.h +31 -19
- package/libc/include/m68k-netbsd-none/m68k/ieee.h +13 -8
- package/libc/include/m68k-netbsd-none/m68k/ieeefp.h +3 -3
- package/libc/include/m68k-netbsd-none/m68k/int_limits.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/intr.h +211 -0
- package/libc/include/m68k-netbsd-none/m68k/kcore.h +31 -31
- package/libc/include/m68k-netbsd-none/m68k/lwp_private.h +64 -0
- package/libc/include/m68k-netbsd-none/m68k/m68k.h +3 -7
- package/libc/include/m68k-netbsd-none/m68k/mcontext.h +5 -36
- package/libc/include/m68k-netbsd-none/m68k/mmu_30.h +105 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_40.h +232 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_51.h +273 -0
- package/libc/include/m68k-netbsd-none/m68k/mutex.h +1 -1
- package/libc/include/m68k-netbsd-none/m68k/pcb.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/pmap_motorola.h +32 -23
- package/libc/include/m68k-netbsd-none/m68k/psl.h +26 -7
- package/libc/include/m68k-netbsd-none/m68k/pte_motorola.h +37 -26
- package/libc/include/m68k-netbsd-none/m68k/trap.h +7 -7
- package/libc/include/m68k-netbsd-none/mac68k/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/mac68k/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/mac68k/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/mac68k/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/mac68k/z8530var.h +2 -2
- package/libc/include/m68k-netbsd-none/machine/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/machine/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/machine/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/machine/z8530var.h +2 -2
- package/libc/include/mips-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/evbppc/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ansi.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/aout_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/asm.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cdefs.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cpu.h +65 -0
- package/libc/include/powerpc-netbsd-eabi/machine/disklabel.h +69 -0
- package/libc/include/powerpc-netbsd-eabi/machine/elf_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/endian.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/fenv.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/frame.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieee.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieeefp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_const.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_fmtio.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_mwgwtypes.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_types.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/kcore.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lock.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/math.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mcontext.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mutex.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/param.h +43 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pcb.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pmap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/proc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/profile.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/psl.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pte.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ptrace.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reg.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reloc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/setjmp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/signal.h +3 -0
- package/libc/include/{mips-netbsd-eabi → powerpc-netbsd-eabi}/machine/sljit_machdep.h +1 -1
- package/libc/include/powerpc-netbsd-eabi/machine/trap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/types.h +11 -0
- package/libc/include/powerpc-netbsd-eabi/machine/vmparam.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/wchar_limits.h +3 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/asm.h +12 -2
- package/libc/include/powerpc-netbsd-eabi/powerpc/bswap.h +14 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cpu.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fenv.h +2 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/pmap.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieee.h +7 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/limits.h +4 -13
- package/libc/include/powerpc-netbsd-eabi/powerpc/lwp_private.h +79 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mcontext.h +6 -50
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mutex.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pmap.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pmap.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/psl.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/vmparam.h +1 -1
- package/libc/include/riscv32-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv32-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv32-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv32-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/riscv64-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv64-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv64-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv64-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/sparc-netbsd-none/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/asm.h +10 -1
- package/libc/include/sparc-netbsd-none/machine/cgtworeg.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/cpu.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/limits.h +4 -6
- package/libc/include/sparc-netbsd-none/machine/lwp_private.h +51 -0
- package/libc/include/sparc-netbsd-none/machine/mcontext.h +4 -22
- package/libc/include/sparc-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/param.h +4 -2
- package/libc/include/sparc-netbsd-none/machine/pmap.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/psl.h +6 -3
- package/libc/include/sparc-netbsd-none/machine/sxreg.h +5 -1
- package/libc/include/sparc-netbsd-none/machine/types.h +2 -2
- package/libc/include/sparc-netbsd-none/sparc/sxreg.h +5 -1
- package/libc/include/sparc64-netbsd-none/machine/cpu.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/ctlreg.h +8 -7
- package/libc/include/sparc64-netbsd-none/machine/intr.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/sparc64-netbsd-none/machine/mcontext.h +4 -4
- package/libc/include/sparc64-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/param.h +8 -2
- package/libc/include/sparc64-netbsd-none/machine/psl.h +7 -2
- package/libc/include/sparc64-netbsd-none/machine/pte.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/vmparam.h +1 -1
- package/libc/include/x86-netbsd-none/machine/asm.h +12 -4
- package/libc/include/x86-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86-netbsd-none/machine/cpu.h +15 -4
- package/libc/include/x86-netbsd-none/machine/elf_machdep.h +2 -1
- package/libc/include/x86-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86-netbsd-none/machine/mcontext.h +6 -24
- package/libc/include/x86-netbsd-none/machine/param.h +9 -1
- package/libc/include/x86-netbsd-none/machine/pcb.h +6 -2
- package/libc/include/x86-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86-netbsd-none/machine/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/amd64/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/amd64/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/amd64/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/amd64/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/amd64/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/amd64/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/amd64/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/machine/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/machine/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/machine/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/machine/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/machine/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/types.h +2 -1
- package/libc/netbsd/abilists +0 -0
- package/libc/netbsd/lib/csu/arch/riscv/crt0.S +62 -0
- package/libc/netbsd/lib/csu/common/crt0-common.c +32 -7
- package/libc/netbsd/lib/csu/common/csu-common.h +2 -0
- package/package.json +1 -1
- package/std/Build/Cache/Path.zig +27 -28
- package/std/Build/Cache.zig +1 -0
- package/std/Build/Configuration.zig +69 -29
- package/std/Build/Step/Compile.zig +2 -8
- package/std/Build/Step/ObjCopy.zig +2 -2
- package/std/Build/Step/Options.zig +2 -2
- package/std/Build/Step/Run.zig +0 -33
- package/std/Build.zig +34 -4
- package/std/Io/Kqueue.zig +1 -1
- package/std/Io/Threaded.zig +1 -1
- package/std/Io/Uring.zig +3 -1
- package/std/Target.zig +3 -1
- package/std/debug/Pdb.zig +61 -34
- package/std/debug/SelfInfo/Elf.zig +12 -9
- package/std/debug/SelfInfo/Windows.zig +3 -5
- package/std/debug/cpu_context.zig +62 -14
- package/std/zig/target.zig +2 -1
- package/std/zig.zig +12 -0
- package/libc/include/arm-netbsd-eabi/machine/frame.h +0 -130
- package/libc/include/generic-netbsd/powerpc/bswap.h +0 -8
- package/libc/include/mips-netbsd-eabi/machine/psl.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/reloc.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/trap.h +0 -3
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/asm.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/bswap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/disklabel.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fenv.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieee.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mcontext.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mutex.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pmap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/psl.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/wchar_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/tlb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/bat.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/sr_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/wchar_limits.h +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: sysctl.h,v 1.
|
|
1
|
+
/* $NetBSD: sysctl.h,v 1.241 2025/07/13 20:13:39 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1989, 1993
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
struct sysctlnode;
|
|
74
74
|
|
|
75
75
|
#define CTL_MAXNAME 12 /* largest number of components supported */
|
|
76
|
-
#define
|
|
76
|
+
#define SYSCTL_NAMELEN 32 /* longest name allowed for a node */
|
|
77
77
|
|
|
78
|
-
#define
|
|
79
|
-
#define
|
|
78
|
+
#define CREATE_BASE (1024) /* start of dynamic mib allocation */
|
|
79
|
+
#define SYSCTL_DEFSIZE 8 /* initial size of a child set */
|
|
80
80
|
|
|
81
81
|
/*
|
|
82
82
|
* Each subsystem defined by sysctl defines a list of variables
|
|
@@ -105,38 +105,38 @@ struct ctlname {
|
|
|
105
105
|
/*
|
|
106
106
|
* Flags that apply to each node, governing access and other features
|
|
107
107
|
*/
|
|
108
|
-
#define
|
|
108
|
+
#define CTLFLAG_READONLY 0x00000000
|
|
109
109
|
/* #define CTLFLAG_UNUSED1 0x00000010 */
|
|
110
110
|
/* #define CTLFLAG_UNUSED2 0x00000020 */
|
|
111
111
|
/* #define CTLFLAG_READ* 0x00000040 */
|
|
112
|
-
#define
|
|
113
|
-
#define
|
|
114
|
-
#define
|
|
115
|
-
#define
|
|
116
|
-
#define
|
|
117
|
-
#define
|
|
118
|
-
#define
|
|
119
|
-
#define
|
|
120
|
-
#define
|
|
121
|
-
#define
|
|
122
|
-
#define
|
|
123
|
-
#define
|
|
124
|
-
#define
|
|
125
|
-
#define
|
|
112
|
+
#define CTLFLAG_READWRITE 0x00000070
|
|
113
|
+
#define CTLFLAG_ANYWRITE 0x00000080
|
|
114
|
+
#define CTLFLAG_PRIVATE 0x00000100
|
|
115
|
+
#define CTLFLAG_PERMANENT 0x00000200
|
|
116
|
+
#define CTLFLAG_OWNDATA 0x00000400
|
|
117
|
+
#define CTLFLAG_IMMEDIATE 0x00000800
|
|
118
|
+
#define CTLFLAG_HEX 0x00001000
|
|
119
|
+
#define CTLFLAG_ROOT 0x00002000
|
|
120
|
+
#define CTLFLAG_ANYNUMBER 0x00004000
|
|
121
|
+
#define CTLFLAG_HIDDEN 0x00008000
|
|
122
|
+
#define CTLFLAG_ALIAS 0x00010000
|
|
123
|
+
#define CTLFLAG_MMAP 0x00020000
|
|
124
|
+
#define CTLFLAG_OWNDESC 0x00040000
|
|
125
|
+
#define CTLFLAG_UNSIGNED 0x00080000
|
|
126
126
|
|
|
127
127
|
/*
|
|
128
128
|
* sysctl API version
|
|
129
129
|
*/
|
|
130
|
-
#define
|
|
131
|
-
#define
|
|
132
|
-
#define
|
|
133
|
-
#define
|
|
134
|
-
#define
|
|
130
|
+
#define SYSCTL_VERS_MASK 0xff000000
|
|
131
|
+
#define SYSCTL_VERS_0 0x00000000
|
|
132
|
+
#define SYSCTL_VERS_1 0x01000000
|
|
133
|
+
#define SYSCTL_VERSION SYSCTL_VERS_1
|
|
134
|
+
#define SYSCTL_VERS(f) ((f) & SYSCTL_VERS_MASK)
|
|
135
135
|
|
|
136
136
|
/*
|
|
137
137
|
* Flags that can be set by a create request from user-space
|
|
138
138
|
*/
|
|
139
|
-
#define
|
|
139
|
+
#define SYSCTL_USERFLAGS (CTLFLAG_READWRITE|\
|
|
140
140
|
CTLFLAG_ANYWRITE|\
|
|
141
141
|
CTLFLAG_PRIVATE|\
|
|
142
142
|
CTLFLAG_OWNDATA|\
|
|
@@ -147,21 +147,21 @@ struct ctlname {
|
|
|
147
147
|
/*
|
|
148
148
|
* Accessor macros
|
|
149
149
|
*/
|
|
150
|
-
#define
|
|
151
|
-
#define
|
|
152
|
-
#define
|
|
153
|
-
#define
|
|
150
|
+
#define SYSCTL_TYPEMASK 0x0000000f
|
|
151
|
+
#define SYSCTL_TYPE(x) ((x) & SYSCTL_TYPEMASK)
|
|
152
|
+
#define SYSCTL_FLAGMASK 0x00fffff0
|
|
153
|
+
#define SYSCTL_FLAGS(x) ((x) & SYSCTL_FLAGMASK)
|
|
154
154
|
|
|
155
155
|
/*
|
|
156
156
|
* Meta-identifiers
|
|
157
157
|
*/
|
|
158
|
-
#define
|
|
159
|
-
#define
|
|
160
|
-
#define
|
|
161
|
-
#define
|
|
162
|
-
#define
|
|
163
|
-
#define
|
|
164
|
-
#define
|
|
158
|
+
#define CTL_EOL (-1) /* end of createv/destroyv list */
|
|
159
|
+
#define CTL_QUERY (-2) /* enumerates children of a node */
|
|
160
|
+
#define CTL_CREATE (-3) /* node create request */
|
|
161
|
+
#define CTL_CREATESYM (-4) /* node create request with symbol */
|
|
162
|
+
#define CTL_DESTROY (-5) /* node destroy request */
|
|
163
|
+
#define CTL_MMAP (-6) /* mmap request */
|
|
164
|
+
#define CTL_DESCRIBE (-7) /* get node descriptions */
|
|
165
165
|
|
|
166
166
|
/*
|
|
167
167
|
* Top-level identifiers
|
|
@@ -275,6 +275,7 @@ struct ctlname {
|
|
|
275
275
|
#define KERN_BOOTTIME 83 /* struct: time kernel was booted */
|
|
276
276
|
#define KERN_EVCNT 84 /* struct: evcnts */
|
|
277
277
|
#define KERN_SOFIXEDBUF 85 /* bool: fixed socket buffer sizes */
|
|
278
|
+
#define KERN_ENTROPY 86 /* node: entropy(9) subsystem */
|
|
278
279
|
|
|
279
280
|
/*
|
|
280
281
|
* KERN_CLOCKRATE structure
|
|
@@ -362,8 +363,8 @@ struct kinfo_proc {
|
|
|
362
363
|
* Convert pointer to 64 bit unsigned integer for struct
|
|
363
364
|
* kinfo_proc2, etc.
|
|
364
365
|
*/
|
|
365
|
-
#define
|
|
366
|
-
#define
|
|
366
|
+
#define PTRTOUINT64(p) ((uint64_t)(uintptr_t)(p))
|
|
367
|
+
#define UINT64TOPTR(u) ((void *)(uintptr_t)(u))
|
|
367
368
|
|
|
368
369
|
/*
|
|
369
370
|
* KERN_PROC2 subtype ops return arrays of relatively fixed size
|
|
@@ -378,7 +379,7 @@ struct kinfo_proc {
|
|
|
378
379
|
#define KI_MAXEMULLEN 16
|
|
379
380
|
#define KI_LNAMELEN 20 /* extra 4 for alignment */
|
|
380
381
|
|
|
381
|
-
#define
|
|
382
|
+
#define KI_NOCPU (~(uint64_t)0)
|
|
382
383
|
|
|
383
384
|
typedef struct {
|
|
384
385
|
uint32_t __bits[4];
|
|
@@ -779,6 +780,12 @@ struct hashstat_sysctl {
|
|
|
779
780
|
typedef int (*hashstat_func_t)(struct hashstat_sysctl *, bool);
|
|
780
781
|
void hashstat_register(const char *, hashstat_func_t);
|
|
781
782
|
|
|
783
|
+
/*
|
|
784
|
+
* kern.entropy.* variables
|
|
785
|
+
*/
|
|
786
|
+
|
|
787
|
+
#define KERN_ENTROPY_EPOCH 1 /* int: PRNG reseed epoch */
|
|
788
|
+
|
|
782
789
|
/*
|
|
783
790
|
* CTL_VM identifiers in <uvm/uvm_param.h>
|
|
784
791
|
*/
|
|
@@ -929,7 +936,7 @@ struct kinfo_vmentry {
|
|
|
929
936
|
#define PROC_PID_LIMIT_CORE (RLIMIT_CORE+1)
|
|
930
937
|
#define PROC_PID_LIMIT_RSS (RLIMIT_RSS+1)
|
|
931
938
|
#define PROC_PID_LIMIT_MEMLOCK (RLIMIT_MEMLOCK+1)
|
|
932
|
-
#define
|
|
939
|
+
#define PROC_PID_LIMIT_NPROC (RLIMIT_NPROC+1)
|
|
933
940
|
#define PROC_PID_LIMIT_NOFILE (RLIMIT_NOFILE+1)
|
|
934
941
|
#define PROC_PID_LIMIT_SBSIZE (RLIMIT_SBSIZE+1)
|
|
935
942
|
#define PROC_PID_LIMIT_AS (RLIMIT_AS+1)
|
|
@@ -1004,15 +1011,15 @@ extern struct ctldebug debug10, debug11, debug12, debug13, debug14;
|
|
|
1004
1011
|
extern struct ctldebug debug15, debug16, debug17, debug18, debug19;
|
|
1005
1012
|
#endif /* DEBUG */
|
|
1006
1013
|
|
|
1007
|
-
#define
|
|
1014
|
+
#define SYSCTLFN_PROTO const int *, u_int, void *, \
|
|
1008
1015
|
size_t *, const void *, size_t, \
|
|
1009
1016
|
const int *, struct lwp *, const struct sysctlnode *
|
|
1010
|
-
#define
|
|
1017
|
+
#define SYSCTLFN_ARGS const int *name, u_int namelen, \
|
|
1011
1018
|
void *oldp, size_t *oldlenp, \
|
|
1012
1019
|
const void *newp, size_t newlen, \
|
|
1013
1020
|
const int *oname, struct lwp *l, \
|
|
1014
1021
|
const struct sysctlnode *rnode
|
|
1015
|
-
#define
|
|
1022
|
+
#define SYSCTLFN_CALL(node) name, namelen, oldp, \
|
|
1016
1023
|
oldlenp, newp, newlen, \
|
|
1017
1024
|
oname, l, node
|
|
1018
1025
|
|
|
@@ -1024,7 +1031,7 @@ struct sysctl_setup_chain {
|
|
|
1024
1031
|
LIST_ENTRY(sysctl_setup_chain) ssc_entries;
|
|
1025
1032
|
};
|
|
1026
1033
|
LIST_HEAD(sysctl_boot_chain, sysctl_setup_chain);
|
|
1027
|
-
#define
|
|
1034
|
+
#define _SYSCTL_REGISTER(name) \
|
|
1028
1035
|
static struct sysctl_setup_chain __CONCAT(ssc,name) = { \
|
|
1029
1036
|
.ssc_func = name, \
|
|
1030
1037
|
}; \
|
|
@@ -1048,16 +1055,16 @@ static void sysctldtor_##name(void) \
|
|
|
1048
1055
|
|
|
1049
1056
|
#else /* RUMP_USE_CTOR */
|
|
1050
1057
|
|
|
1051
|
-
#define
|
|
1058
|
+
#define _SYSCTL_REGISTER(name) __link_set_add_text(sysctl_funcs, name);
|
|
1052
1059
|
|
|
1053
1060
|
#endif /* RUMP_USE_CTOR */
|
|
1054
1061
|
|
|
1055
1062
|
#ifdef _MODULE
|
|
1056
1063
|
|
|
1057
|
-
#define
|
|
1064
|
+
#define SYSCTL_SETUP_PROTO(name) \
|
|
1058
1065
|
void name(struct sysctllog **)
|
|
1059
1066
|
#ifdef SYSCTL_DEBUG_SETUP
|
|
1060
|
-
#define
|
|
1067
|
+
#define SYSCTL_SETUP(name, desc) \
|
|
1061
1068
|
SYSCTL_SETUP_PROTO(name); \
|
|
1062
1069
|
static void __CONCAT(___,name)(struct sysctllog **); \
|
|
1063
1070
|
void name(struct sysctllog **clog) { \
|
|
@@ -1066,7 +1073,7 @@ static void sysctldtor_##name(void) \
|
|
|
1066
1073
|
_SYSCTL_REGISTER(name); \
|
|
1067
1074
|
static void __CONCAT(___,name)(struct sysctllog **clog)
|
|
1068
1075
|
#else /* !SYSCTL_DEBUG_SETUP */
|
|
1069
|
-
#define
|
|
1076
|
+
#define SYSCTL_SETUP(name, desc) \
|
|
1070
1077
|
SYSCTL_SETUP_PROTO(name); \
|
|
1071
1078
|
_SYSCTL_REGISTER(name); \
|
|
1072
1079
|
void name(struct sysctllog **clog)
|
|
@@ -1074,9 +1081,9 @@ static void sysctldtor_##name(void) \
|
|
|
1074
1081
|
|
|
1075
1082
|
#else /* !_MODULE */
|
|
1076
1083
|
|
|
1077
|
-
#define
|
|
1084
|
+
#define SYSCTL_SETUP_PROTO(name)
|
|
1078
1085
|
#ifdef SYSCTL_DEBUG_SETUP
|
|
1079
|
-
#define
|
|
1086
|
+
#define SYSCTL_SETUP(name, desc) \
|
|
1080
1087
|
static void __CONCAT(___,name)(struct sysctllog **); \
|
|
1081
1088
|
static void name(struct sysctllog **clog) { \
|
|
1082
1089
|
printf("%s\n", desc); \
|
|
@@ -1084,7 +1091,7 @@ static void sysctldtor_##name(void) \
|
|
|
1084
1091
|
_SYSCTL_REGISTER(name); \
|
|
1085
1092
|
static void __CONCAT(___,name)(struct sysctllog **clog)
|
|
1086
1093
|
#else /* !SYSCTL_DEBUG_SETUP */
|
|
1087
|
-
#define
|
|
1094
|
+
#define SYSCTL_SETUP(name, desc) \
|
|
1088
1095
|
static void name(struct sysctllog **); \
|
|
1089
1096
|
_SYSCTL_REGISTER(name); \
|
|
1090
1097
|
static void name(struct sysctllog **clog)
|
|
@@ -1147,23 +1154,23 @@ int sysctl_createv(struct sysctllog **, int,
|
|
|
1147
1154
|
sysctlfn, u_quad_t, void *, size_t, ...);
|
|
1148
1155
|
int sysctl_destroyv(struct sysctlnode *, ...);
|
|
1149
1156
|
|
|
1150
|
-
#define
|
|
1157
|
+
#define VERIFY_FN(ctl_type, c_type) \
|
|
1151
1158
|
__always_inline static __inline void * \
|
|
1152
1159
|
__sysctl_verify_##ctl_type##_arg(c_type *arg) \
|
|
1153
1160
|
{ \
|
|
1154
1161
|
return arg; \
|
|
1155
1162
|
}
|
|
1156
1163
|
|
|
1157
|
-
VERIFY_FN(CTLTYPE_NODE, struct sysctlnode)
|
|
1158
|
-
VERIFY_FN(CTLTYPE_INT, int)
|
|
1159
|
-
VERIFY_FN(CTLTYPE_STRING, char)
|
|
1160
|
-
VERIFY_FN(CTLTYPE_QUAD, int64_t)
|
|
1161
|
-
VERIFY_FN(CTLTYPE_STRUCT, void)
|
|
1162
|
-
VERIFY_FN(CTLTYPE_BOOL, bool)
|
|
1163
|
-
VERIFY_FN(CTLTYPE_LONG, long)
|
|
1164
|
+
VERIFY_FN(CTLTYPE_NODE, struct sysctlnode)
|
|
1165
|
+
VERIFY_FN(CTLTYPE_INT, int)
|
|
1166
|
+
VERIFY_FN(CTLTYPE_STRING, char)
|
|
1167
|
+
VERIFY_FN(CTLTYPE_QUAD, int64_t)
|
|
1168
|
+
VERIFY_FN(CTLTYPE_STRUCT, void)
|
|
1169
|
+
VERIFY_FN(CTLTYPE_BOOL, bool)
|
|
1170
|
+
VERIFY_FN(CTLTYPE_LONG, long)
|
|
1164
1171
|
#undef VERIFY_FN
|
|
1165
1172
|
|
|
1166
|
-
#define
|
|
1173
|
+
#define sysctl_createv(lg, cfl, rn, cn, fl, type, nm, desc, fn, qv, newp, ...) \
|
|
1167
1174
|
sysctl_createv(lg, cfl, rn, cn, fl, type, nm, desc, fn, qv, \
|
|
1168
1175
|
__sysctl_verify_##type##_arg(newp), __VA_ARGS__)
|
|
1169
1176
|
|
|
@@ -1176,9 +1183,9 @@ void sysctl_teardown(struct sysctllog **);
|
|
|
1176
1183
|
void sysctl_log_print(const struct sysctllog *);
|
|
1177
1184
|
|
|
1178
1185
|
#ifdef SYSCTL_INCLUDE_DESCR
|
|
1179
|
-
#define
|
|
1186
|
+
#define SYSCTL_DESCR(s) s
|
|
1180
1187
|
#else /* SYSCTL_INCLUDE_DESCR */
|
|
1181
|
-
#define
|
|
1188
|
+
#define SYSCTL_DESCR(s) NULL
|
|
1182
1189
|
#endif /* SYSCTL_INCLUDE_DESCR */
|
|
1183
1190
|
|
|
1184
1191
|
/*
|
|
@@ -1231,6 +1238,7 @@ int proc_compare(const struct kinfo_proc2 *, const struct kinfo_lwp *,
|
|
|
1231
1238
|
const struct kinfo_proc2 *, const struct kinfo_lwp *);
|
|
1232
1239
|
void *asysctl(const int *, size_t, size_t *);
|
|
1233
1240
|
void *asysctlbyname(const char *, size_t *);
|
|
1241
|
+
int __learn_tree(int *, u_int, struct sysctlnode *);
|
|
1234
1242
|
__END_DECLS
|
|
1235
1243
|
|
|
1236
1244
|
#endif /* !_KERNEL */
|
|
@@ -1246,19 +1254,19 @@ __END_DECLS
|
|
|
1246
1254
|
* the expense of making things bigger on 32 bit platforms.
|
|
1247
1255
|
*/
|
|
1248
1256
|
#if defined(_LP64) || (BYTE_ORDER == LITTLE_ENDIAN)
|
|
1249
|
-
#define
|
|
1257
|
+
#define __sysc_pad(type) union { uint64_t __sysc_upad; \
|
|
1250
1258
|
struct { type __sysc_sdatum; } __sysc_ustr; }
|
|
1251
1259
|
#else
|
|
1252
|
-
#define
|
|
1260
|
+
#define __sysc_pad(type) union { uint64_t __sysc_upad; \
|
|
1253
1261
|
struct { uint32_t __sysc_spad; type __sysc_sdatum; } __sysc_ustr; }
|
|
1254
1262
|
#endif
|
|
1255
|
-
#define
|
|
1263
|
+
#define __sysc_unpad(x) x.__sysc_ustr.__sysc_sdatum
|
|
1256
1264
|
|
|
1257
1265
|
/*
|
|
1258
1266
|
* The following is for gcc2, which doesn't handle __sysc_unpad().
|
|
1259
1267
|
* The code gets a little less ugly this way.
|
|
1260
1268
|
*/
|
|
1261
|
-
#define
|
|
1269
|
+
#define sysc_init_field(field, value) \
|
|
1262
1270
|
.field = { .__sysc_ustr = { .__sysc_sdatum = (value), }, }
|
|
1263
1271
|
|
|
1264
1272
|
struct sysctlnode {
|
|
@@ -1291,26 +1299,26 @@ struct sysctlnode {
|
|
|
1291
1299
|
/*
|
|
1292
1300
|
* padded data
|
|
1293
1301
|
*/
|
|
1294
|
-
#define
|
|
1295
|
-
#define
|
|
1296
|
-
#define
|
|
1297
|
-
#define
|
|
1298
|
-
#define
|
|
1299
|
-
#define
|
|
1300
|
-
#define
|
|
1302
|
+
#define suc_child __sysc_unpad(_suc_child)
|
|
1303
|
+
#define sud_data __sysc_unpad(_sud_data)
|
|
1304
|
+
#define sud_offset __sysc_unpad(_sud_offset)
|
|
1305
|
+
#define sysctl_size __sysc_unpad(_sysctl_size)
|
|
1306
|
+
#define sysctl_func __sysc_unpad(_sysctl_func)
|
|
1307
|
+
#define sysctl_parent __sysc_unpad(_sysctl_parent)
|
|
1308
|
+
#define sysctl_desc __sysc_unpad(_sysctl_desc)
|
|
1301
1309
|
|
|
1302
1310
|
/*
|
|
1303
1311
|
* nested data (may also be padded)
|
|
1304
1312
|
*/
|
|
1305
|
-
#define
|
|
1306
|
-
#define
|
|
1307
|
-
#define
|
|
1308
|
-
#define
|
|
1309
|
-
#define
|
|
1310
|
-
#define
|
|
1311
|
-
#define
|
|
1312
|
-
#define
|
|
1313
|
-
#define
|
|
1313
|
+
#define sysctl_csize sysctl_un.scu_child.suc_csize
|
|
1314
|
+
#define sysctl_clen sysctl_un.scu_child.suc_clen
|
|
1315
|
+
#define sysctl_child sysctl_un.scu_child.suc_child
|
|
1316
|
+
#define sysctl_data sysctl_un.scu_data.sud_data
|
|
1317
|
+
#define sysctl_offset sysctl_un.scu_data.sud_offset
|
|
1318
|
+
#define sysctl_alias sysctl_un.scu_alias
|
|
1319
|
+
#define sysctl_idata sysctl_un.scu_idata
|
|
1320
|
+
#define sysctl_qdata sysctl_un.scu_qdata
|
|
1321
|
+
#define sysctl_bdata sysctl_un.scu_bdata
|
|
1314
1322
|
|
|
1315
1323
|
/*
|
|
1316
1324
|
* when requesting a description of a node (a set of nodes, actually),
|
|
@@ -1328,13 +1336,13 @@ struct sysctldesc {
|
|
|
1328
1336
|
char descr_str[1]; /* not really 1...see above */
|
|
1329
1337
|
};
|
|
1330
1338
|
|
|
1331
|
-
#define
|
|
1332
|
-
#define
|
|
1339
|
+
#define __sysc_desc_roundup(x) ((((x) - 1) | (sizeof(int32_t) - 1)) + 1)
|
|
1340
|
+
#define __sysc_desc_len(l) (offsetof(struct sysctldesc, descr_str) +\
|
|
1333
1341
|
__sysc_desc_roundup(l))
|
|
1334
|
-
#define
|
|
1342
|
+
#define __sysc_desc_adv(d, l) \
|
|
1335
1343
|
(/*XXXUNCONST ptr cast*/(struct sysctldesc *) \
|
|
1336
1344
|
__UNCONST(((const char*)(d)) + __sysc_desc_len(l)))
|
|
1337
|
-
#define
|
|
1345
|
+
#define NEXT_DESCR(d) __sysc_desc_adv((d), (d)->descr_len)
|
|
1338
1346
|
|
|
1339
1347
|
static __inline const struct sysctlnode *
|
|
1340
1348
|
sysctl_rootof(const struct sysctlnode *n)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: syslimits.h,v 1.
|
|
1
|
+
/* $NetBSD: syslimits.h,v 1.29 2024/12/22 23:18:29 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1988, 1993
|
|
@@ -69,6 +69,13 @@
|
|
|
69
69
|
#define LINE_MAX 2048 /* max bytes in an input line */
|
|
70
70
|
#define RE_DUP_MAX 255 /* max RE's in interval notation */
|
|
71
71
|
|
|
72
|
+
/*
|
|
73
|
+
* POSIX Realtime Extension (1003.1b-1993)
|
|
74
|
+
*/
|
|
75
|
+
#if (_POSIX_C_SOURCE - 0) >= 199309L || defined(_NETBSD_SOURCE)
|
|
76
|
+
#define DELAYTIMER_MAX 32 /* max timer_overrun() value */
|
|
77
|
+
#endif
|
|
78
|
+
|
|
72
79
|
/*
|
|
73
80
|
* IEEE Std 1003.1c-95, adopted in X/Open CAE Specification Issue 5 Version 2
|
|
74
81
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: syslog.h,v 1.
|
|
1
|
+
/* $NetBSD: syslog.h,v 1.44 2024/08/21 16:30:27 gutteridge Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1982, 1986, 1988, 1993
|
|
@@ -62,12 +62,11 @@
|
|
|
62
62
|
#define LOG_PRIMASK 0x07 /* mask to extract priority part (internal) */
|
|
63
63
|
/* extract priority */
|
|
64
64
|
#define LOG_PRI(p) ((p) & LOG_PRIMASK)
|
|
65
|
-
#define LOG_MAKEPRI(fac, pri) (((fac) << 3) | (pri))
|
|
66
65
|
|
|
67
66
|
#ifdef SYSLOG_NAMES
|
|
68
67
|
#define INTERNAL_NOPRI 0x10 /* the "no priority" priority */
|
|
69
68
|
/* mark "facility" */
|
|
70
|
-
#define INTERNAL_MARK
|
|
69
|
+
#define INTERNAL_MARK (LOG_NFACILITIES<<3)
|
|
71
70
|
typedef struct _code {
|
|
72
71
|
const char *c_name;
|
|
73
72
|
int c_val;
|
|
@@ -222,11 +221,11 @@ void vsyslogp_r(int, struct syslog_data *, const char *, const char *,
|
|
|
222
221
|
const char *, __va_list) __RENAME(__vsyslogp_r60) __sysloglike(5, 0);
|
|
223
222
|
void syslog_ss(int, struct syslog_data *, const char *, ...)
|
|
224
223
|
__RENAME(__syslog_ss60) __sysloglike(3, 4);
|
|
225
|
-
void vsyslog_ss(int, struct syslog_data *, const char *, va_list)
|
|
226
|
-
__RENAME(__vsyslog_ss60) __sysloglike(3, 0);
|
|
227
|
-
void syslogp_ss(int, struct syslog_data *, const char *, const char *,
|
|
224
|
+
void vsyslog_ss(int, struct syslog_data *, const char *, va_list)
|
|
225
|
+
__RENAME(__vsyslog_ss60) __sysloglike(3, 0);
|
|
226
|
+
void syslogp_ss(int, struct syslog_data *, const char *, const char *,
|
|
228
227
|
const char *, ...) __RENAME(__syslogp_ss60) __sysloglike(5, 0);
|
|
229
|
-
void vsyslogp_ss(int, struct syslog_data *, const char *, const char *,
|
|
228
|
+
void vsyslogp_ss(int, struct syslog_data *, const char *, const char *,
|
|
230
229
|
const char *, va_list) __RENAME(__vsyslogp_ss60) __sysloglike(5, 0);
|
|
231
230
|
#endif
|
|
232
231
|
void syslogp(int, const char *, const char *, const char *, ...)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: time.h,v 1.
|
|
1
|
+
/* $NetBSD: time.h,v 1.82 2024/12/22 23:24:20 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1982, 1986, 1993
|
|
@@ -52,11 +52,11 @@ struct timeval {
|
|
|
52
52
|
#define TIMEVAL_TO_TIMESPEC(tv, ts) do { \
|
|
53
53
|
(ts)->tv_sec = (tv)->tv_sec; \
|
|
54
54
|
(ts)->tv_nsec = (tv)->tv_usec * 1000; \
|
|
55
|
-
} while (
|
|
55
|
+
} while (0)
|
|
56
56
|
#define TIMESPEC_TO_TIMEVAL(tv, ts) do { \
|
|
57
57
|
(tv)->tv_sec = (ts)->tv_sec; \
|
|
58
58
|
(tv)->tv_usec = (suseconds_t)(ts)->tv_nsec / 1000; \
|
|
59
|
-
} while (
|
|
59
|
+
} while (0)
|
|
60
60
|
|
|
61
61
|
/*
|
|
62
62
|
* Note: timezone is obsolete. All timezone handling is now in
|
|
@@ -82,7 +82,7 @@ struct timezone {
|
|
|
82
82
|
(vvp)->tv_sec++; \
|
|
83
83
|
(vvp)->tv_usec -= 1000000; \
|
|
84
84
|
} \
|
|
85
|
-
} while (
|
|
85
|
+
} while (0)
|
|
86
86
|
#define timersub(tvp, uvp, vvp) \
|
|
87
87
|
do { \
|
|
88
88
|
(vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
|
|
@@ -91,7 +91,7 @@ struct timezone {
|
|
|
91
91
|
(vvp)->tv_sec--; \
|
|
92
92
|
(vvp)->tv_usec += 1000000; \
|
|
93
93
|
} \
|
|
94
|
-
} while (
|
|
94
|
+
} while (0)
|
|
95
95
|
|
|
96
96
|
/*
|
|
97
97
|
* hide bintime for _STANDALONE because this header is used for hpcboot.exe,
|
|
@@ -254,7 +254,7 @@ ns2bintime(uint64_t ns)
|
|
|
254
254
|
(vsp)->tv_sec++; \
|
|
255
255
|
(vsp)->tv_nsec -= 1000000000L; \
|
|
256
256
|
} \
|
|
257
|
-
} while (
|
|
257
|
+
} while (0)
|
|
258
258
|
#define timespecsub(tsp, usp, vsp) \
|
|
259
259
|
do { \
|
|
260
260
|
(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
|
|
@@ -263,10 +263,11 @@ ns2bintime(uint64_t ns)
|
|
|
263
263
|
(vsp)->tv_sec--; \
|
|
264
264
|
(vsp)->tv_nsec += 1000000000L; \
|
|
265
265
|
} \
|
|
266
|
-
} while (
|
|
266
|
+
} while (0)
|
|
267
267
|
#define timespec2ns(x) (((uint64_t)(x)->tv_sec) * 1000000000L + (x)->tv_nsec)
|
|
268
268
|
|
|
269
|
-
#
|
|
269
|
+
#if defined(_KERNEL) || defined(_TIME_TESTING)
|
|
270
|
+
#include <sys/stdbool.h>
|
|
270
271
|
bool timespecaddok(const struct timespec *, const struct timespec *) __pure;
|
|
271
272
|
bool timespecsubok(const struct timespec *, const struct timespec *) __pure;
|
|
272
273
|
#endif
|
|
@@ -310,6 +311,7 @@ struct itimerspec {
|
|
|
310
311
|
#define TIMER_ABSTIME 0x1 /* absolute timer */
|
|
311
312
|
|
|
312
313
|
#ifdef _KERNEL
|
|
314
|
+
#include <sys/timearith.h>
|
|
313
315
|
#include <sys/timevar.h>
|
|
314
316
|
#else /* !_KERNEL */
|
|
315
317
|
#ifndef _STANDALONE
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: tree.h,v 1.
|
|
1
|
+
/* $NetBSD: tree.h,v 1.21 2024/05/12 10:34:56 rillig Exp $ */
|
|
2
2
|
/* $OpenBSD: tree.h,v 1.13 2011/07/09 00:19:45 pirofti Exp $ */
|
|
3
3
|
/*
|
|
4
4
|
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
|
|
@@ -65,7 +65,7 @@ struct name { \
|
|
|
65
65
|
|
|
66
66
|
#define SPLAY_INIT(root) do { \
|
|
67
67
|
(root)->sph_root = NULL; \
|
|
68
|
-
} while (
|
|
68
|
+
} while (0)
|
|
69
69
|
|
|
70
70
|
#define SPLAY_ENTRY(type) \
|
|
71
71
|
struct { \
|
|
@@ -83,32 +83,32 @@ struct { \
|
|
|
83
83
|
SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
|
|
84
84
|
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
|
|
85
85
|
(head)->sph_root = tmp; \
|
|
86
|
-
} while (
|
|
86
|
+
} while (0)
|
|
87
87
|
|
|
88
88
|
#define SPLAY_ROTATE_LEFT(head, tmp, field) do { \
|
|
89
89
|
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
|
|
90
90
|
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
|
|
91
91
|
(head)->sph_root = tmp; \
|
|
92
|
-
} while (
|
|
92
|
+
} while (0)
|
|
93
93
|
|
|
94
94
|
#define SPLAY_LINKLEFT(head, tmp, field) do { \
|
|
95
95
|
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
|
|
96
96
|
tmp = (head)->sph_root; \
|
|
97
97
|
(head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \
|
|
98
|
-
} while (
|
|
98
|
+
} while (0)
|
|
99
99
|
|
|
100
100
|
#define SPLAY_LINKRIGHT(head, tmp, field) do { \
|
|
101
101
|
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
|
|
102
102
|
tmp = (head)->sph_root; \
|
|
103
103
|
(head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
|
|
104
|
-
} while (
|
|
104
|
+
} while (0)
|
|
105
105
|
|
|
106
106
|
#define SPLAY_ASSEMBLE(head, node, left, right, field) do { \
|
|
107
107
|
SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \
|
|
108
108
|
SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\
|
|
109
109
|
SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \
|
|
110
110
|
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \
|
|
111
|
-
} while (
|
|
111
|
+
} while (0)
|
|
112
112
|
|
|
113
113
|
/* Generates prototypes and inline functions */
|
|
114
114
|
|
|
@@ -299,7 +299,7 @@ struct name { \
|
|
|
299
299
|
|
|
300
300
|
#define RB_INIT(root) do { \
|
|
301
301
|
(root)->rbh_root = NULL; \
|
|
302
|
-
} while (
|
|
302
|
+
} while (0)
|
|
303
303
|
|
|
304
304
|
#define RB_BLACK 0
|
|
305
305
|
#define RB_RED 1
|
|
@@ -322,15 +322,15 @@ struct { \
|
|
|
322
322
|
RB_PARENT(elm, field) = parent; \
|
|
323
323
|
RB_LEFT(elm, field) = RB_RIGHT(elm, field) = NULL; \
|
|
324
324
|
RB_COLOR(elm, field) = RB_RED; \
|
|
325
|
-
} while (
|
|
325
|
+
} while (0)
|
|
326
326
|
|
|
327
327
|
#define RB_SET_BLACKRED(black, red, field) do { \
|
|
328
328
|
RB_COLOR(black, field) = RB_BLACK; \
|
|
329
329
|
RB_COLOR(red, field) = RB_RED; \
|
|
330
|
-
} while (
|
|
330
|
+
} while (0)
|
|
331
331
|
|
|
332
332
|
#ifndef RB_AUGMENT
|
|
333
|
-
#define RB_AUGMENT(x) do {} while (
|
|
333
|
+
#define RB_AUGMENT(x) do {} while (0)
|
|
334
334
|
#endif
|
|
335
335
|
|
|
336
336
|
#define RB_ROTATE_LEFT(head, elm, tmp, field) do { \
|
|
@@ -351,7 +351,7 @@ struct { \
|
|
|
351
351
|
RB_AUGMENT(tmp); \
|
|
352
352
|
if ((RB_PARENT(tmp, field))) \
|
|
353
353
|
RB_AUGMENT(RB_PARENT(tmp, field)); \
|
|
354
|
-
} while (
|
|
354
|
+
} while (0)
|
|
355
355
|
|
|
356
356
|
#define RB_ROTATE_RIGHT(head, elm, tmp, field) do { \
|
|
357
357
|
(tmp) = RB_LEFT(elm, field); \
|
|
@@ -371,7 +371,7 @@ struct { \
|
|
|
371
371
|
RB_AUGMENT(tmp); \
|
|
372
372
|
if ((RB_PARENT(tmp, field))) \
|
|
373
373
|
RB_AUGMENT(RB_PARENT(tmp, field)); \
|
|
374
|
-
} while (
|
|
374
|
+
} while (0)
|
|
375
375
|
|
|
376
376
|
/* Generates prototypes and inline functions */
|
|
377
377
|
#define RB_PROTOTYPE(name, type, field, cmp) \
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: tty.h,v 1.
|
|
1
|
+
/* $NetBSD: tty.h,v 1.104 2023/04/12 06:35:26 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
|
@@ -285,7 +285,7 @@ int ttstart(struct tty *);
|
|
|
285
285
|
void ttwakeup(struct tty *);
|
|
286
286
|
int ttwrite(struct tty *, struct uio *, int);
|
|
287
287
|
void ttychars(struct tty *);
|
|
288
|
-
int ttycheckoutq(struct tty
|
|
288
|
+
int ttycheckoutq(struct tty *);
|
|
289
289
|
void ttycancel(struct tty *);
|
|
290
290
|
int ttyclose(struct tty *);
|
|
291
291
|
void ttyflush(struct tty *, int);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ttycom.h,v 1.
|
|
1
|
+
/* $NetBSD: ttycom.h,v 1.23 2024/10/30 15:56:12 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1982, 1986, 1990, 1993, 1994
|
|
@@ -59,6 +59,12 @@ struct winsize {
|
|
|
59
59
|
};
|
|
60
60
|
#endif /* !_POSIX_SYS_TTYCOM_H_ */
|
|
61
61
|
|
|
62
|
+
#include <sys/featuretest.h>
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
* XXX This is revolting -- should not depend on order of includes via
|
|
66
|
+
* _SYS_IOCTL_H_.
|
|
67
|
+
*/
|
|
62
68
|
#if defined(_NETBSD_SOURCE) || defined(_SYS_IOCTL_H_)
|
|
63
69
|
|
|
64
70
|
#ifndef _NETBSD_SYS_TTYCOM_H_
|