rt+x86_64 +linux

The rt (runtime) module provides low-level, non-portable access to the host, and support code for the Hare compiler and standard library. The use of this module is not recommended for most user programs, and any program which uses rt is unlikely to be portable. However, any program which needs to make syscalls directly will have to use rt to do so.

Documentation for most interfaces is not provided; refer to the host documentation (e.g. Linux man pages) instead.

Index

Types

type frame;
type meta;
type st;

// Undocumented types:
type arch_jmpbuf;
type cc;
type clock_t;
type cmsg;
type cmsghdr;
type cpu_set;
type cpuid_ecxflags;
type cpuid_edxflags;
type cpuid_vendor;
type dev_t;
type dirent64;
type epoll_data;
type epoll_event;
type f_owner_ex;
type fcntl_arg;
type gid_t;
type id_t;
type in6_addr;
type in_addr;
type ino_t;
type inotify_event;
type ioctl_arg;
type iovec;
type itimerspec;
type jmpbuf;
type mode_t;
type msghdr;
type nfds_t;
type nlink_t;
type off_t;
type open_how;
type path;
type pid_t;
type pollfd;
type prctl_mm_map;
type ptrace_peeksiginfo_args;
type ptrace_syscall_info;
type rlim_t;
type rlimit;
type rusage;
type sa_family_t;
type si_band_t;
type sigact;
type siginfo;
type signalfd_siginfo;
type sigset;
type sigval;
type slice;
type sockaddr;
type sockaddr_in;
type sockaddr_in6;
type sockaddr_nl;
type sockaddr_un;
type socklen_t;
type st_flock;
type suseconds_t;
type tcflag;
type termios;
type time_t;
type timer_t;
type timespec;
type timeval;
type uid_t;
type utsname;
type winsize;

Errors

type errno;

// Undocumented Errors:
type cpuid_unknownvendor;

Constants

const AF_ALG: u16;
const AF_APPLETALK: u16;
const AF_ASH: u16;
const AF_ATMPVC: u16;
const AF_ATMSVC: u16;
const AF_AX25: u16;
const AF_BLUETOOTH: u16;
const AF_BRIDGE: u16;
const AF_CAIF: u16;
const AF_CAN: u16;
const AF_DECnet: u16;
const AF_ECONET: u16;
const AF_IB: u16;
const AF_IEEE802154: u16;
const AF_INET: u16;
const AF_INET6: u16;
const AF_IPX: u16;
const AF_IRDA: u16;
const AF_ISDN: u16;
const AF_IUCV: u16;
const AF_KCM: u16;
const AF_KEY: u16;
const AF_LLC: u16;
const AF_LOCAL: u16;
const AF_MPLS: u16;
const AF_NETBEUI: u16;
const AF_NETLINK: u16;
const AF_NETROM: u16;
const AF_NFC: u16;
const AF_PACKET: u16;
const AF_PHONET: u16;
const AF_PPPOX: u16;
const AF_QIPCRTR: u16;
const AF_RDS: u16;
const AF_ROSE: u16;
const AF_RXRPC: u16;
const AF_SECURITY: u16;
const AF_SMC: u16;
const AF_SNA: u16;
const AF_TIPC: u16;
const AF_UNSPEC: u16;
const AF_VSOCK: u16;
const AF_WANPIPE: u16;
const AF_X25: u16;
const AF_XDP: u16;
const EPOLLIN: u32;
const EPOLL_CTL_ADD: int;
const INACCESS: u32;
const IN_NONBLOCK: int;
const IPPROTO_AH: int;
const IPPROTO_BEETPH: int;
const IPPROTO_COMP: int;
const IPPROTO_DCCP: int;
const IPPROTO_EGP: int;
const IPPROTO_ENCAP: int;
const IPPROTO_ESP: int;
const IPPROTO_ETHERNET: int;
const IPPROTO_GRE: int;
const IPPROTO_ICMP: int;
const IPPROTO_IDP: int;
const IPPROTO_IGMP: int;
const IPPROTO_IP: int;
const IPPROTO_IPIP: int;
const IPPROTO_IPV6: int;
const IPPROTO_MPLS: int;
const IPPROTO_MPTCP: int;
const IPPROTO_MTP: int;
const IPPROTO_PIM: int;
const IPPROTO_PUP: int;
const IPPROTO_RAW: int;
const IPPROTO_RSVP: int;
const IPPROTO_SCTP: int;
const IPPROTO_TCP: int;
const IPPROTO_TP: int;
const IPPROTO_UDP: int;
const IPPROTO_UDPLITE: int;
const LOCK_SH: int;
const MSG_BATCH: int;
const MSG_CMSG_CLOEXEC: int;
const MSG_CTRUNC: int;
const MSG_EOF: int;
const MSG_EOR: int;
const MSG_FASTOPEN: int;
const MSG_FIN: int;
const MSG_MORE: int;
const MSG_NOSIGNAL: int;
const MSG_OOB: int;
const MSG_RST: int;
const MSG_SENDPAGE_DECRYPTED: int;
const MSG_SENDPAGE_NOPOLICY: int;
const MSG_SENDPAGE_NOTLAST: int;
const MSG_TRUNC: int;
const MSG_WAITALL: int;
const MSG_WAITFORONE: int;
const MSG_ZEROCOPY: int;
const O_RDONLY: int;
const SOCK_STREAM: int;
const SOL_SOCKET: int;
const SO_DEBUG: int;
const SO_PASSCRED: int;

// Undocumented constants:
const AF_ROUTE: u16;
const AF_UNIX: u16;
const AT_EACCESS: int;
const AT_EMPTY_PATH: int;
const AT_FDCWD: int;
const AT_NO_AUTOMOUNT: int;
const AT_RECURSIVE: int;
const AT_REMOVEDIR: int;
const AT_STATX_DONT_SYNC: int;
const AT_STATX_FORCE_SYNC: int;
const AT_STATX_SYNC_AS_STAT: int;
const AT_STATX_SYNC_TYPE: int;
const AT_SYMLINK_FOLLOW: int;
const AT_SYMLINK_NOFOLLOW: int;
const CLOCK_BOOTTIME: int;
const CLOCK_BOOTTIME_ALARM: int;
const CLOCK_MONOTONIC: int;
const CLOCK_MONOTONIC_COARSE: int;
const CLOCK_MONOTONIC_RAW: int;
const CLOCK_PROCESS_CPUTIME_ID: int;
const CLOCK_REALTIME: int;
const CLOCK_REALTIME_ALARM: int;
const CLOCK_REALTIME_COARSE: int;
const CLOCK_SGI_CYCLE: int;
const CLOCK_TAI: int;
const CLOCK_THREAD_CPUTIME_ID: int;
const DT_BLK: u8;
const DT_CHR: u8;
const DT_DIR: u8;
const DT_FIFO: u8;
const DT_LNK: u8;
const DT_REG: u8;
const DT_SOCK: u8;
const DT_UNKNOWN: u8;
const E2BIG: errno;
const EACCES: errno;
const EADDRINUSE: errno;
const EADDRNOTAVAIL: errno;
const EADV: errno;
const EAFNOSUPPORT: errno;
const EAGAIN: errno;
const EALREADY: errno;
const EBADE: errno;
const EBADF: errno;
const EBADFD: errno;
const EBADMSG: errno;
const EBADR: errno;
const EBADRQC: errno;
const EBADSLT: errno;
const EBFONT: errno;
const EBUSY: errno;
const ECANCELED: errno;
const ECHILD: errno;
const ECHRNG: errno;
const ECOMM: errno;
const ECONNABORTED: errno;
const ECONNREFUSED: errno;
const ECONNRESET: errno;
const EDEADLK: errno;
const EDEADLOCK: int;
const EDESTADDRREQ: errno;
const EDOM: errno;
const EDOTDOT: errno;
const EDQUOT: errno;
const EEXIST: errno;
const EFAULT: errno;
const EFBIG: errno;
const EFD_CLOEXEC: int;
const EFD_NONBLOCK: int;
const EFD_SEMAPHORE: int;
const EHOSTDOWN: errno;
const EHOSTUNREACH: errno;
const EHWPOISON: errno;
const EIDRM: errno;
const EILSEQ: errno;
const EINPROGRESS: errno;
const EINTR: errno;
const EINVAL: errno;
const EIO: errno;
const EISCONN: errno;
const EISDIR: errno;
const EISNAM: errno;
const EKEYEXPIRED: errno;
const EKEYREJECTED: errno;
const EKEYREVOKED: errno;
const EL2HLT: errno;
const EL2NSYNC: errno;
const EL3HLT: errno;
const EL3RST: errno;
const ELIBACC: errno;
const ELIBBAD: errno;
const ELIBEXEC: errno;
const ELIBMAX: errno;
const ELIBSCN: errno;
const ELNRNG: errno;
const ELOOP: errno;
const EMEDIUMTYPE: errno;
const EMFILE: errno;
const EMLINK: errno;
const EMSGSIZE: errno;
const EMULTIHOP: errno;
const ENAMETOOLONG: errno;
const ENAVAIL: errno;
const ENETDOWN: errno;
const ENETRESET: errno;
const ENETUNREACH: errno;
const ENFILE: errno;
const ENOANO: errno;
const ENOBUFS: errno;
const ENOCSI: errno;
const ENODATA: errno;
const ENODEV: errno;
const ENOENT: errno;
const ENOEXEC: errno;
const ENOKEY: errno;
const ENOLCK: errno;
const ENOLINK: errno;
const ENOMEDIUM: errno;
const ENOMEM: errno;
const ENOMSG: errno;
const ENONET: errno;
const ENOPKG: errno;
const ENOPROTOOPT: errno;
const ENOSPC: errno;
const ENOSR: errno;
const ENOSTR: errno;
const ENOSYS: errno;
const ENOTBLK: errno;
const ENOTCONN: errno;
const ENOTDIR: errno;
const ENOTEMPTY: errno;
const ENOTNAM: errno;
const ENOTRECOVERABLE: errno;
const ENOTSOCK: errno;
const ENOTSUP: errno;
const ENOTTY: errno;
const ENOTUNIQ: errno;
const ENXIO: errno;
const EOPNOTSUPP: errno;
const EOVERFLOW: errno;
const EOWNERDEAD: errno;
const EPERM: errno;
const EPFNOSUPPORT: errno;
const EPIPE: errno;
const EPOLLERR: u32;
const EPOLLET: u32;
const EPOLLHUP: u32;
const EPOLLMSG: u32;
const EPOLLNVAL: u32;
const EPOLLONESHOT: u32;
const EPOLLOUT: u32;
const EPOLLPRI: u32;
const EPOLLRDBAND: u32;
const EPOLLRDHUP: u32;
const EPOLLRDNORM: u32;
const EPOLLWAKEUP: u32;
const EPOLLWRBAND: u32;
const EPOLLWRNORM: u32;
const EPOLL_CLOEXEC: int;
const EPOLL_CTL_DEL: int;
const EPOLL_CTL_MOD: int;
const EPROTO: errno;
const EPROTONOSUPPORT: errno;
const EPROTOTYPE: errno;
const ERANGE: errno;
const EREMCHG: errno;
const EREMOTE: errno;
const EREMOTEIO: errno;
const ERESTART: errno;
const ERFKILL: errno;
const EROFS: errno;
const ESHUTDOWN: errno;
const ESOCKTNOSUPPORT: errno;
const ESPIPE: errno;
const ESRCH: errno;
const ESRMNT: errno;
const ESTALE: errno;
const ESTRPIPE: errno;
const ETIME: errno;
const ETIMEDOUT: errno;
const ETOOMANYREFS: errno;
const ETXTBSY: errno;
const EUCLEAN: errno;
const EUNATCH: errno;
const EUSERS: errno;
const EWOULDBLOCK: errno;
const EXDEV: errno;
const EXFULL: errno;
const FD_CLOEXEC: int;
const F_DUPFD: int;
const F_DUPFD_CLOEXEC: int;
const F_GETFD: int;
const F_GETFL: int;
const F_GETLK: int;
const F_GETOWN: int;
const F_GETOWNER_UIDS: int;
const F_GETOWN_EX: int;
const F_GETSIG: int;
const F_OK: int;
const F_RDLCK: i16;
const F_SETFD: int;
const F_SETFL: int;
const F_SETLK: int;
const F_SETLKW: int;
const F_SETOWN: int;
const F_SETOWN_EX: int;
const F_SETSIG: int;
const F_UNLCK: i16;
const F_WRLCK: i16;
const INATTRIB: u32;
const INCLOSE: u32;
const INCLOSENOWRITE: u32;
const INCLOSEWRITE: u32;
const INCREATE: u32;
const INDELETE: u32;
const INDELETESELF: u32;
const INDONTFOLLOW: u32;
const INEXCLUNLINK: u32;
const INIGNORED: u32;
const INISDIR: u32;
const INMASKADD: u32;
const INMASKCREATE: u32;
const INMODIFY: u32;
const INMOVE: u32;
const INMOVEDFROM: u32;
const INMOVEDTO: u32;
const INMOVESELF: u32;
const INONESHOT: u32;
const INONLYDIR: u32;
const INOPEN: u32;
const INQOVERFLOW: u32;
const INUNMOUNT: u32;
const IN_CLOEXEC: int;
const LOCK_EX: int;
const LOCK_NB: int;
const LOCK_UN: int;
const MAP_ANON: uint;
const MAP_DENYWRITE: uint;
const MAP_EXECUTABLE: uint;
const MAP_FILE: uint;
const MAP_FIXED: uint;
const MAP_FIXED_NOREPLACE: uint;
const MAP_GROWSDOWN: uint;
const MAP_HUGETLB: uint;
const MAP_HUGE_16GB: uint;
const MAP_HUGE_16MB: uint;
const MAP_HUGE_1GB: uint;
const MAP_HUGE_1MB: uint;
const MAP_HUGE_256MB: uint;
const MAP_HUGE_2GB: uint;
const MAP_HUGE_2MB: uint;
const MAP_HUGE_32MB: uint;
const MAP_HUGE_512KB: uint;
const MAP_HUGE_512MB: uint;
const MAP_HUGE_64KB: uint;
const MAP_HUGE_8MB: uint;
const MAP_HUGE_MASK: uint;
const MAP_HUGE_SHIFT: uint;
const MAP_LOCKED: uint;
const MAP_NONBLOCK: uint;
const MAP_NORESERVE: uint;
const MAP_POPULATE: uint;
const MAP_PRIVATE: uint;
const MAP_SHARED: uint;
const MAP_SHARED_VALIDATE: uint;
const MAP_STACK: uint;
const MAP_SYNC: uint;
const MCL_CURRENT: int;
const MCL_FUTURE: int;
const MCL_ONFAULT: int;
const MFD_ALLOW_SEALING: uint;
const MFD_CLOEXEC: uint;
const MFD_HUGETLB: uint;
const MLOCK_ONFAULT: uint;
const MSG_CONFIRM: int;
const MSG_DONTROUTE: int;
const MSG_DONTWAIT: int;
const MSG_ERRQUEUE: int;
const MSG_NO_SHARED_FRAGS: int;
const MSG_PEEK: int;
const MSG_PROBE: int;
const MSG_SYN: int;
const MSG_TRYHARD: int;
const NCCS: size;
const NGROUPS_MAX: size;
const NSIG: int;
const O_ACCMODE: int;
const O_APPEND: int;
const O_CLOEXEC: int;
const O_CREATE: int;
const O_DIRECT: int;
const O_DIRECTORY: int;
const O_DSYNC: int;
const O_EXCLUSIVE: int;
const O_NOATIME: int;
const O_NOCTTY: int;
const O_NOFOLLOW: int;
const O_NONBLOCK: int;
const O_PATH: int;
const O_RDWR: int;
const O_RSYNC: int;
const O_SYNC: int;
const O_TMPFILE: int;
const O_TRUNC: int;
const O_WRONLY: int;
const PATH_MAX: size;
const POLLERR: i16;
const POLLHUP: i16;
const POLLIN: i16;
const POLLOUT: i16;
const POLLPRI: i16;
const POLLVAL: i16;
const PRIO_PGRP: int;
const PRIO_PROCESS: int;
const PRIO_USER: int;
const PROT_EXEC: uint;
const PROT_GROWSDOWN: uint;
const PROT_GROWSUP: uint;
const PROT_NONE: uint;
const PROT_READ: uint;
const PROT_WRITE: uint;
const PR_CAPBSET_DROP: int;
const PR_CAPBSET_READ: int;
const PR_CAP_AMBIENT: int;
const PR_CAP_AMBIENT_CLEAR_ALL: u64;
const PR_CAP_AMBIENT_IS_SET: u64;
const PR_CAP_AMBIENT_LOWER: u64;
const PR_CAP_AMBIENT_RAISE: u64;
const PR_ENDIAN_BIG: u64;
const PR_ENDIAN_LITTLE: u64;
const PR_ENDIAN_PPC_LITTLE: u64;
const PR_FPEMU_NOPRINT: u64;
const PR_FPEMU_SIGFPE: u64;
const PR_FP_EXC_ASYNC: u64;
const PR_FP_EXC_DISABLED: u64;
const PR_FP_EXC_DIV: u64;
const PR_FP_EXC_INV: u64;
const PR_FP_EXC_NONRECOV: u64;
const PR_FP_EXC_OVF: u64;
const PR_FP_EXC_PRECISE: u64;
const PR_FP_EXC_RES: u64;
const PR_FP_EXC_SW_ENABLE: u64;
const PR_FP_EXC_UND: u64;
const PR_FP_MODE_FR: u64;
const PR_FP_MODE_FRE: u64;
const PR_GET_CHILD_SUBREAPER: int;
const PR_GET_DUMPABLE: u64;
const PR_GET_ENDIAN: int;
const PR_GET_FPEMU: int;
const PR_GET_FPEXC: int;
const PR_GET_FP_MODE: int;
const PR_GET_IO_FLUSHER: int;
const PR_GET_KEEPCAPS: int;
const PR_GET_NAME: int;
const PR_GET_NO_NEW_PRIVS: int;
const PR_GET_PDEATHSIG: int;
const PR_GET_SECCOMP: int;
const PR_GET_SECUREBITS: int;
const PR_GET_SPECULATION_CTRL: int;
const PR_GET_TAGGED_ADDR_CTRL: int;
const PR_GET_THP_DISABLE: int;
const PR_GET_TID_ADDRESS: int;
const PR_GET_TIMERSLACK: int;
const PR_GET_TIMING: int;
const PR_GET_TSC: int;
const PR_GET_UNALIGN: int;
const PR_MCE_KILL: int;
const PR_MCE_KILL_CLEAR: u64;
const PR_MCE_KILL_DEFAULT: u64;
const PR_MCE_KILL_EARLY: u64;
const PR_MCE_KILL_GET: int;
const PR_MCE_KILL_LATE: u64;
const PR_MCE_KILL_SET: u64;
const PR_MPX_DISABLE_MANAGEMENT: int;
const PR_MPX_ENABLE_MANAGEMENT: int;
const PR_MTE_TAG_MASK: u64;
const PR_MTE_TAG_SHIFT: u64;
const PR_MTE_TCF_ASYNC: u64;
const PR_MTE_TCF_MASK: u64;
const PR_MTE_TCF_NONE: u64;
const PR_MTE_TCF_SHIFT: u64;
const PR_MTE_TCF_SYNC: u64;
const PR_PAC_APDAKEY: u64;
const PR_PAC_APDBKEY: u64;
const PR_PAC_APGAKEY: u64;
const PR_PAC_APIAKEY: u64;
const PR_PAC_APIBKEY: u64;
const PR_PAC_RESET_KEYS: int;
const PR_SET_CHILD_SUBREAPER: int;
const PR_SET_DUMPABLE: int;
const PR_SET_ENDIAN: int;
const PR_SET_FPEMU: int;
const PR_SET_FPEXC: int;
const PR_SET_FP_MODE: int;
const PR_SET_IO_FLUSHER: int;
const PR_SET_KEEPCAPS: int;
const PR_SET_MM: int;
const PR_SET_MM_ARG_END: u64;
const PR_SET_MM_ARG_START: u64;
const PR_SET_MM_AUXV: u64;
const PR_SET_MM_BRK: u64;
const PR_SET_MM_END_CODE: u64;
const PR_SET_MM_END_DATA: u64;
const PR_SET_MM_ENV_END: u64;
const PR_SET_MM_ENV_START: u64;
const PR_SET_MM_EXE_FILE: u64;
const PR_SET_MM_MAP: u64;
const PR_SET_MM_MAP_SIZE: u64;
const PR_SET_MM_START_BRK: u64;
const PR_SET_MM_START_CODE: u64;
const PR_SET_MM_START_DATA: u64;
const PR_SET_MM_START_STACK: u64;
const PR_SET_NAME: int;
const PR_SET_NO_NEW_PRIVS: int;
const PR_SET_PDEATHSIG: int;
const PR_SET_PTRACER: int;
const PR_SET_PTRACER_ANY: u64;
const PR_SET_SECCOMP: int;
const PR_SET_SECUREBITS: int;
const PR_SET_SPECULATION_CTRL: int;
const PR_SET_SYSCALL_USER_DISPATCH: int;
const PR_SET_TAGGED_ADDR_CTRL: int;
const PR_SET_THP_DISABLE: int;
const PR_SET_TIMERSLACK: int;
const PR_SET_TIMING: int;
const PR_SET_TSC: int;
const PR_SET_UNALIGN: int;
const PR_SPEC_DISABLE: u64;
const PR_SPEC_DISABLE_NOEXEC: u64;
const PR_SPEC_ENABLE: u64;
const PR_SPEC_FORCE_DISABLE: u64;
const PR_SPEC_INDIRECT_BRANCH: u64;
const PR_SPEC_NOT_AFFECTED: u64;
const PR_SPEC_PRCTL: u64;
const PR_SPEC_STORE_BYPASS: u64;
const PR_SVE_GET_VL: int;
const PR_SVE_SET_VL: int;
const PR_SVE_SET_VL_ONEXEC: u64;
const PR_SVE_VL_INHERIT: u64;
const PR_SVE_VL_LEN_MASK: u64;
const PR_SYS_DISPATCH_OFF: u64;
const PR_SYS_DISPATCH_ON: u64;
const PR_TAGGED_ADDR_ENABLE: u64;
const PR_TASK_PERF_EVENTS_DISABLE: int;
const PR_TASK_PERF_EVENTS_ENABLE: int;
const PR_TIMING_STATISTICAL: u64;
const PR_TIMING_TIMESTAMP: u64;
const PR_TSC_ENABLE: u64;
const PR_TSC_SIGSEGV: u64;
const PR_UNALIGN_NOPRINT: u64;
const PR_UNALIGN_SIGBUS: u64;
const PTRACE_ATTACH: int;
const PTRACE_CONT: int;
const PTRACE_DETACH: int;
const PTRACE_EVENT_CLONE: int;
const PTRACE_EVENT_EXEC: int;
const PTRACE_EVENT_EXIT: int;
const PTRACE_EVENT_FORK: int;
const PTRACE_EVENT_SECCOMP: int;
const PTRACE_EVENT_STOP: int;
const PTRACE_EVENT_VFORK: int;
const PTRACE_EVENT_VFORK_DONE: int;
const PTRACE_GETEVENTMSG: int;
const PTRACE_GETFPREGS: int;
const PTRACE_GETFPXREGS: int;
const PTRACE_GETREGS: int;
const PTRACE_GETREGSET: int;
const PTRACE_GETSIGINFO: int;
const PTRACE_GETSIGMASK: int;
const PTRACE_GET_RSEQ_CONFIGURATION: int;
const PTRACE_GET_SYSCALL_INFO: int;
const PTRACE_INTERRUPT: int;
const PTRACE_KILL: int;
const PTRACE_LISTEN: int;
const PTRACE_O_EXITKILL: u64;
const PTRACE_O_MASK: u64;
const PTRACE_O_SUSPEND_SECCOMP: u64;
const PTRACE_O_TRACECLONE: u64;
const PTRACE_O_TRACEEXEC: u64;
const PTRACE_O_TRACEEXIT: u64;
const PTRACE_O_TRACEFORK: u64;
const PTRACE_O_TRACESECCOMP: u64;
const PTRACE_O_TRACESYSGOOD: u64;
const PTRACE_O_TRACEVFORK: u64;
const PTRACE_O_TRACEVFORKDONE: u64;
const PTRACE_PEEKDATA: int;
const PTRACE_PEEKSIGINFO: int;
const PTRACE_PEEKSIGINFO_SHARED: u32;
const PTRACE_PEEKTEXT: int;
const PTRACE_PEEKUSER: int;
const PTRACE_POKEDATA: int;
const PTRACE_POKETEXT: int;
const PTRACE_POKEUSER: int;
const PTRACE_SECCOMP_GET_FILTER: int;
const PTRACE_SECCOMP_GET_METADATA: int;
const PTRACE_SEIZE: int;
const PTRACE_SETFPREGS: int;
const PTRACE_SETFPXREGS: int;
const PTRACE_SETOPTIONS: int;
const PTRACE_SETREGS: int;
const PTRACE_SETREGSET: int;
const PTRACE_SETSIGINFO: int;
const PTRACE_SETSIGMASK: int;
const PTRACE_SINGLESTEP: int;
const PTRACE_SYSCALL: int;
const PTRACE_SYSCALL_INFO_ENTRY: u8;
const PTRACE_SYSCALL_INFO_EXIT: u8;
const PTRACE_SYSCALL_INFO_NONE: u8;
const PTRACE_SYSCALL_INFO_SECCOMP: u8;
const PTRACE_TRACEME: int;
const RESOLVE_BENEATH: u64;
const RESOLVE_IN_ROOT: u64;
const RESOLVE_NO_MAGICLINKS: u64;
const RESOLVE_NO_SYMLINKS: u64;
const RESOLVE_NO_XDEV: u64;
const RLIMIT_AS: int;
const RLIMIT_CORE: int;
const RLIMIT_CPU: int;
const RLIMIT_DATA: int;
const RLIMIT_FSIZE: int;
const RLIMIT_LOCKS: int;
const RLIMIT_MEMLOCK: int;
const RLIMIT_MSGQUEUE: int;
const RLIMIT_NICE: int;
const RLIMIT_NLIMITS: int;
const RLIMIT_NOFILE: int;
const RLIMIT_NPROC: int;
const RLIMIT_RSS: int;
const RLIMIT_RTPRIO: int;
const RLIMIT_RTTIME: int;
const RLIMIT_SIGPENDING: int;
const RLIMIT_STACK: int;
const R_OK: int;
const SA_NOCLDSTOP: u64;
const SA_NOCLDWAIT: u64;
const SA_NODEFER: u64;
const SA_NOMASK: u64;
const SA_ONESHOT: u64;
const SA_ONSTACK: u64;
const SA_RESETHAND: u64;
const SA_RESTART: u64;
const SA_RESTORER: u64;
const SA_SIGINFO: u64;
const SCM_CREDENTIALS: int;
const SCM_RIGHTS: int;
const SEEK_CUR: int;
const SEEK_END: int;
const SEEK_SET: int;
const SFD_CLOEXEC: int;
const SFD_NONBLOCK: int;
const SHUT_RD: int;
const SHUT_RDWR: int;
const SHUT_WR: int;
const SIGABRT: int;
const SIGALRM: int;
const SIGBUS: int;
const SIGCHLD: int;
const SIGCONT: int;
const SIGFPE: int;
const SIGHUP: int;
const SIGILL: int;
const SIGINT: int;
const SIGIO: int;
const SIGKILL: int;
const SIGPIPE: int;
const SIGPOLL: int;
const SIGPROF: int;
const SIGPWR: int;
const SIGQUIT: int;
const SIGSEGV: int;
const SIGSTKFLT: int;
const SIGSTOP: int;
const SIGSYS: int;
const SIGTERM: int;
const SIGTRAP: int;
const SIGTSTP: int;
const SIGTTIN: int;
const SIGTTOU: int;
const SIGURG: int;
const SIGUSR1: int;
const SIGUSR2: int;
const SIGVTALRM: int;
const SIGWINCH: int;
const SIGXCPU: int;
const SIGXFSZ: int;
const SIG_BLOCK: int;
const SIG_DFL: uintptr;
const SIG_ERR: uintptr;
const SIG_HOLD: uintptr;
const SIG_IGN: uintptr;
const SIG_SETMASK: int;
const SIG_UNBLOCK: int;
const SOCK_CLOEXEC: int;
const SOCK_DCCP: int;
const SOCK_DGRAM: int;
const SOCK_NONBLOCK: int;
const SOCK_PACKET: int;
const SOCK_RAW: int;
const SOCK_RDM: int;
const SOCK_SEQPACKET: int;
const SO_BROADCAST: int;
const SO_BSDCOMPAT: int;
const SO_DONTROUTE: int;
const SO_ERROR: int;
const SO_KEEPALIVE: int;
const SO_LINGER: int;
const SO_NO_CHECK: int;
const SO_OOBINLINE: int;
const SO_PEERCRED: int;
const SO_PRIORITY: int;
const SO_RCVBUF: int;
const SO_RCVBUFFORCE: int;
const SO_RCVLOWAT: int;
const SO_RCVTIMEO_OLD: int;
const SO_REUSEADDR: int;
const SO_REUSEPORT: int;
const SO_SNDBUF: int;
const SO_SNDBUFFORCE: int;
const SO_SNDLOWAT: int;
const SO_SNDTIMEO_OLD: int;
const SO_TYPE: int;
const SPLICE_F_GIFT: uint;
const SPLICE_F_MORE: uint;
const SPLICE_F_MOVE: uint;
const SPLICE_F_NONBLOCK: uint;
const STDERR_FILENO: int;
const STDIN_FILENO: int;
const STDOUT_FILENO: int;
const SYSCALL_DISPATCH_FILTER_ALLOW: u64;
const SYSCALL_DISPATCH_FILTER_BLOCK: u64;
const SYS__sysctl: u64;
const SYS_accept: u64;
const SYS_accept4: u64;
const SYS_access: u64;
const SYS_acct: u64;
const SYS_add_key: u64;
const SYS_adjtimex: u64;
const SYS_afs_syscall: u64;
const SYS_alarm: u64;
const SYS_arch_prctl: u64;
const SYS_bind: u64;
const SYS_bpf: u64;
const SYS_brk: u64;
const SYS_capget: u64;
const SYS_capset: u64;
const SYS_chdir: u64;
const SYS_chmod: u64;
const SYS_chown: u64;
const SYS_chroot: u64;
const SYS_clock_adjtime: u64;
const SYS_clock_getres: u64;
const SYS_clock_gettime: u64;
const SYS_clock_nanosleep: u64;
const SYS_clock_settime: u64;
const SYS_clone: u64;
const SYS_close: u64;
const SYS_connect: u64;
const SYS_copy_file_range: u64;
const SYS_creat: u64;
const SYS_create_module: u64;
const SYS_delete_module: u64;
const SYS_dup: u64;
const SYS_dup2: u64;
const SYS_dup3: u64;
const SYS_epoll_create: u64;
const SYS_epoll_create1: u64;
const SYS_epoll_ctl: u64;
const SYS_epoll_ctl_old: u64;
const SYS_epoll_pwait: u64;
const SYS_epoll_wait: u64;
const SYS_epoll_wait_old: u64;
const SYS_eventfd: u64;
const SYS_eventfd2: u64;
const SYS_execve: u64;
const SYS_execveat: u64;
const SYS_exit: u64;
const SYS_exit_group: u64;
const SYS_faccessat: u64;
const SYS_faccessat2: u64;
const SYS_fadvise64: u64;
const SYS_fallocate: u64;
const SYS_fanotify_init: u64;
const SYS_fanotify_mark: u64;
const SYS_fchdir: u64;
const SYS_fchmod: u64;
const SYS_fchmodat: u64;
const SYS_fchown: u64;
const SYS_fchownat: u64;
const SYS_fcntl: u64;
const SYS_fdatasync: u64;
const SYS_fgetxattr: u64;
const SYS_finit_module: u64;
const SYS_flistxattr: u64;
const SYS_flock: u64;
const SYS_fork: u64;
const SYS_fremovexattr: u64;
const SYS_fsconfig: u64;
const SYS_fsetxattr: u64;
const SYS_fsmount: u64;
const SYS_fsopen: u64;
const SYS_fspick: u64;
const SYS_fstat: u64;
const SYS_fstatfs: u64;
const SYS_fsync: u64;
const SYS_ftruncate: u64;
const SYS_futex: u64;
const SYS_futimesat: u64;
const SYS_get_kernel_syms: u64;
const SYS_get_mempolicy: u64;
const SYS_get_robust_list: u64;
const SYS_get_thread_area: u64;
const SYS_getcpu: u64;
const SYS_getcwd: u64;
const SYS_getdents: u64;
const SYS_getdents64: u64;
const SYS_getegid: u64;
const SYS_geteuid: u64;
const SYS_getgid: u64;
const SYS_getgroups: u64;
const SYS_getitimer: u64;
const SYS_getpeername: u64;
const SYS_getpgid: u64;
const SYS_getpgrp: u64;
const SYS_getpid: u64;
const SYS_getpmsg: u64;
const SYS_getppid: u64;
const SYS_getpriority: u64;
const SYS_getrandom: u64;
const SYS_getresgid: u64;
const SYS_getresuid: u64;
const SYS_getrlimit: u64;
const SYS_getrusage: u64;
const SYS_getsid: u64;
const SYS_getsockname: u64;
const SYS_getsockopt: u64;
const SYS_gettid: u64;
const SYS_gettimeofday: u64;
const SYS_getuid: u64;
const SYS_getxattr: u64;
const SYS_init_module: u64;
const SYS_inotify_add_watch: u64;
const SYS_inotify_init: u64;
const SYS_inotify_init1: u64;
const SYS_inotify_rm_watch: u64;
const SYS_io_cancel: u64;
const SYS_io_destroy: u64;
const SYS_io_getevents: u64;
const SYS_io_pgetevents: u64;
const SYS_io_setup: u64;
const SYS_io_submit: u64;
const SYS_io_uring_enter: u64;
const SYS_io_uring_register: u64;
const SYS_io_uring_setup: u64;
const SYS_ioctl: u64;
const SYS_ioperm: u64;
const SYS_iopl: u64;
const SYS_ioprio_get: u64;
const SYS_ioprio_set: u64;
const SYS_kcmp: u64;
const SYS_kexec_file_load: u64;
const SYS_kexec_load: u64;
const SYS_keyctl: u64;
const SYS_kill: u64;
const SYS_lchown: u64;
const SYS_lgetxattr: u64;
const SYS_link: u64;
const SYS_linkat: u64;
const SYS_listen: u64;
const SYS_listxattr: u64;
const SYS_llistxattr: u64;
const SYS_lookup_dcookie: u64;
const SYS_lremovexattr: u64;
const SYS_lseek: u64;
const SYS_lsetxattr: u64;
const SYS_lstat: u64;
const SYS_madvise: u64;
const SYS_mbind: u64;
const SYS_membarrier: u64;
const SYS_memfd_create: u64;
const SYS_migrate_pages: u64;
const SYS_mincore: u64;
const SYS_mkdir: u64;
const SYS_mkdirat: u64;
const SYS_mknod: u64;
const SYS_mknodat: u64;
const SYS_mlock: u64;
const SYS_mlock2: u64;
const SYS_mlockall: u64;
const SYS_mmap: u64;
const SYS_modify_ldt: u64;
const SYS_mount: u64;
const SYS_move_mount: u64;
const SYS_move_pages: u64;
const SYS_mprotect: u64;
const SYS_mq_getsetattr: u64;
const SYS_mq_notify: u64;
const SYS_mq_open: u64;
const SYS_mq_timedreceive: u64;
const SYS_mq_timedsend: u64;
const SYS_mq_unlink: u64;
const SYS_mremap: u64;
const SYS_msgctl: u64;
const SYS_msgget: u64;
const SYS_msgrcv: u64;
const SYS_msgsnd: u64;
const SYS_msync: u64;
const SYS_munlock: u64;
const SYS_munlockall: u64;
const SYS_munmap: u64;
const SYS_name_to_handle_at: u64;
const SYS_nanosleep: u64;
const SYS_newfstatat: u64;
const SYS_nfsservctl: u64;
const SYS_open: u64;
const SYS_open_by_handle_at: u64;
const SYS_open_tree: u64;
const SYS_openat: u64;
const SYS_openat2: u64;
const SYS_pause: u64;
const SYS_perf_event_open: u64;
const SYS_personality: u64;
const SYS_pidfd_send_signal: u64;
const SYS_pipe: u64;
const SYS_pipe2: u64;
const SYS_pivot_root: u64;
const SYS_pkey_alloc: u64;
const SYS_pkey_free: u64;
const SYS_pkey_mprotect: u64;
const SYS_poll: u64;
const SYS_ppoll: u64;
const SYS_prctl: u64;
const SYS_pread64: u64;
const SYS_preadv: u64;
const SYS_preadv2: u64;
const SYS_prlimit64: u64;
const SYS_process_vm_readv: u64;
const SYS_process_vm_writev: u64;
const SYS_pselect6: u64;
const SYS_ptrace: u64;
const SYS_putpmsg: u64;
const SYS_pwrite64: u64;
const SYS_pwritev: u64;
const SYS_pwritev2: u64;
const SYS_query_module: u64;
const SYS_quotactl: u64;
const SYS_read: u64;
const SYS_readahead: u64;
const SYS_readlink: u64;
const SYS_readlinkat: u64;
const SYS_readv: u64;
const SYS_reboot: u64;
const SYS_recvfrom: u64;
const SYS_recvmmsg: u64;
const SYS_recvmsg: u64;
const SYS_remap_file_pages: u64;
const SYS_removexattr: u64;
const SYS_rename: u64;
const SYS_renameat: u64;
const SYS_renameat2: u64;
const SYS_request_key: u64;
const SYS_restart_syscall: u64;
const SYS_rmdir: u64;
const SYS_rseq: u64;
const SYS_rt_sigaction: u64;
const SYS_rt_sigpending: u64;
const SYS_rt_sigprocmask: u64;
const SYS_rt_sigqueueinfo: u64;
const SYS_rt_sigreturn: u64;
const SYS_rt_sigsuspend: u64;
const SYS_rt_sigtimedwait: u64;
const SYS_rt_tgsigqueueinfo: u64;
const SYS_sched_get_priority_max: u64;
const SYS_sched_get_priority_min: u64;
const SYS_sched_getaffinity: u64;
const SYS_sched_getattr: u64;
const SYS_sched_getparam: u64;
const SYS_sched_getscheduler: u64;
const SYS_sched_rr_get_interval: u64;
const SYS_sched_setaffinity: u64;
const SYS_sched_setattr: u64;
const SYS_sched_setparam: u64;
const SYS_sched_setscheduler: u64;
const SYS_sched_yield: u64;
const SYS_seccomp: u64;
const SYS_security: u64;
const SYS_select: u64;
const SYS_semctl: u64;
const SYS_semget: u64;
const SYS_semop: u64;
const SYS_semtimedop: u64;
const SYS_sendfile: u64;
const SYS_sendmmsg: u64;
const SYS_sendmsg: u64;
const SYS_sendto: u64;
const SYS_set_mempolicy: u64;
const SYS_set_robust_list: u64;
const SYS_set_thread_area: u64;
const SYS_set_tid_address: u64;
const SYS_setdomainname: u64;
const SYS_setfsgid: u64;
const SYS_setfsuid: u64;
const SYS_setgid: u64;
const SYS_setgroups: u64;
const SYS_sethostname: u64;
const SYS_setitimer: u64;
const SYS_setns: u64;
const SYS_setpgid: u64;
const SYS_setpriority: u64;
const SYS_setregid: u64;
const SYS_setresgid: u64;
const SYS_setresuid: u64;
const SYS_setreuid: u64;
const SYS_setrlimit: u64;
const SYS_setsid: u64;
const SYS_setsockopt: u64;
const SYS_settimeofday: u64;
const SYS_setuid: u64;
const SYS_setxattr: u64;
const SYS_shmat: u64;
const SYS_shmctl: u64;
const SYS_shmdt: u64;
const SYS_shmget: u64;
const SYS_shutdown: u64;
const SYS_sigaltstack: u64;
const SYS_signalfd: u64;
const SYS_signalfd4: u64;
const SYS_socket: u64;
const SYS_socketpair: u64;
const SYS_splice: u64;
const SYS_stat: u64;
const SYS_statfs: u64;
const SYS_statx: u64;
const SYS_swapoff: u64;
const SYS_swapon: u64;
const SYS_symlink: u64;
const SYS_symlinkat: u64;
const SYS_sync: u64;
const SYS_sync_file_range: u64;
const SYS_syncfs: u64;
const SYS_sysfs: u64;
const SYS_sysinfo: u64;
const SYS_syslog: u64;
const SYS_tee: u64;
const SYS_tgkill: u64;
const SYS_time: u64;
const SYS_timer_create: u64;
const SYS_timer_delete: u64;
const SYS_timer_getoverrun: u64;
const SYS_timer_gettime: u64;
const SYS_timer_settime: u64;
const SYS_timerfd_create: u64;
const SYS_timerfd_gettime: u64;
const SYS_timerfd_settime: u64;
const SYS_times: u64;
const SYS_tkill: u64;
const SYS_truncate: u64;
const SYS_tuxcall: u64;
const SYS_umask: u64;
const SYS_umount2: u64;
const SYS_uname: u64;
const SYS_unlink: u64;
const SYS_unlinkat: u64;
const SYS_unshare: u64;
const SYS_uselib: u64;
const SYS_userfaultfd: u64;
const SYS_ustat: u64;
const SYS_utime: u64;
const SYS_utimensat: u64;
const SYS_utimes: u64;
const SYS_vfork: u64;
const SYS_vhangup: u64;
const SYS_vmsplice: u64;
const SYS_vserver: u64;
const SYS_wait4: u64;
const SYS_waitid: u64;
const SYS_write: u64;
const SYS_writev: u64;
const S_IFBLK: mode_t;
const S_IFCHR: mode_t;
const S_IFDIR: mode_t;
const S_IFIFO: mode_t;
const S_IFLNK: mode_t;
const S_IFREG: mode_t;
const S_IFSOCK: mode_t;
const TCGETS: u64;
const TCSETS: u64;
const TFD_CLOEXEC: int;
const TFD_NONBLOCK: int;
const TFD_TIMER_ABSTIME: int;
const TFD_TIMER_CANCEL_ON_SET: int;
const TIOCGPTN: u64;
const TIOCGPTPEER: u64;
const TIOCGWINSZ: u64;
const TIOCNOTTY: u64;
const TIOCSCTTY: u64;
const TIOCSPTLCK: u64;
const TIOCSWINSZ: u64;
const UNIX_PATH_MAX: size;
const WCONTINUED: int;
const WEXITED: int;
const WNOHANG: int;
const WNOWAIT: int;
const WSTOPPED: int;
const WUNTRACED: int;
const W_OK: int;
const X_OK: int;

Globals

// Undocumented globals:
let argc: size;
let argv: *[*]*u8;
let envp: *[*]nullable *u8;

Functions

fn access(path, int) (bool | errno);
fn backtrace() frame;
fn clone(nullable *void, int, nullable *int, nullable *int, u64) (int | void | errno);
fn cpuid_getvendor() (cpuid_vendor | cpuid_unknownvendor);
fn cpuid_hasflags(u32, u32) bool;
fn errname(errno) str;
fn faccessat(int, path, int, int) (bool | errno);
fn fini() void;
fn fork() (int | void | errno);
fn free_(nullable *void) void;
fn getcwd() (*const u8 | errno);
fn getmeta(*void) *meta;
fn init() void;
fn malloc(size) nullable *void;
fn nextframe(frame) (frame | void);
fn realloc(nullable *void, size) nullable *void;
fn strerror(errno) str;
fn wrap_errno(int) errno;

// Undocumented functions:
fn _abort(str, str) void;
fn abort_fixed(str, int) void;
fn accept(int, nullable *sockaddr, nullable *u32) (int | errno);
fn accept4(int, nullable *sockaddr, nullable *u32, int) (int | errno);
fn add_key(*const u8, *const u8, *void, size, int) (int | errno);
fn alarm(uint) uint;
fn bind(int, *const sockaddr, u32) (int | errno);
fn chdir(path) (void | errno);
fn chmod(path, uint) (void | errno);
fn chown(path, uint, uint) (void | errno);
fn chroot(path) (void | errno);
fn clock_gettime(int, *timespec) (void | errno);
fn close(int) (void | errno);
fn connect(int, *const sockaddr, u32) (int | errno);
fn dup(int) (int | errno);
fn dup2(int, int) (int | errno);
fn dup3(int, int, int) (int | errno);
fn ensure(*slice, size) void;
fn epoll_create(int) (int | errno);
fn epoll_create1(int) (int | errno);
fn epoll_ctl(int, int, int, nullable *epoll_event) (void | errno);
fn epoll_pwait(int, *epoll_event, int, int, nullable *sigset) (int | errno);
fn epoll_wait(int, *epoll_event, int, int) (int | errno);
fn eventfd(uint, int) (int | errno);
fn execve(path, *[*]nullable *const u8, *[*]nullable *const u8) errno;
fn execveat(int, path, *[*]nullable *const u8, *[*]nullable *const u8, int) errno;
fn exit(int) void;
fn fallocate(int, int, i64, i64) (void | errno);
fn fchdir(int) (void | errno);
fn fchmodat(int, path, uint, int) (void | errno);
fn fchownat(int, path, uint, uint, int) (void | errno);
fn fcntl(int, int, fcntl_arg) (int | errno);
fn feclearexcept(uint) void;
fn fegetround() uint;
fn feraiseexcept(uint) void;
fn fesetround(uint) void;
fn fetestexcept(uint) uint;
fn flock(int, int) (void | errno);
fn fstat(int, *st) (errno | void);
fn fstatat(int, path, *st, int) (errno | void);
fn ftruncate(int, off_t) (void | errno);
fn getdents64(int, *void, size) (size | errno);
fn getgroups([]uint) (uint | errno);
fn getpeername(int, nullable *sockaddr, nullable *u32) (int | errno);
fn getpid() int;
fn getpriority(int, id_t) (int | errno);
fn getrandom(*void, size, uint) (size | errno);
fn getresgid(*gid_t, *gid_t, *gid_t) (void | errno);
fn getresuid(*uid_t, *uid_t, *uid_t) (void | errno);
fn getrlimit(int, *rlimit) (void | errno);
fn getsid(int) (int | errno);
fn getsockname(int, nullable *sockaddr, nullable *u32) (int | errno);
fn getsockopt(int, int, int, nullable *void, nullable *u32) (int | errno);
fn inotify_add_watch(int, path, u32) (int | errno);
fn inotify_init() (int | errno);
fn inotify_init1(int) (int | errno);
fn inotify_rm_watch(int, int) (int | errno);
fn io_uring_enter(int, uint, uint, uint, const nullable *sigset) (uint | errno);
fn io_uring_register(int, uint, nullable *void, uint) (int | errno);
fn io_uring_setup(u32, *void) (int | errno);
fn ioctl(int, u64, ioctl_arg) (int | errno);
fn keyctl(int, u64, u64, u64, u64) (int | errno);
fn kill(int, int) (void | errno);
fn linkat(int, path, int, path, int) (void | errno);
fn listen(int, u32) (int | errno);
fn longjmp(*jmpbuf, int) void;
fn lseek(int, i64, int) (i64 | errno);
fn lstat(path, *st) (errno | void);
fn memcpy(*void, *const void, size) void;
fn memfd_create(path, uint) (int | errno);
fn memmove(*void, *const void, size) void;
fn memset(*void, u8, size) void;
fn mkdev(u32, u32) dev_t;
fn mkdir(path, uint) (void | errno);
fn mkdirat(int, path, uint) (void | errno);
fn mknodat(int, path, mode_t, dev_t) (void | errno);
fn mlock2(*void, size, uint) (void | errno);
fn mlockall(uint) (void | errno);
fn mmap(nullable *void, size, uint, uint, int, size) (*void | errno);
fn mount(path, path, *const u8, u64, nullable *void) (void | errno);
fn mprotect(*void, size, uint) (void | errno);
fn mremap(*void, size, size, uint, nullable *void) (*void | errno);
fn munlock(*void, size) (void | errno);
fn munlockall() (void | errno);
fn munmap(*void, size) (void | errno);
fn nanosleep(*const timespec, *timespec) (void | errno);
fn open(path, int, uint) (int | errno);
fn openat2(int, path, *open_how, size) (int | errno);
fn pipe2(*[2]int, int) (void | errno);
fn poll(*[*]pollfd, nfds_t, int) (int | errno);
fn posix_fallocate(int, i64, i64) (void | errno);
fn ppoll(*[*]pollfd, nfds_t, const nullable *timespec, const nullable *sigset) (int | errno);
fn prctl(int, u64, u64, u64, u64) (int | errno);
fn ptrace(int, int, uintptr, uintptr) (u64 | errno);
fn read(int, *void, size) (size | errno);
fn readlinkat(int, path, []u8) (size | errno);
fn readv(int, const *[*]iovec, int) (size | errno);
fn recv(int, *void, size, int) (size | errno);
fn recvfrom(int, *void, size, int, nullable *sockaddr, nullable *u32) (size | errno);
fn recvmsg(int, *const msghdr, int) (int | errno);
fn renameat(int, path, int, path, uint) (void | errno);
fn sched_getaffinity(int, size, *cpu_set) (void | errno);
fn sched_setaffinity(int, size, *const cpu_set) (void | errno);
fn send(int, *void, size, int) (size | errno);
fn sendfile(int, int, nullable *size, size) (size | errno);
fn sendmsg(int, *const msghdr, int) (int | errno);
fn sendto(int, *void, size, int, nullable *sockaddr, u32) (size | errno);
fn setgroups([]uint) (void | errno);
fn setjmp(*jmpbuf) int;
fn setpriority(int, id_t, int) (void | errno);
fn setresgid(gid_t, gid_t, gid_t) (void | errno);
fn setresuid(uid_t, uid_t, uid_t) (void | errno);
fn setrlimit(int, *const rlimit) (void | errno);
fn setsid() (void | errno);
fn setsockopt(int, int, int, *void, u32) (int | errno);
fn shmat(int, *const void, int) *void;
fn shutdown(int, int) (void | errno);
fn sigaction(int, *const sigact, nullable *sigact) (int | errno);
fn sigaddset(*sigset, int) (void | errno);
fn sigdelset(*sigset, int) (void | errno);
fn sigemptyset(*sigset) void;
fn sigfillset(*sigset) void;
fn sigismember(*sigset, int) (bool | errno);
fn signalfd(int, *const sigset, int) (int | errno);
fn sigprocmask(int, nullable *const sigset, nullable *sigset) (int | errno);
fn socket(int, int, int) (int | errno);
fn socketpair(int, int, int, *[2]int) (int | errno);
fn splice(int, nullable *u64, int, nullable *u64, size, uint) (size | errno);
fn start_ha() void;
fn start_linux(*[*]uintptr) void;
fn stat(path, *st) (errno | void);
fn strcmp(str, str) bool;
fn symlinkat(path, int, path) (void | errno);
fn sync() void;
fn tee(int, int, size, uint) (size | errno);
fn timerfd_create(int, int) (int | errno);
fn timerfd_gettime(int, *itimerspec) (int | errno);
fn timerfd_settime(int, int, *const itimerspec, nullable *itimerspec) (int | errno);
fn umask(mode_t) (mode_t | errno);
fn umount2(path, int) (void | errno);
fn uname(*utsname) (void | errno);
fn unensure(*slice, size) void;
fn unlink(path) (void | errno);
fn unlinkat(int, path, int) (void | errno);
fn wait4(int, nullable *int, int, nullable *rusage) (int | errno);
fn wcoredump(int) int;
fn wexitstatus(int) int;
fn wifcontinued(int) bool;
fn wifexited(int) bool;
fn wifsignaled(int) bool;
fn wifstopped(int) bool;
fn write(int, *const void, size) (size | errno);
fn writev(int, const *[*]iovec, int) (size | errno);
fn wstopsig(int) int;
fn wtermsig(int) int;

Types

type frame[link]

type frame = struct {
	addr: *void,
};

Details for a stack frame. Contents are architecture-specific.

type meta[link]

type meta = struct {
	union {
		sz: size,
		next: uintptr,
	},
	user: [*]u8,
};

Metadata for a block.

type st[link]

type st = struct {
	dev: dev_t,
	ino: ino_t,
	mode: mode_t,
	nlink: nlink_t,
	uid: uid_t,
	gid: gid_t,
	rdev: dev_t,
	sz: u64,
	blksz: u64,
	blocks: u64,
	atime: timespec,
	mtime: timespec,
	ctime: timespec,
};

Note: the st type does not match the kernel API. The kernel API has a stat buffer which varies from arch to arch, but because we always use statx(2) and copy the data from the stx type, we don't have to deal with that nonsense.

type arch_jmpbuf[link]

Show undocumented member
type arch_jmpbuf = [8]u64;

type cc[link]

Show undocumented member
type cc = enum u8 {
	VINTR = 0,
	VQUIT = 1,
	VERASE = 2,
	VKILL = 3,
	VEOF = 4,
	VTIME = 5,
	VMIN = 6,
	VSWTC = 7,
	VSTART = 8,
	VSTOP = 9,
	VSUSP = 10,
	VEOL = 11,
	VREPRINT = 12,
	VDISCARD = 13,
	VWERASE = 14,
	VLNEXT = 15,
	VEOL2 = 16,

};

type clock_t[link]

Show undocumented member
type clock_t = i64;

type cmsg[link]

Show undocumented member
type cmsg = struct {
	hdr: cmsghdr,
	cmsg_data: [*]u8,
};

type cmsghdr[link]

Show undocumented member
type cmsghdr = struct {
	cmsg_len: socklen_t,
	_padding: int,
	cmsg_level: int,
	cmsg_type: int,
};

type cpu_set[link]

Show undocumented member
type cpu_set = struct {
	__bits: [16]u64,
};

type cpuid_ecxflags[link]

Show undocumented member
type cpuid_ecxflags = enum uint {
	SSE3 = 1 << 0,
	AES = 1 << 25,

};

type cpuid_edxflags[link]

Show undocumented member
type cpuid_edxflags = enum uint {
	SSE = 1 << 25,
	SSE2 = 1 << 26,

};

type cpuid_vendor[link]

Show undocumented member
type cpuid_vendor = enum {
	AMD,
	INTEL,
	WINCHIP,
	TRANSMETA,
	CYRIX,
	CENTAUR,
	NEXGEN,
	UMC,
	SIS,
	NSC,
	RISE,
	VORTEX,
	VIA,
	ZHAOXIN,
	HYGON,
	MCST_ELBRUS,
	VMWARE, // Virtual Machines.
XENHVM, MICROSOFT_HV, PARALLELS, };

type dev_t[link]

Show undocumented member
type dev_t = u64;

type dirent64[link]

Show undocumented member
type dirent64 = struct {
	d_ino: ino_t,
	d_off: off_t,
	d_reclen: u16,
	d_type: u8,
	d_name: [*]u8,
};

type epoll_data[link]

Show undocumented member
type epoll_data = union {
	ptr: *void,
	fd: int,
	u32_: u32,
	u64_: u64,
};

type epoll_event[link]

Show undocumented member
type epoll_event = struct @packed {
	// Packed on x86_64
events: u32, data: epoll_data, };

type f_owner_ex[link]

Show undocumented member
type f_owner_ex = struct {
	_type: int,
	pid: int,
};

type fcntl_arg[link]

Show undocumented member
type fcntl_arg = (void | int |
*st_flock | *f_owner_ex | *u64);

type gid_t[link]

Show undocumented member
type gid_t = uint;

type id_t[link]

Show undocumented member
type id_t = uint;

type in6_addr[link]

Show undocumented member
type in6_addr = struct {
	union {
		s6_addr: [16]u8,
		s6_addr16: [8]u16,
		s6_addr32: [4]u32,
	},
};

type in_addr[link]

Show undocumented member
type in_addr = struct {
	s_addr: u32,
};

type ino_t[link]

Show undocumented member
type ino_t = u64;

type inotify_event[link]

Show undocumented member
type inotify_event = struct {
	wd: int,
	mask: u32,
	cookie: u32,
	length: u32,
	name: *const u8,
};

type ioctl_arg[link]

Show undocumented member
type ioctl_arg = (nullable *void |
u64);

type iovec[link]

Show undocumented member
type iovec = struct {
	iov_base: *void,
	iov_len: size,
};

type itimerspec[link]

Show undocumented member
type itimerspec = struct {
	it_interval: timespec,
	it_value: timespec,
};

type jmpbuf[link]

Show undocumented member
type jmpbuf = struct {
	__jb: arch_jmpbuf,
	__fl: size,
	__ss: [128 / size(size)]size,
};

type mode_t[link]

Show undocumented member
type mode_t = uint;

type msghdr[link]

Show undocumented member
type msghdr = struct {
	msg_name: nullable *void,
	msg_namelen: u32,
	msg_iov: nullable *[*]iovec,
	msg_iovlen: size,
	msg_control: nullable *void,
	msg_controllen: size,
	msg_flags: int,
};

type nfds_t[link]

Show undocumented member
type nfds_t = u64;
Show undocumented member
type nlink_t = u64;

type off_t[link]

Show undocumented member
type off_t = u64;

type open_how[link]

Show undocumented member
type open_how = struct {
	flags: u64,
	mode: u64,
	resolve: u64,
};

type path[link]

Show undocumented member
type path = (str | []u8 |
*const u8);

type pid_t[link]

Show undocumented member
type pid_t = int;

type pollfd[link]

Show undocumented member
type pollfd = struct {
	fd: int,
	events: i16,
	revents: i16,
};

type prctl_mm_map[link]

Show undocumented member
type prctl_mm_map = struct {
	start_code: u64,
	end_code: u64,
	start_data: u64,
	end_data: u64,
	start_brk: u64,
	brk: u64,
	start_stack: u64,
	arg_start: u64,
	arg_end: u64,
	env_start: u64,
	env_end: u64,
	auxv: *u64,
	auxv_size: u32,
	exe_fd: u32,
};

type ptrace_peeksiginfo_args[link]

Show undocumented member
type ptrace_peeksiginfo_args = struct {
	off: u64,
	flags: u32,
	nr: i32,
};

type ptrace_syscall_info[link]

Show undocumented member
type ptrace_syscall_info = struct {
	op: u8,
	arch: u32,
	instruction_pointer: u64,
	stack_pointer: u64,
	union {
		entry: struct {
			nr: u64,
			args: [6]u64,
		},
		exit: struct {
			rval: i64,
			is_error: u8,
		},
		seccomp: struct {
			nr: u64,
			args: [6]u64,
			ret_data: u64,
		},
	},
};

type rlim_t[link]

Show undocumented member
type rlim_t = u64;

type rlimit[link]

Show undocumented member
type rlimit = struct {
	rlim_cur: rlim_t,
	rlim_max: rlim_t,
};

type rusage[link]

Show undocumented member
type rusage = struct {
	ru_utime: timeval,
	ru_stime: timeval,
	ru_maxrss: u64,
	ru_ixrss: u64,
	ru_idrss: u64,
	ru_isrss: u64,
	ru_minflt: u64,
	ru_majflt: u64,
	ru_nswap: u64,
	ru_inblock: u64,
	ru_oublock: u64,
	ru_msgsnd: u64,
	ru_msgrcv: u64,
	ru_nsignals: u64,
	ru_nvcsw: u64,
	ru_nivcsw: u64,
	__reserved: [16]u64,
};

type sa_family_t[link]

Show undocumented member
type sa_family_t = u16;

type si_band_t[link]

Show undocumented member
type si_band_t = i64;

type sigact[link]

Show undocumented member
type sigact = struct {
	union {
		sa_handler: *fn(_: int) void,
		sa_sigaction: *fn(_: int, _: *siginfo, _: *void) void,
	},
	sa_flags: u64,
	sa_restorer: *fn() void,
	sa_mask: sigset,
};

type siginfo[link]

Show undocumented member
type siginfo = union {
	struct {
		si_signo: int,
		si_errno: int,
		si_code: int,
		union {
			// kill()
struct { si_pid: pid_t, si_uid: u32, }, // POSIX.1b timers
struct { si_tid: timer_t, si_overrun: int, _sigval: sigval, // @ signals
si_sys_private: int, }, // POSIX.1b signals
struct { _sig_pid: pid_t, // @kill
_sig_uid: u32, // @ kill
union { si_value: sigval, si_int: int, si_ptr: *void, }, }, // SIGCHLD
struct { _chld_pid: pid_t, // @ kill
_chld_uid: u32, // @ kill
si_status: int, si_utime: clock_t, si_stime: clock_t, }, // SIGILL, SIGFPE, SIGSEGV, SIGBUS, SIGTRAP, SIGEMT
struct { si_addr: *void, union { // used when si_code=BUS_MCEERR_AR or
// used when si_code=BUS_MCEERR_AO
si_addr_lsb: i16, struct { _dummy_bnd: [__ADDR_BND_PKEY_PAD]u8, si_lower: *void, si_upper: *void, }, struct { _dummy_pkey: [__ADDR_BND_PKEY_PAD]u8, si_pkey: u32, }, }, }, // SIGPOLL
struct { si_band: si_band_t, si_fd: int, }, // SIGSYS
struct { si_call_addr: *void, si_syscall: int, si_arch: uint, }, }, }, _si_pad: [SI_MAX_SIZE - 3 * size(int)]u8, };

type signalfd_siginfo[link]

Show undocumented member
type signalfd_siginfo = struct {
	ssi_signo: u32,
	ssi_errno: i32,
	ssi_code: i32,
	ssi_pid: u32,
	ssi_uid: u32,
	ssi_fd: i32,
	ssi_tid: u32,
	ssi_band: u32,
	ssi_overrun: u32,
	ssi_trapno: u32,
	ssi_status: i32,
	ssi_int: i32,
	ssi_ptr: u64,
	ssi_utime: u64,
	ssi_stime: u64,
	ssi_addr: u64,
	ssi_addr_lsb: u16,
	__pad2: u16,
	ssi_syscall: i32,
	ssi_call_addr: u64,
	ssi_arch: u32,
	__pad: [28]u8,
};

type sigset[link]

Show undocumented member
type sigset = struct {
	__val: [1]u64,
};

type sigval[link]

Show undocumented member
type sigval = union {
	sival_t: int,
	sival_ptr: *void,
};

type slice[link]

Show undocumented member
type slice = struct {
	data: nullable *void,
	length: size,
	capacity: size,
};

type sockaddr[link]

Show undocumented member
type sockaddr = struct {
	union {
		in: sockaddr_in,
		in6: sockaddr_in6,
		un: sockaddr_un,
		nl: sockaddr_nl,
	},
};

type sockaddr_in[link]

Show undocumented member
type sockaddr_in = struct {
	sin_family: sa_family_t,
	sin_port: u16,
	sin_addr: in_addr,
	__pad: [16]u8,
};

type sockaddr_in6[link]

Show undocumented member
type sockaddr_in6 = struct {
	sin6_family: sa_family_t,
	sin6_port: u16,
	sin6_flowinfo: u32,
	sin6_addr: in6_addr,
	sin6_scope_id: u32,
};

type sockaddr_nl[link]

Show undocumented member
type sockaddr_nl = struct {
	nl_family: sa_family_t,
	nl_pad: u16,
	nl_pid: u32,
	nl_groups: u32,
};

type sockaddr_un[link]

Show undocumented member
type sockaddr_un = struct {
	sun_family: sa_family_t,
	sun_path: [UNIX_PATH_MAX]u8,
};

type socklen_t[link]

Show undocumented member
type socklen_t = uint;

type st_flock[link]

Show undocumented member
type st_flock = struct {
	l_type: i16,
	l_whence: i16,
	l_start: i64,
	l_len: i64,
	pid: int,
};

type suseconds_t[link]

Show undocumented member
type suseconds_t = i64;

type tcflag[link]

Show undocumented member
type tcflag = enum uint {
	IGNBRK = 1, // c_iflag bit meaning
BRKINT = 2, IGNPAR = 4, PARMRK = 8, INPCK = 16, ISTRIP = 32, INLCR = 64, IGNCR = 128, ICRNL = 256, IUCLC = 512, IXON = 1024, IXANY = 2048, IXOFF = 4096, IMAXBEL = 8192, IUTF8 = 16384, OPOST = 1, // c_oflag bit meaning
OLCUC = 2, ONLCR = 4, OCRNL = 8, ONOCR = 16, ONLRET = 32, OFILL = 64, OFDEL = 128, NLDLY = 256, NL0 = 0, NL1 = 256, CRDLY = 1536, CR0 = 0, CR1 = 512, CR2 = 1024, CR3 = 1536, TABDLY = 6144, TAB0 = 0, TAB1 = 2048, TAB2 = 4096, TAB3 = 6144, XTABS = 6144, BSDLY = 8192, BS0 = 0, BS1 = 8192, VTDLY = 16384, VT0 = 0, VT1 = 16384, FFDLY = 32768, FF0 = 0, FF1 = 32768, CBAUD = 4111, // c_cflag bit meaning
B0 = 0, B50 = 1, B75 = 2, B110 = 3, B134 = 4, B150 = 5, B200 = 6, B300 = 7, B600 = 8, B1200 = 9, B1800 = 10, B2400 = 11, B4800 = 12, B9600 = 13, B19200 = 14, B38400 = 15, EXTA = B19200, EXTB = B38400, CSIZE = 48, CS5 = 0, CS6 = 16, CS7 = 32, CS8 = 48, CSTOPB = 64, CREAD = 128, PARENB = 256, PARODD = 512, HUPCL = 1024, CLOCAL = 2048, CBAUDEX = 4096, BOTHER = 4096, B57600 = 4097, B115200 = 4098, B230400 = 4099, B460800 = 4100, B500000 = 4101, B576000 = 4102, B921600 = 4103, B1000000 = 4104, B1152000 = 4105, B1500000 = 4106, B2000000 = 4107, B2500000 = 4108, B3000000 = 4109, B3500000 = 4110, B4000000 = 4111, CIBAUD = 269418496, CMSPAR = 1073741824, CRTSCTS = 2147483648, ISIG = 1, // c_lflag bit meaning
ICANON = 2, XCASE = 4, ECHO = 8, ECHOE = 16, ECHOK = 32, ECHONL = 64, NOFLSH = 128, TOSTOP = 256, ECHOCTL = 512, ECHOPRT = 1024, ECHOKE = 2048, FLUSHO = 4096, PENDIN = 16384, IEXTEN = 32768, EXTPROC = 65536, };

type termios[link]

Show undocumented member
type termios = struct {
	c_iflag: tcflag,
	c_oflag: tcflag,
	c_cflag: tcflag,
	c_lflag: tcflag,
	c_line: cc,
	c_cc: [NCCS]cc,
};

type time_t[link]

Show undocumented member
type time_t = i64;

type timer_t[link]

Show undocumented member
type timer_t = int;

type timespec[link]

Show undocumented member
type timespec = struct {
	tv_sec: time_t,
	tv_nsec: i64,
};

type timeval[link]

Show undocumented member
type timeval = struct {
	tv_sec: time_t,
	tv_usec: suseconds_t,
};

type uid_t[link]

Show undocumented member
type uid_t = uint;

type utsname[link]

Show undocumented member
type utsname = struct {
	sysname: [65]u8,
	nodename: [65]u8,
	release: [65]u8,
	version: [65]u8,
	machine: [65]u8,
	domainname: [65]u8,
};

type winsize[link]

Show undocumented member
type winsize = struct {
	ws_row: u16,
	ws_col: u16,
	ws_xpixel: u16,
	ws_ypixel: u16,
};

Errors

type errno[link]

type errno = !int;

Represents an error returned from the Linux kernel.

type cpuid_unknownvendor[link]

Show undocumented member
type cpuid_unknownvendor = !void;

Constants

def AF_ALG[link]

def AF_ALG: u16;

CAIF sockets

def AF_APPLETALK[link]

def AF_APPLETALK: u16;

Novell IPX

def AF_ASH[link]

def AF_ASH: u16;

Packet family

def AF_ATMPVC[link]

def AF_ATMPVC: u16;

Multiprotocol bridge

def AF_ATMSVC[link]

def AF_ATMSVC: u16;

Acorn Econet

def AF_AX25[link]

def AF_AX25: u16;

Internet IP Protocol

def AF_BLUETOOTH[link]

def AF_BLUETOOTH: u16;

TIPC sockets

def AF_BRIDGE[link]

def AF_BRIDGE: u16;

Amateur Radio NET/ROM

def AF_CAIF[link]

def AF_CAIF: u16;

IEEE802154 sockets

def AF_CAN[link]

def AF_CAN: u16;

MPLS

def AF_DECnet[link]

def AF_DECnet: u16;

Amateur Radio X.25 PLP

def AF_ECONET[link]

def AF_ECONET: u16;

Ash

def AF_IB[link]

def AF_IB: u16;

Linux LLC

def AF_IEEE802154[link]

def AF_IEEE802154: u16;

Phonet sockets

def AF_INET[link]

def AF_INET: u16;

POSIX name for AF_UNIX

def AF_INET6[link]

def AF_INET6: u16;

Reserved for X.25 project

def AF_IPX[link]

def AF_IPX: u16;

Amateur Radio AX.25

def AF_IRDA[link]

def AF_IRDA: u16;

Linux SNA Project (nutters!)

def AF_ISDN[link]

def AF_ISDN: u16;

RxRPC sockets

def AF_IUCV[link]

def AF_IUCV: u16;

Bluetooth sockets

def AF_KCM[link]

def AF_KCM: u16;

vSockets

def AF_KEY[link]

def AF_KEY: u16;

Security callback pseudo AF

def AF_LLC[link]

def AF_LLC: u16;

Wanpipe API Sockets

def AF_LOCAL[link]

def AF_LOCAL: u16;

Unix domain sockets

def AF_MPLS[link]

def AF_MPLS: u16;

Native InfiniBand address

def AF_NETBEUI[link]

def AF_NETBEUI: u16;

Reserved for DECnet project

def AF_NETLINK: u16;

PF_KEY key management API

def AF_NETROM[link]

def AF_NETROM: u16;

AppleTalk DDP

def AF_NFC[link]

def AF_NFC: u16;

Algorithm sockets

def AF_PACKET[link]

def AF_PACKET: u16;

Alias to emulate 4.4BSD

def AF_PHONET[link]

def AF_PHONET: u16;

mISDN sockets

def AF_PPPOX[link]

def AF_PPPOX: u16;

IRDA sockets

def AF_QIPCRTR[link]

def AF_QIPCRTR: u16;

Kernel Connection Multiplexor

def AF_RDS[link]

def AF_RDS: u16;

ATM SVCs

def AF_ROSE[link]

def AF_ROSE: u16;

IP version 6

def AF_RXRPC[link]

def AF_RXRPC: u16;

IUCV sockets

def AF_SECURITY[link]

def AF_SECURITY: u16;

Reserved for 802.2LLC project

def AF_SMC[link]

def AF_SMC: u16;

Qualcomm IPC Router

def AF_SNA[link]

def AF_SNA: u16;

RDS sockets

def AF_TIPC[link]

def AF_TIPC: u16;

Controller Area Network

def AF_UNSPEC[link]

def AF_UNSPEC: u16;

domain for socket(2)

def AF_VSOCK[link]

def AF_VSOCK: u16;

NFC sockets

def AF_WANPIPE[link]

def AF_WANPIPE: u16;

PPPoX sockets

def AF_X25[link]

def AF_X25: u16;

ATM PVCs

def AF_XDP[link]

def AF_XDP: u16;

smc sockets

def EPOLLIN[link]

def EPOLLIN: u32;

Epoll event masks

def EPOLL_CTL_ADD[link]

def EPOLL_CTL_ADD: int;

Valid opcodes to issue to sys_epoll_ctl()

def INACCESS[link]

def INACCESS: u32;

Inotify event masks

def IN_NONBLOCK[link]

def IN_NONBLOCK: int;

Inotify init1 flags

def IPPROTO_AH[link]

def IPPROTO_AH: int;

Encapsulation Security Payload protocol

def IPPROTO_BEETPH[link]

def IPPROTO_BEETPH: int;

Multicast Transport Protocol

def IPPROTO_COMP[link]

def IPPROTO_COMP: int;

Protocol Independent Multicast

def IPPROTO_DCCP[link]

def IPPROTO_DCCP: int;

SO Transport Protocol Class 4

def IPPROTO_EGP[link]

def IPPROTO_EGP: int;

Transmission Control Protocol

def IPPROTO_ENCAP[link]

def IPPROTO_ENCAP: int;

IP option pseudo header for BEET

def IPPROTO_ESP[link]

def IPPROTO_ESP: int;

Cisco GRE tunnels (rfc 1701,1702)

def IPPROTO_ETHERNET[link]

def IPPROTO_ETHERNET: int;

MPLS in IP (RFC 4023)

def IPPROTO_GRE[link]

def IPPROTO_GRE: int;

RSVP Protocol

def IPPROTO_ICMP[link]

def IPPROTO_ICMP: int;

Dummy protocol for TCP

def IPPROTO_IDP[link]

def IPPROTO_IDP: int;

User Datagram Protocol

def IPPROTO_IGMP[link]

def IPPROTO_IGMP: int;

Internet Control Message Protocol

def IPPROTO_IP[link]

def IPPROTO_IP: int;

protocol for socket(2)

def IPPROTO_IPIP[link]

def IPPROTO_IPIP: int;

Internet Group Management Protocol

def IPPROTO_IPV6[link]

def IPPROTO_IPV6: int;

Datagram Congestion Control Protocol

def IPPROTO_MPLS[link]

def IPPROTO_MPLS: int;

UDP-Lite (RFC 3828)

def IPPROTO_MPTCP[link]

def IPPROTO_MPTCP: int;

Raw IP packets

def IPPROTO_MTP[link]

def IPPROTO_MTP: int;

Authentication Header protocol

def IPPROTO_PIM[link]

def IPPROTO_PIM: int;

Encapsulation Header

def IPPROTO_PUP[link]

def IPPROTO_PUP: int;

Exterior Gateway Protocol

def IPPROTO_RAW[link]

def IPPROTO_RAW: int;

Ethernet-within-IPv6 Encapsulation

def IPPROTO_RSVP[link]

def IPPROTO_RSVP: int;

IPv6-in-IPv4 tunnelling

def IPPROTO_SCTP[link]

def IPPROTO_SCTP: int;

Compression Header Protocol

def IPPROTO_TCP[link]

def IPPROTO_TCP: int;

IPIP tunnels (older KA9Q tunnels use 94)

def IPPROTO_TP[link]

def IPPROTO_TP: int;

XNS IDP protocol

def IPPROTO_UDP[link]

def IPPROTO_UDP: int;

PUP protocol

def IPPROTO_UDPLITE[link]

def IPPROTO_UDPLITE: int;

Stream Control Transport Protocol

def LOCK_SH[link]

def LOCK_SH: int;

Flock operations

def MSG_BATCH[link]

def MSG_BATCH: int;

sendpage() internal : not the last page

def MSG_CMSG_CLOEXEC[link]

def MSG_CMSG_CLOEXEC: int;

Send data in TCP SYN

def MSG_CTRUNC[link]

def MSG_CTRUNC: int;

Synonym for MSG_DONTROUTE for DECnet

def MSG_EOF[link]

def MSG_EOF: int;

sendmmsg(): more messages coming

def MSG_EOR[link]

def MSG_EOR: int;

Nonblocking io

def MSG_FASTOPEN[link]

def MSG_FASTOPEN: int;

Use user data in kernel path

def MSG_FIN[link]

def MSG_FIN: int;

Wait for a full request

def MSG_MORE[link]

def MSG_MORE: int;

Do not generate SIGPIPE

def MSG_NOSIGNAL[link]

def MSG_NOSIGNAL: int;

Fetch message from error queue

def MSG_OOB[link]

def MSG_OOB: int;

send/rcv flags

def MSG_RST[link]

def MSG_RST: int;

Confirm path validity

def MSG_SENDPAGE_DECRYPTED[link]

def MSG_SENDPAGE_DECRYPTED: int;

sendpage() internal : page frags are not shared

def MSG_SENDPAGE_NOPOLICY[link]

def MSG_SENDPAGE_NOPOLICY: int;

recvmmsg(): block until 1+ packets avail

def MSG_SENDPAGE_NOTLAST[link]

def MSG_SENDPAGE_NOTLAST: int;

sendpage() internal : do no apply policy

def MSG_TRUNC[link]

def MSG_TRUNC: int;

Do not send. Only probe path f.e. for MTU

def MSG_WAITALL[link]

def MSG_WAITALL: int;

End of record

def MSG_WAITFORONE[link]

def MSG_WAITFORONE: int;

Sender will send more

def MSG_ZEROCOPY[link]

def MSG_ZEROCOPY: int;

sendpage() internal : page may carry * plain text and require encryption

def O_RDONLY[link]

def O_RDONLY: int;

O_DIRECTORY is arch specific

def SOCK_STREAM[link]

def SOCK_STREAM: int;

type for socket(2)

def SOL_SOCKET[link]

def SOL_SOCKET: int;

setsockopt levels

def SO_DEBUG[link]

def SO_DEBUG: int;

setsockopt options

def SO_PASSCRED[link]

def SO_PASSCRED: int;

the following differ on ppc

def AF_ROUTE[link]

Show undocumented member
def AF_ROUTE: u16;

def AF_UNIX[link]

Show undocumented member
def AF_UNIX: u16;

def AT_EACCESS[link]

Show undocumented member
def AT_EACCESS: int;

def AT_EMPTY_PATH[link]

Show undocumented member
def AT_EMPTY_PATH: int;

def AT_FDCWD[link]

Show undocumented member
def AT_FDCWD: int;

def AT_NO_AUTOMOUNT[link]

Show undocumented member
def AT_NO_AUTOMOUNT: int;

def AT_RECURSIVE[link]

Show undocumented member
def AT_RECURSIVE: int;

def AT_REMOVEDIR[link]

Show undocumented member
def AT_REMOVEDIR: int;

def AT_STATX_DONT_SYNC[link]

Show undocumented member
def AT_STATX_DONT_SYNC: int;

def AT_STATX_FORCE_SYNC[link]

Show undocumented member
def AT_STATX_FORCE_SYNC: int;

def AT_STATX_SYNC_AS_STAT[link]

Show undocumented member
def AT_STATX_SYNC_AS_STAT: int;

def AT_STATX_SYNC_TYPE[link]

Show undocumented member
def AT_STATX_SYNC_TYPE: int;
Show undocumented member
def AT_SYMLINK_FOLLOW: int;
Show undocumented member
def AT_SYMLINK_NOFOLLOW: int;

def CLOCK_BOOTTIME[link]

Show undocumented member
def CLOCK_BOOTTIME: int;

def CLOCK_BOOTTIME_ALARM[link]

Show undocumented member
def CLOCK_BOOTTIME_ALARM: int;

def CLOCK_MONOTONIC[link]

Show undocumented member
def CLOCK_MONOTONIC: int;

def CLOCK_MONOTONIC_COARSE[link]

Show undocumented member
def CLOCK_MONOTONIC_COARSE: int;

def CLOCK_MONOTONIC_RAW[link]

Show undocumented member
def CLOCK_MONOTONIC_RAW: int;

def CLOCK_PROCESS_CPUTIME_ID[link]

Show undocumented member
def CLOCK_PROCESS_CPUTIME_ID: int;

def CLOCK_REALTIME[link]

Show undocumented member
def CLOCK_REALTIME: int;

def CLOCK_REALTIME_ALARM[link]

Show undocumented member
def CLOCK_REALTIME_ALARM: int;

def CLOCK_REALTIME_COARSE[link]

Show undocumented member
def CLOCK_REALTIME_COARSE: int;

def CLOCK_SGI_CYCLE[link]

Show undocumented member
def CLOCK_SGI_CYCLE: int;

def CLOCK_TAI[link]

Show undocumented member
def CLOCK_TAI: int;

def CLOCK_THREAD_CPUTIME_ID[link]

Show undocumented member
def CLOCK_THREAD_CPUTIME_ID: int;

def DT_BLK[link]

Show undocumented member
def DT_BLK: u8;

def DT_CHR[link]

Show undocumented member
def DT_CHR: u8;

def DT_DIR[link]

Show undocumented member
def DT_DIR: u8;

def DT_FIFO[link]

Show undocumented member
def DT_FIFO: u8;

def DT_LNK[link]

Show undocumented member
def DT_LNK: u8;

def DT_REG[link]

Show undocumented member
def DT_REG: u8;

def DT_SOCK[link]

Show undocumented member
def DT_SOCK: u8;

def DT_UNKNOWN[link]

Show undocumented member
def DT_UNKNOWN: u8;

def E2BIG[link]

Show undocumented member
def E2BIG: errno;

def EACCES[link]

Show undocumented member
def EACCES: errno;

def EADDRINUSE[link]

Show undocumented member
def EADDRINUSE: errno;

def EADDRNOTAVAIL[link]

Show undocumented member
def EADDRNOTAVAIL: errno;

def EADV[link]

Show undocumented member
def EADV: errno;

def EAFNOSUPPORT[link]

Show undocumented member
def EAFNOSUPPORT: errno;

def EAGAIN[link]

Show undocumented member
def EAGAIN: errno;

def EALREADY[link]

Show undocumented member
def EALREADY: errno;

def EBADE[link]

Show undocumented member
def EBADE: errno;

def EBADF[link]

Show undocumented member
def EBADF: errno;

def EBADFD[link]

Show undocumented member
def EBADFD: errno;

def EBADMSG[link]

Show undocumented member
def EBADMSG: errno;

def EBADR[link]

Show undocumented member
def EBADR: errno;

def EBADRQC[link]

Show undocumented member
def EBADRQC: errno;

def EBADSLT[link]

Show undocumented member
def EBADSLT: errno;

def EBFONT[link]

Show undocumented member
def EBFONT: errno;

def EBUSY[link]

Show undocumented member
def EBUSY: errno;

def ECANCELED[link]

Show undocumented member
def ECANCELED: errno;

def ECHILD[link]

Show undocumented member
def ECHILD: errno;

def ECHRNG[link]

Show undocumented member
def ECHRNG: errno;

def ECOMM[link]

Show undocumented member
def ECOMM: errno;

def ECONNABORTED[link]

Show undocumented member
def ECONNABORTED: errno;

def ECONNREFUSED[link]

Show undocumented member
def ECONNREFUSED: errno;

def ECONNRESET[link]

Show undocumented member
def ECONNRESET: errno;

def EDEADLK[link]

Show undocumented member
def EDEADLK: errno;

def EDEADLOCK[link]

Show undocumented member
def EDEADLOCK: int;

def EDESTADDRREQ[link]

Show undocumented member
def EDESTADDRREQ: errno;

def EDOM[link]

Show undocumented member
def EDOM: errno;

def EDOTDOT[link]

Show undocumented member
def EDOTDOT: errno;

def EDQUOT[link]

Show undocumented member
def EDQUOT: errno;

def EEXIST[link]

Show undocumented member
def EEXIST: errno;

def EFAULT[link]

Show undocumented member
def EFAULT: errno;

def EFBIG[link]

Show undocumented member
def EFBIG: errno;

def EFD_CLOEXEC[link]

Show undocumented member
def EFD_CLOEXEC: int;

def EFD_NONBLOCK[link]

Show undocumented member
def EFD_NONBLOCK: int;

def EFD_SEMAPHORE[link]

Show undocumented member
def EFD_SEMAPHORE: int;

def EHOSTDOWN[link]

Show undocumented member
def EHOSTDOWN: errno;

def EHOSTUNREACH[link]

Show undocumented member
def EHOSTUNREACH: errno;

def EHWPOISON[link]

Show undocumented member
def EHWPOISON: errno;

def EIDRM[link]

Show undocumented member
def EIDRM: errno;

def EILSEQ[link]

Show undocumented member
def EILSEQ: errno;

def EINPROGRESS[link]

Show undocumented member
def EINPROGRESS: errno;

def EINTR[link]

Show undocumented member
def EINTR: errno;

def EINVAL[link]

Show undocumented member
def EINVAL: errno;

def EIO[link]

Show undocumented member
def EIO: errno;

def EISCONN[link]

Show undocumented member
def EISCONN: errno;

def EISDIR[link]

Show undocumented member
def EISDIR: errno;

def EISNAM[link]

Show undocumented member
def EISNAM: errno;

def EKEYEXPIRED[link]

Show undocumented member
def EKEYEXPIRED: errno;

def EKEYREJECTED[link]

Show undocumented member
def EKEYREJECTED: errno;

def EKEYREVOKED[link]

Show undocumented member
def EKEYREVOKED: errno;

def EL2HLT[link]

Show undocumented member
def EL2HLT: errno;

def EL2NSYNC[link]

Show undocumented member
def EL2NSYNC: errno;

def EL3HLT[link]

Show undocumented member
def EL3HLT: errno;

def EL3RST[link]

Show undocumented member
def EL3RST: errno;

def ELIBACC[link]

Show undocumented member
def ELIBACC: errno;

def ELIBBAD[link]

Show undocumented member
def ELIBBAD: errno;

def ELIBEXEC[link]

Show undocumented member
def ELIBEXEC: errno;

def ELIBMAX[link]

Show undocumented member
def ELIBMAX: errno;

def ELIBSCN[link]

Show undocumented member
def ELIBSCN: errno;

def ELNRNG[link]

Show undocumented member
def ELNRNG: errno;

def ELOOP[link]

Show undocumented member
def ELOOP: errno;

def EMEDIUMTYPE[link]

Show undocumented member
def EMEDIUMTYPE: errno;

def EMFILE[link]

Show undocumented member
def EMFILE: errno;
Show undocumented member
def EMLINK: errno;

def EMSGSIZE[link]

Show undocumented member
def EMSGSIZE: errno;

def EMULTIHOP[link]

Show undocumented member
def EMULTIHOP: errno;

def ENAMETOOLONG[link]

Show undocumented member
def ENAMETOOLONG: errno;

def ENAVAIL[link]

Show undocumented member
def ENAVAIL: errno;

def ENETDOWN[link]

Show undocumented member
def ENETDOWN: errno;

def ENETRESET[link]

Show undocumented member
def ENETRESET: errno;

def ENETUNREACH[link]

Show undocumented member
def ENETUNREACH: errno;

def ENFILE[link]

Show undocumented member
def ENFILE: errno;

def ENOANO[link]

Show undocumented member
def ENOANO: errno;

def ENOBUFS[link]

Show undocumented member
def ENOBUFS: errno;

def ENOCSI[link]

Show undocumented member
def ENOCSI: errno;

def ENODATA[link]

Show undocumented member
def ENODATA: errno;

def ENODEV[link]

Show undocumented member
def ENODEV: errno;

def ENOENT[link]

Show undocumented member
def ENOENT: errno;

def ENOEXEC[link]

Show undocumented member
def ENOEXEC: errno;

def ENOKEY[link]

Show undocumented member
def ENOKEY: errno;

def ENOLCK[link]

Show undocumented member
def ENOLCK: errno;
Show undocumented member
def ENOLINK: errno;

def ENOMEDIUM[link]

Show undocumented member
def ENOMEDIUM: errno;

def ENOMEM[link]

Show undocumented member
def ENOMEM: errno;

def ENOMSG[link]

Show undocumented member
def ENOMSG: errno;

def ENONET[link]

Show undocumented member
def ENONET: errno;

def ENOPKG[link]

Show undocumented member
def ENOPKG: errno;

def ENOPROTOOPT[link]

Show undocumented member
def ENOPROTOOPT: errno;

def ENOSPC[link]

Show undocumented member
def ENOSPC: errno;

def ENOSR[link]

Show undocumented member
def ENOSR: errno;

def ENOSTR[link]

Show undocumented member
def ENOSTR: errno;

def ENOSYS[link]

Show undocumented member
def ENOSYS: errno;

def ENOTBLK[link]

Show undocumented member
def ENOTBLK: errno;

def ENOTCONN[link]

Show undocumented member
def ENOTCONN: errno;

def ENOTDIR[link]

Show undocumented member
def ENOTDIR: errno;

def ENOTEMPTY[link]

Show undocumented member
def ENOTEMPTY: errno;

def ENOTNAM[link]

Show undocumented member
def ENOTNAM: errno;

def ENOTRECOVERABLE[link]

Show undocumented member
def ENOTRECOVERABLE: errno;

def ENOTSOCK[link]

Show undocumented member
def ENOTSOCK: errno;

def ENOTSUP[link]

Show undocumented member
def ENOTSUP: errno;

def ENOTTY[link]

Show undocumented member
def ENOTTY: errno;

def ENOTUNIQ[link]

Show undocumented member
def ENOTUNIQ: errno;

def ENXIO[link]

Show undocumented member
def ENXIO: errno;

def EOPNOTSUPP[link]

Show undocumented member
def EOPNOTSUPP: errno;

def EOVERFLOW[link]

Show undocumented member
def EOVERFLOW: errno;

def EOWNERDEAD[link]

Show undocumented member
def EOWNERDEAD: errno;

def EPERM[link]

Show undocumented member
def EPERM: errno;

def EPFNOSUPPORT[link]

Show undocumented member
def EPFNOSUPPORT: errno;

def EPIPE[link]

Show undocumented member
def EPIPE: errno;

def EPOLLERR[link]

Show undocumented member
def EPOLLERR: u32;

def EPOLLET[link]

Show undocumented member
def EPOLLET: u32;

def EPOLLHUP[link]

Show undocumented member
def EPOLLHUP: u32;

def EPOLLMSG[link]

Show undocumented member
def EPOLLMSG: u32;

def EPOLLNVAL[link]

Show undocumented member
def EPOLLNVAL: u32;

def EPOLLONESHOT[link]

Show undocumented member
def EPOLLONESHOT: u32;

def EPOLLOUT[link]

Show undocumented member
def EPOLLOUT: u32;

def EPOLLPRI[link]

Show undocumented member
def EPOLLPRI: u32;

def EPOLLRDBAND[link]

Show undocumented member
def EPOLLRDBAND: u32;

def EPOLLRDHUP[link]

Show undocumented member
def EPOLLRDHUP: u32;

def EPOLLRDNORM[link]

Show undocumented member
def EPOLLRDNORM: u32;

def EPOLLWAKEUP[link]

Show undocumented member
def EPOLLWAKEUP: u32;

def EPOLLWRBAND[link]

Show undocumented member
def EPOLLWRBAND: u32;

def EPOLLWRNORM[link]

Show undocumented member
def EPOLLWRNORM: u32;

def EPOLL_CLOEXEC[link]

Show undocumented member
def EPOLL_CLOEXEC: int;

def EPOLL_CTL_DEL[link]

Show undocumented member
def EPOLL_CTL_DEL: int;

def EPOLL_CTL_MOD[link]

Show undocumented member
def EPOLL_CTL_MOD: int;

def EPROTO[link]

Show undocumented member
def EPROTO: errno;

def EPROTONOSUPPORT[link]

Show undocumented member
def EPROTONOSUPPORT: errno;

def EPROTOTYPE[link]

Show undocumented member
def EPROTOTYPE: errno;

def ERANGE[link]

Show undocumented member
def ERANGE: errno;

def EREMCHG[link]

Show undocumented member
def EREMCHG: errno;

def EREMOTE[link]

Show undocumented member
def EREMOTE: errno;

def EREMOTEIO[link]

Show undocumented member
def EREMOTEIO: errno;

def ERESTART[link]

Show undocumented member
def ERESTART: errno;

def ERFKILL[link]

Show undocumented member
def ERFKILL: errno;

def EROFS[link]

Show undocumented member
def EROFS: errno;

def ESHUTDOWN[link]

Show undocumented member
def ESHUTDOWN: errno;

def ESOCKTNOSUPPORT[link]

Show undocumented member
def ESOCKTNOSUPPORT: errno;

def ESPIPE[link]

Show undocumented member
def ESPIPE: errno;

def ESRCH[link]

Show undocumented member
def ESRCH: errno;

def ESRMNT[link]

Show undocumented member
def ESRMNT: errno;

def ESTALE[link]

Show undocumented member
def ESTALE: errno;

def ESTRPIPE[link]

Show undocumented member
def ESTRPIPE: errno;

def ETIME[link]

Show undocumented member
def ETIME: errno;

def ETIMEDOUT[link]

Show undocumented member
def ETIMEDOUT: errno;

def ETOOMANYREFS[link]

Show undocumented member
def ETOOMANYREFS: errno;

def ETXTBSY[link]

Show undocumented member
def ETXTBSY: errno;

def EUCLEAN[link]

Show undocumented member
def EUCLEAN: errno;

def EUNATCH[link]

Show undocumented member
def EUNATCH: errno;

def EUSERS[link]

Show undocumented member
def EUSERS: errno;

def EWOULDBLOCK[link]

Show undocumented member
def EWOULDBLOCK: errno;

def EXDEV[link]

Show undocumented member
def EXDEV: errno;

def EXFULL[link]

Show undocumented member
def EXFULL: errno;

def FD_CLOEXEC[link]

Show undocumented member
def FD_CLOEXEC: int;

def F_DUPFD[link]

Show undocumented member
def F_DUPFD: int;

def F_DUPFD_CLOEXEC[link]

Show undocumented member
def F_DUPFD_CLOEXEC: int;

def F_GETFD[link]

Show undocumented member
def F_GETFD: int;

def F_GETFL[link]

Show undocumented member
def F_GETFL: int;

def F_GETLK[link]

Show undocumented member
def F_GETLK: int;

def F_GETOWN[link]

Show undocumented member
def F_GETOWN: int;

def F_GETOWNER_UIDS[link]

Show undocumented member
def F_GETOWNER_UIDS: int;

def F_GETOWN_EX[link]

Show undocumented member
def F_GETOWN_EX: int;

def F_GETSIG[link]

Show undocumented member
def F_GETSIG: int;

def F_OK[link]

Show undocumented member
def F_OK: int;

def F_RDLCK[link]

Show undocumented member
def F_RDLCK: i16;

def F_SETFD[link]

Show undocumented member
def F_SETFD: int;

def F_SETFL[link]

Show undocumented member
def F_SETFL: int;

def F_SETLK[link]

Show undocumented member
def F_SETLK: int;

def F_SETLKW[link]

Show undocumented member
def F_SETLKW: int;

def F_SETOWN[link]

Show undocumented member
def F_SETOWN: int;

def F_SETOWN_EX[link]

Show undocumented member
def F_SETOWN_EX: int;

def F_SETSIG[link]

Show undocumented member
def F_SETSIG: int;

def F_UNLCK[link]

Show undocumented member
def F_UNLCK: i16;

def F_WRLCK[link]

Show undocumented member
def F_WRLCK: i16;

def INATTRIB[link]

Show undocumented member
def INATTRIB: u32;

def INCLOSE[link]

Show undocumented member
def INCLOSE: u32;

def INCLOSENOWRITE[link]

Show undocumented member
def INCLOSENOWRITE: u32;

def INCLOSEWRITE[link]

Show undocumented member
def INCLOSEWRITE: u32;

def INCREATE[link]

Show undocumented member
def INCREATE: u32;

def INDELETE[link]

Show undocumented member
def INDELETE: u32;

def INDELETESELF[link]

Show undocumented member
def INDELETESELF: u32;

def INDONTFOLLOW[link]

Show undocumented member
def INDONTFOLLOW: u32;
Show undocumented member
def INEXCLUNLINK: u32;

def INIGNORED[link]

Show undocumented member
def INIGNORED: u32;

def INISDIR[link]

Show undocumented member
def INISDIR: u32;

def INMASKADD[link]

Show undocumented member
def INMASKADD: u32;

def INMASKCREATE[link]

Show undocumented member
def INMASKCREATE: u32;

def INMODIFY[link]

Show undocumented member
def INMODIFY: u32;

def INMOVE[link]

Show undocumented member
def INMOVE: u32;

def INMOVEDFROM[link]

Show undocumented member
def INMOVEDFROM: u32;

def INMOVEDTO[link]

Show undocumented member
def INMOVEDTO: u32;

def INMOVESELF[link]

Show undocumented member
def INMOVESELF: u32;

def INONESHOT[link]

Show undocumented member
def INONESHOT: u32;

def INONLYDIR[link]

Show undocumented member
def INONLYDIR: u32;

def INOPEN[link]

Show undocumented member
def INOPEN: u32;

def INQOVERFLOW[link]

Show undocumented member
def INQOVERFLOW: u32;

def INUNMOUNT[link]

Show undocumented member
def INUNMOUNT: u32;

def IN_CLOEXEC[link]

Show undocumented member
def IN_CLOEXEC: int;

def LOCK_EX[link]

Show undocumented member
def LOCK_EX: int;

def LOCK_NB[link]

Show undocumented member
def LOCK_NB: int;

def LOCK_UN[link]

Show undocumented member
def LOCK_UN: int;

def MAP_ANON[link]

Show undocumented member
def MAP_ANON: uint;

def MAP_DENYWRITE[link]

Show undocumented member
def MAP_DENYWRITE: uint;

def MAP_EXECUTABLE[link]

Show undocumented member
def MAP_EXECUTABLE: uint;

def MAP_FILE[link]

Show undocumented member
def MAP_FILE: uint;

def MAP_FIXED[link]

Show undocumented member
def MAP_FIXED: uint;

def MAP_FIXED_NOREPLACE[link]

Show undocumented member
def MAP_FIXED_NOREPLACE: uint;

def MAP_GROWSDOWN[link]

Show undocumented member
def MAP_GROWSDOWN: uint;

def MAP_HUGETLB[link]

Show undocumented member
def MAP_HUGETLB: uint;

def MAP_HUGE_16GB[link]

Show undocumented member
def MAP_HUGE_16GB: uint;

def MAP_HUGE_16MB[link]

Show undocumented member
def MAP_HUGE_16MB: uint;

def MAP_HUGE_1GB[link]

Show undocumented member
def MAP_HUGE_1GB: uint;

def MAP_HUGE_1MB[link]

Show undocumented member
def MAP_HUGE_1MB: uint;

def MAP_HUGE_256MB[link]

Show undocumented member
def MAP_HUGE_256MB: uint;

def MAP_HUGE_2GB[link]

Show undocumented member
def MAP_HUGE_2GB: uint;

def MAP_HUGE_2MB[link]

Show undocumented member
def MAP_HUGE_2MB: uint;

def MAP_HUGE_32MB[link]

Show undocumented member
def MAP_HUGE_32MB: uint;

def MAP_HUGE_512KB[link]

Show undocumented member
def MAP_HUGE_512KB: uint;

def MAP_HUGE_512MB[link]

Show undocumented member
def MAP_HUGE_512MB: uint;

def MAP_HUGE_64KB[link]

Show undocumented member
def MAP_HUGE_64KB: uint;

def MAP_HUGE_8MB[link]

Show undocumented member
def MAP_HUGE_8MB: uint;

def MAP_HUGE_MASK[link]

Show undocumented member
def MAP_HUGE_MASK: uint;

def MAP_HUGE_SHIFT[link]

Show undocumented member
def MAP_HUGE_SHIFT: uint;

def MAP_LOCKED[link]

Show undocumented member
def MAP_LOCKED: uint;

def MAP_NONBLOCK[link]

Show undocumented member
def MAP_NONBLOCK: uint;

def MAP_NORESERVE[link]

Show undocumented member
def MAP_NORESERVE: uint;

def MAP_POPULATE[link]

Show undocumented member
def MAP_POPULATE: uint;

def MAP_PRIVATE[link]

Show undocumented member
def MAP_PRIVATE: uint;

def MAP_SHARED[link]

Show undocumented member
def MAP_SHARED: uint;

def MAP_SHARED_VALIDATE[link]

Show undocumented member
def MAP_SHARED_VALIDATE: uint;

def MAP_STACK[link]

Show undocumented member
def MAP_STACK: uint;

def MAP_SYNC[link]

Show undocumented member
def MAP_SYNC: uint;

def MCL_CURRENT[link]

Show undocumented member
def MCL_CURRENT: int;

def MCL_FUTURE[link]

Show undocumented member
def MCL_FUTURE: int;

def MCL_ONFAULT[link]

Show undocumented member
def MCL_ONFAULT: int;

def MFD_ALLOW_SEALING[link]

Show undocumented member
def MFD_ALLOW_SEALING: uint;

def MFD_CLOEXEC[link]

Show undocumented member
def MFD_CLOEXEC: uint;

def MFD_HUGETLB[link]

Show undocumented member
def MFD_HUGETLB: uint;

def MLOCK_ONFAULT[link]

Show undocumented member
def MLOCK_ONFAULT: uint;

def MSG_CONFIRM[link]

Show undocumented member
def MSG_CONFIRM: int;

def MSG_DONTROUTE[link]

Show undocumented member
def MSG_DONTROUTE: int;

def MSG_DONTWAIT[link]

Show undocumented member
def MSG_DONTWAIT: int;

def MSG_ERRQUEUE[link]

Show undocumented member
def MSG_ERRQUEUE: int;

def MSG_NO_SHARED_FRAGS[link]

Show undocumented member
def MSG_NO_SHARED_FRAGS: int;

def MSG_PEEK[link]

Show undocumented member
def MSG_PEEK: int;

def MSG_PROBE[link]

Show undocumented member
def MSG_PROBE: int;

def MSG_SYN[link]

Show undocumented member
def MSG_SYN: int;

def MSG_TRYHARD[link]

Show undocumented member
def MSG_TRYHARD: int;

def NCCS[link]

Show undocumented member
def NCCS: size;

def NGROUPS_MAX[link]

Show undocumented member
def NGROUPS_MAX: size;

def NSIG[link]

Show undocumented member
def NSIG: int;

def O_ACCMODE[link]

Show undocumented member
def O_ACCMODE: int;

def O_APPEND[link]

Show undocumented member
def O_APPEND: int;

def O_CLOEXEC[link]

Show undocumented member
def O_CLOEXEC: int;

def O_CREATE[link]

Show undocumented member
def O_CREATE: int;

def O_DIRECT[link]

Show undocumented member
def O_DIRECT: int;

def O_DIRECTORY[link]

Show undocumented member
def O_DIRECTORY: int;

def O_DSYNC[link]

Show undocumented member
def O_DSYNC: int;

def O_EXCLUSIVE[link]

Show undocumented member
def O_EXCLUSIVE: int;

def O_NOATIME[link]

Show undocumented member
def O_NOATIME: int;

def O_NOCTTY[link]

Show undocumented member
def O_NOCTTY: int;

def O_NOFOLLOW[link]

Show undocumented member
def O_NOFOLLOW: int;

def O_NONBLOCK[link]

Show undocumented member
def O_NONBLOCK: int;

def O_PATH[link]

Show undocumented member
def O_PATH: int;

def O_RDWR[link]

Show undocumented member
def O_RDWR: int;

def O_RSYNC[link]

Show undocumented member
def O_RSYNC: int;

def O_SYNC[link]

Show undocumented member
def O_SYNC: int;

def O_TMPFILE[link]

Show undocumented member
def O_TMPFILE: int;

def O_TRUNC[link]

Show undocumented member
def O_TRUNC: int;

def O_WRONLY[link]

Show undocumented member
def O_WRONLY: int;

def PATH_MAX[link]

Show undocumented member
def PATH_MAX: size;

def POLLERR[link]

Show undocumented member
def POLLERR: i16;

def POLLHUP[link]

Show undocumented member
def POLLHUP: i16;

def POLLIN[link]

Show undocumented member
def POLLIN: i16;

def POLLOUT[link]

Show undocumented member
def POLLOUT: i16;

def POLLPRI[link]

Show undocumented member
def POLLPRI: i16;

def POLLVAL[link]

Show undocumented member
def POLLVAL: i16;

def PRIO_PGRP[link]

Show undocumented member
def PRIO_PGRP: int;

def PRIO_PROCESS[link]

Show undocumented member
def PRIO_PROCESS: int;

def PRIO_USER[link]

Show undocumented member
def PRIO_USER: int;

def PROT_EXEC[link]

Show undocumented member
def PROT_EXEC: uint;

def PROT_GROWSDOWN[link]

Show undocumented member
def PROT_GROWSDOWN: uint;

def PROT_GROWSUP[link]

Show undocumented member
def PROT_GROWSUP: uint;

def PROT_NONE[link]

Show undocumented member
def PROT_NONE: uint;

def PROT_READ[link]

Show undocumented member
def PROT_READ: uint;

def PROT_WRITE[link]

Show undocumented member
def PROT_WRITE: uint;

def PR_CAPBSET_DROP[link]

Show undocumented member
def PR_CAPBSET_DROP: int;

def PR_CAPBSET_READ[link]

Show undocumented member
def PR_CAPBSET_READ: int;

def PR_CAP_AMBIENT[link]

Show undocumented member
def PR_CAP_AMBIENT: int;

def PR_CAP_AMBIENT_CLEAR_ALL[link]

Show undocumented member
def PR_CAP_AMBIENT_CLEAR_ALL: u64;

def PR_CAP_AMBIENT_IS_SET[link]

Show undocumented member
def PR_CAP_AMBIENT_IS_SET: u64;

def PR_CAP_AMBIENT_LOWER[link]

Show undocumented member
def PR_CAP_AMBIENT_LOWER: u64;

def PR_CAP_AMBIENT_RAISE[link]

Show undocumented member
def PR_CAP_AMBIENT_RAISE: u64;

def PR_ENDIAN_BIG[link]

Show undocumented member
def PR_ENDIAN_BIG: u64;

def PR_ENDIAN_LITTLE[link]

Show undocumented member
def PR_ENDIAN_LITTLE: u64;

def PR_ENDIAN_PPC_LITTLE[link]

Show undocumented member
def PR_ENDIAN_PPC_LITTLE: u64;

def PR_FPEMU_NOPRINT[link]

Show undocumented member
def PR_FPEMU_NOPRINT: u64;

def PR_FPEMU_SIGFPE[link]

Show undocumented member
def PR_FPEMU_SIGFPE: u64;

def PR_FP_EXC_ASYNC[link]

Show undocumented member
def PR_FP_EXC_ASYNC: u64;

def PR_FP_EXC_DISABLED[link]

Show undocumented member
def PR_FP_EXC_DISABLED: u64;

def PR_FP_EXC_DIV[link]

Show undocumented member
def PR_FP_EXC_DIV: u64;

def PR_FP_EXC_INV[link]

Show undocumented member
def PR_FP_EXC_INV: u64;

def PR_FP_EXC_NONRECOV[link]

Show undocumented member
def PR_FP_EXC_NONRECOV: u64;

def PR_FP_EXC_OVF[link]

Show undocumented member
def PR_FP_EXC_OVF: u64;

def PR_FP_EXC_PRECISE[link]

Show undocumented member
def PR_FP_EXC_PRECISE: u64;

def PR_FP_EXC_RES[link]

Show undocumented member
def PR_FP_EXC_RES: u64;

def PR_FP_EXC_SW_ENABLE[link]

Show undocumented member
def PR_FP_EXC_SW_ENABLE: u64;

def PR_FP_EXC_UND[link]

Show undocumented member
def PR_FP_EXC_UND: u64;

def PR_FP_MODE_FR[link]

Show undocumented member
def PR_FP_MODE_FR: u64;

def PR_FP_MODE_FRE[link]

Show undocumented member
def PR_FP_MODE_FRE: u64;

def PR_GET_CHILD_SUBREAPER[link]

Show undocumented member
def PR_GET_CHILD_SUBREAPER: int;

def PR_GET_DUMPABLE[link]

Show undocumented member
def PR_GET_DUMPABLE: u64;

def PR_GET_ENDIAN[link]

Show undocumented member
def PR_GET_ENDIAN: int;

def PR_GET_FPEMU[link]

Show undocumented member
def PR_GET_FPEMU: int;

def PR_GET_FPEXC[link]

Show undocumented member
def PR_GET_FPEXC: int;

def PR_GET_FP_MODE[link]

Show undocumented member
def PR_GET_FP_MODE: int;

def PR_GET_IO_FLUSHER[link]

Show undocumented member
def PR_GET_IO_FLUSHER: int;

def PR_GET_KEEPCAPS[link]

Show undocumented member
def PR_GET_KEEPCAPS: int;

def PR_GET_NAME[link]

Show undocumented member
def PR_GET_NAME: int;

def PR_GET_NO_NEW_PRIVS[link]

Show undocumented member
def PR_GET_NO_NEW_PRIVS: int;

def PR_GET_PDEATHSIG[link]

Show undocumented member
def PR_GET_PDEATHSIG: int;

def PR_GET_SECCOMP[link]

Show undocumented member
def PR_GET_SECCOMP: int;

def PR_GET_SECUREBITS[link]

Show undocumented member
def PR_GET_SECUREBITS: int;

def PR_GET_SPECULATION_CTRL[link]

Show undocumented member
def PR_GET_SPECULATION_CTRL: int;

def PR_GET_TAGGED_ADDR_CTRL[link]

Show undocumented member
def PR_GET_TAGGED_ADDR_CTRL: int;

def PR_GET_THP_DISABLE[link]

Show undocumented member
def PR_GET_THP_DISABLE: int;

def PR_GET_TID_ADDRESS[link]

Show undocumented member
def PR_GET_TID_ADDRESS: int;

def PR_GET_TIMERSLACK[link]

Show undocumented member
def PR_GET_TIMERSLACK: int;

def PR_GET_TIMING[link]

Show undocumented member
def PR_GET_TIMING: int;

def PR_GET_TSC[link]

Show undocumented member
def PR_GET_TSC: int;

def PR_GET_UNALIGN[link]

Show undocumented member
def PR_GET_UNALIGN: int;

def PR_MCE_KILL[link]

Show undocumented member
def PR_MCE_KILL: int;

def PR_MCE_KILL_CLEAR[link]

Show undocumented member
def PR_MCE_KILL_CLEAR: u64;

def PR_MCE_KILL_DEFAULT[link]

Show undocumented member
def PR_MCE_KILL_DEFAULT: u64;

def PR_MCE_KILL_EARLY[link]

Show undocumented member
def PR_MCE_KILL_EARLY: u64;

def PR_MCE_KILL_GET[link]

Show undocumented member
def PR_MCE_KILL_GET: int;

def PR_MCE_KILL_LATE[link]

Show undocumented member
def PR_MCE_KILL_LATE: u64;

def PR_MCE_KILL_SET[link]

Show undocumented member
def PR_MCE_KILL_SET: u64;

def PR_MPX_DISABLE_MANAGEMENT[link]

Show undocumented member
def PR_MPX_DISABLE_MANAGEMENT: int;

def PR_MPX_ENABLE_MANAGEMENT[link]

Show undocumented member
def PR_MPX_ENABLE_MANAGEMENT: int;

def PR_MTE_TAG_MASK[link]

Show undocumented member
def PR_MTE_TAG_MASK: u64;

def PR_MTE_TAG_SHIFT[link]

Show undocumented member
def PR_MTE_TAG_SHIFT: u64;

def PR_MTE_TCF_ASYNC[link]

Show undocumented member
def PR_MTE_TCF_ASYNC: u64;

def PR_MTE_TCF_MASK[link]

Show undocumented member
def PR_MTE_TCF_MASK: u64;

def PR_MTE_TCF_NONE[link]

Show undocumented member
def PR_MTE_TCF_NONE: u64;

def PR_MTE_TCF_SHIFT[link]

Show undocumented member
def PR_MTE_TCF_SHIFT: u64;

def PR_MTE_TCF_SYNC[link]

Show undocumented member
def PR_MTE_TCF_SYNC: u64;

def PR_PAC_APDAKEY[link]

Show undocumented member
def PR_PAC_APDAKEY: u64;

def PR_PAC_APDBKEY[link]

Show undocumented member
def PR_PAC_APDBKEY: u64;

def PR_PAC_APGAKEY[link]

Show undocumented member
def PR_PAC_APGAKEY: u64;

def PR_PAC_APIAKEY[link]

Show undocumented member
def PR_PAC_APIAKEY: u64;

def PR_PAC_APIBKEY[link]

Show undocumented member
def PR_PAC_APIBKEY: u64;

def PR_PAC_RESET_KEYS[link]

Show undocumented member
def PR_PAC_RESET_KEYS: int;

def PR_SET_CHILD_SUBREAPER[link]

Show undocumented member
def PR_SET_CHILD_SUBREAPER: int;

def PR_SET_DUMPABLE[link]

Show undocumented member
def PR_SET_DUMPABLE: int;

def PR_SET_ENDIAN[link]

Show undocumented member
def PR_SET_ENDIAN: int;

def PR_SET_FPEMU[link]

Show undocumented member
def PR_SET_FPEMU: int;

def PR_SET_FPEXC[link]

Show undocumented member
def PR_SET_FPEXC: int;

def PR_SET_FP_MODE[link]

Show undocumented member
def PR_SET_FP_MODE: int;

def PR_SET_IO_FLUSHER[link]

Show undocumented member
def PR_SET_IO_FLUSHER: int;

def PR_SET_KEEPCAPS[link]

Show undocumented member
def PR_SET_KEEPCAPS: int;

def PR_SET_MM[link]

Show undocumented member
def PR_SET_MM: int;

def PR_SET_MM_ARG_END[link]

Show undocumented member
def PR_SET_MM_ARG_END: u64;

def PR_SET_MM_ARG_START[link]

Show undocumented member
def PR_SET_MM_ARG_START: u64;

def PR_SET_MM_AUXV[link]

Show undocumented member
def PR_SET_MM_AUXV: u64;

def PR_SET_MM_BRK[link]

Show undocumented member
def PR_SET_MM_BRK: u64;

def PR_SET_MM_END_CODE[link]

Show undocumented member
def PR_SET_MM_END_CODE: u64;

def PR_SET_MM_END_DATA[link]

Show undocumented member
def PR_SET_MM_END_DATA: u64;

def PR_SET_MM_ENV_END[link]

Show undocumented member
def PR_SET_MM_ENV_END: u64;

def PR_SET_MM_ENV_START[link]

Show undocumented member
def PR_SET_MM_ENV_START: u64;

def PR_SET_MM_EXE_FILE[link]

Show undocumented member
def PR_SET_MM_EXE_FILE: u64;

def PR_SET_MM_MAP[link]

Show undocumented member
def PR_SET_MM_MAP: u64;

def PR_SET_MM_MAP_SIZE[link]

Show undocumented member
def PR_SET_MM_MAP_SIZE: u64;

def PR_SET_MM_START_BRK[link]

Show undocumented member
def PR_SET_MM_START_BRK: u64;

def PR_SET_MM_START_CODE[link]

Show undocumented member
def PR_SET_MM_START_CODE: u64;

def PR_SET_MM_START_DATA[link]

Show undocumented member
def PR_SET_MM_START_DATA: u64;

def PR_SET_MM_START_STACK[link]

Show undocumented member
def PR_SET_MM_START_STACK: u64;

def PR_SET_NAME[link]

Show undocumented member
def PR_SET_NAME: int;

def PR_SET_NO_NEW_PRIVS[link]

Show undocumented member
def PR_SET_NO_NEW_PRIVS: int;

def PR_SET_PDEATHSIG[link]

Show undocumented member
def PR_SET_PDEATHSIG: int;

def PR_SET_PTRACER[link]

Show undocumented member
def PR_SET_PTRACER: int;

def PR_SET_PTRACER_ANY[link]

Show undocumented member
def PR_SET_PTRACER_ANY: u64;

def PR_SET_SECCOMP[link]

Show undocumented member
def PR_SET_SECCOMP: int;

def PR_SET_SECUREBITS[link]

Show undocumented member
def PR_SET_SECUREBITS: int;

def PR_SET_SPECULATION_CTRL[link]

Show undocumented member
def PR_SET_SPECULATION_CTRL: int;

def PR_SET_SYSCALL_USER_DISPATCH[link]

Show undocumented member
def PR_SET_SYSCALL_USER_DISPATCH: int;

def PR_SET_TAGGED_ADDR_CTRL[link]

Show undocumented member
def PR_SET_TAGGED_ADDR_CTRL: int;

def PR_SET_THP_DISABLE[link]

Show undocumented member
def PR_SET_THP_DISABLE: int;

def PR_SET_TIMERSLACK[link]

Show undocumented member
def PR_SET_TIMERSLACK: int;

def PR_SET_TIMING[link]

Show undocumented member
def PR_SET_TIMING: int;

def PR_SET_TSC[link]

Show undocumented member
def PR_SET_TSC: int;

def PR_SET_UNALIGN[link]

Show undocumented member
def PR_SET_UNALIGN: int;

def PR_SPEC_DISABLE[link]

Show undocumented member
def PR_SPEC_DISABLE: u64;

def PR_SPEC_DISABLE_NOEXEC[link]

Show undocumented member
def PR_SPEC_DISABLE_NOEXEC: u64;

def PR_SPEC_ENABLE[link]

Show undocumented member
def PR_SPEC_ENABLE: u64;

def PR_SPEC_FORCE_DISABLE[link]

Show undocumented member
def PR_SPEC_FORCE_DISABLE: u64;

def PR_SPEC_INDIRECT_BRANCH[link]

Show undocumented member
def PR_SPEC_INDIRECT_BRANCH: u64;

def PR_SPEC_NOT_AFFECTED[link]

Show undocumented member
def PR_SPEC_NOT_AFFECTED: u64;

def PR_SPEC_PRCTL[link]

Show undocumented member
def PR_SPEC_PRCTL: u64;

def PR_SPEC_STORE_BYPASS[link]

Show undocumented member
def PR_SPEC_STORE_BYPASS: u64;

def PR_SVE_GET_VL[link]

Show undocumented member
def PR_SVE_GET_VL: int;

def PR_SVE_SET_VL[link]

Show undocumented member
def PR_SVE_SET_VL: int;

def PR_SVE_SET_VL_ONEXEC[link]

Show undocumented member
def PR_SVE_SET_VL_ONEXEC: u64;

def PR_SVE_VL_INHERIT[link]

Show undocumented member
def PR_SVE_VL_INHERIT: u64;

def PR_SVE_VL_LEN_MASK[link]

Show undocumented member
def PR_SVE_VL_LEN_MASK: u64;

def PR_SYS_DISPATCH_OFF[link]

Show undocumented member
def PR_SYS_DISPATCH_OFF: u64;

def PR_SYS_DISPATCH_ON[link]

Show undocumented member
def PR_SYS_DISPATCH_ON: u64;

def PR_TAGGED_ADDR_ENABLE[link]

Show undocumented member
def PR_TAGGED_ADDR_ENABLE: u64;

def PR_TASK_PERF_EVENTS_DISABLE[link]

Show undocumented member
def PR_TASK_PERF_EVENTS_DISABLE: int;

def PR_TASK_PERF_EVENTS_ENABLE[link]

Show undocumented member
def PR_TASK_PERF_EVENTS_ENABLE: int;

def PR_TIMING_STATISTICAL[link]

Show undocumented member
def PR_TIMING_STATISTICAL: u64;

def PR_TIMING_TIMESTAMP[link]

Show undocumented member
def PR_TIMING_TIMESTAMP: u64;

def PR_TSC_ENABLE[link]

Show undocumented member
def PR_TSC_ENABLE: u64;

def PR_TSC_SIGSEGV[link]

Show undocumented member
def PR_TSC_SIGSEGV: u64;

def PR_UNALIGN_NOPRINT[link]

Show undocumented member
def PR_UNALIGN_NOPRINT: u64;

def PR_UNALIGN_SIGBUS[link]

Show undocumented member
def PR_UNALIGN_SIGBUS: u64;

def PTRACE_ATTACH[link]

Show undocumented member
def PTRACE_ATTACH: int;

def PTRACE_CONT[link]

Show undocumented member
def PTRACE_CONT: int;

def PTRACE_DETACH[link]

Show undocumented member
def PTRACE_DETACH: int;

def PTRACE_EVENT_CLONE[link]

Show undocumented member
def PTRACE_EVENT_CLONE: int;

def PTRACE_EVENT_EXEC[link]

Show undocumented member
def PTRACE_EVENT_EXEC: int;

def PTRACE_EVENT_EXIT[link]

Show undocumented member
def PTRACE_EVENT_EXIT: int;

def PTRACE_EVENT_FORK[link]

Show undocumented member
def PTRACE_EVENT_FORK: int;

def PTRACE_EVENT_SECCOMP[link]

Show undocumented member
def PTRACE_EVENT_SECCOMP: int;

def PTRACE_EVENT_STOP[link]

Show undocumented member
def PTRACE_EVENT_STOP: int;

def PTRACE_EVENT_VFORK[link]

Show undocumented member
def PTRACE_EVENT_VFORK: int;

def PTRACE_EVENT_VFORK_DONE[link]

Show undocumented member
def PTRACE_EVENT_VFORK_DONE: int;

def PTRACE_GETEVENTMSG[link]

Show undocumented member
def PTRACE_GETEVENTMSG: int;

def PTRACE_GETFPREGS[link]

Show undocumented member
def PTRACE_GETFPREGS: int;

def PTRACE_GETFPXREGS[link]

Show undocumented member
def PTRACE_GETFPXREGS: int;

def PTRACE_GETREGS[link]

Show undocumented member
def PTRACE_GETREGS: int;

def PTRACE_GETREGSET[link]

Show undocumented member
def PTRACE_GETREGSET: int;

def PTRACE_GETSIGINFO[link]

Show undocumented member
def PTRACE_GETSIGINFO: int;

def PTRACE_GETSIGMASK[link]

Show undocumented member
def PTRACE_GETSIGMASK: int;

def PTRACE_GET_RSEQ_CONFIGURATION[link]

Show undocumented member
def PTRACE_GET_RSEQ_CONFIGURATION: int;

def PTRACE_GET_SYSCALL_INFO[link]

Show undocumented member
def PTRACE_GET_SYSCALL_INFO: int;

def PTRACE_INTERRUPT[link]

Show undocumented member
def PTRACE_INTERRUPT: int;

def PTRACE_KILL[link]

Show undocumented member
def PTRACE_KILL: int;

def PTRACE_LISTEN[link]

Show undocumented member
def PTRACE_LISTEN: int;

def PTRACE_O_EXITKILL[link]

Show undocumented member
def PTRACE_O_EXITKILL: u64;

def PTRACE_O_MASK[link]

Show undocumented member
def PTRACE_O_MASK: u64;

def PTRACE_O_SUSPEND_SECCOMP[link]

Show undocumented member
def PTRACE_O_SUSPEND_SECCOMP: u64;

def PTRACE_O_TRACECLONE[link]

Show undocumented member
def PTRACE_O_TRACECLONE: u64;

def PTRACE_O_TRACEEXEC[link]

Show undocumented member
def PTRACE_O_TRACEEXEC: u64;

def PTRACE_O_TRACEEXIT[link]

Show undocumented member
def PTRACE_O_TRACEEXIT: u64;

def PTRACE_O_TRACEFORK[link]

Show undocumented member
def PTRACE_O_TRACEFORK: u64;

def PTRACE_O_TRACESECCOMP[link]

Show undocumented member
def PTRACE_O_TRACESECCOMP: u64;

def PTRACE_O_TRACESYSGOOD[link]

Show undocumented member
def PTRACE_O_TRACESYSGOOD: u64;

def PTRACE_O_TRACEVFORK[link]

Show undocumented member
def PTRACE_O_TRACEVFORK: u64;

def PTRACE_O_TRACEVFORKDONE[link]

Show undocumented member
def PTRACE_O_TRACEVFORKDONE: u64;

def PTRACE_PEEKDATA[link]

Show undocumented member
def PTRACE_PEEKDATA: int;

def PTRACE_PEEKSIGINFO[link]

Show undocumented member
def PTRACE_PEEKSIGINFO: int;

def PTRACE_PEEKSIGINFO_SHARED[link]

Show undocumented member
def PTRACE_PEEKSIGINFO_SHARED: u32;

def PTRACE_PEEKTEXT[link]

Show undocumented member
def PTRACE_PEEKTEXT: int;

def PTRACE_PEEKUSER[link]

Show undocumented member
def PTRACE_PEEKUSER: int;

def PTRACE_POKEDATA[link]

Show undocumented member
def PTRACE_POKEDATA: int;

def PTRACE_POKETEXT[link]

Show undocumented member
def PTRACE_POKETEXT: int;

def PTRACE_POKEUSER[link]

Show undocumented member
def PTRACE_POKEUSER: int;

def PTRACE_SECCOMP_GET_FILTER[link]

Show undocumented member
def PTRACE_SECCOMP_GET_FILTER: int;

def PTRACE_SECCOMP_GET_METADATA[link]

Show undocumented member
def PTRACE_SECCOMP_GET_METADATA: int;

def PTRACE_SEIZE[link]

Show undocumented member
def PTRACE_SEIZE: int;

def PTRACE_SETFPREGS[link]

Show undocumented member
def PTRACE_SETFPREGS: int;

def PTRACE_SETFPXREGS[link]

Show undocumented member
def PTRACE_SETFPXREGS: int;

def PTRACE_SETOPTIONS[link]

Show undocumented member
def PTRACE_SETOPTIONS: int;

def PTRACE_SETREGS[link]

Show undocumented member
def PTRACE_SETREGS: int;

def PTRACE_SETREGSET[link]

Show undocumented member
def PTRACE_SETREGSET: int;

def PTRACE_SETSIGINFO[link]

Show undocumented member
def PTRACE_SETSIGINFO: int;

def PTRACE_SETSIGMASK[link]

Show undocumented member
def PTRACE_SETSIGMASK: int;

def PTRACE_SINGLESTEP[link]

Show undocumented member
def PTRACE_SINGLESTEP: int;

def PTRACE_SYSCALL[link]

Show undocumented member
def PTRACE_SYSCALL: int;

def PTRACE_SYSCALL_INFO_ENTRY[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_ENTRY: u8;

def PTRACE_SYSCALL_INFO_EXIT[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_EXIT: u8;

def PTRACE_SYSCALL_INFO_NONE[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_NONE: u8;

def PTRACE_SYSCALL_INFO_SECCOMP[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_SECCOMP: u8;

def PTRACE_TRACEME[link]

Show undocumented member
def PTRACE_TRACEME: int;

def RESOLVE_BENEATH[link]

Show undocumented member
def RESOLVE_BENEATH: u64;

def RESOLVE_IN_ROOT[link]

Show undocumented member
def RESOLVE_IN_ROOT: u64;
Show undocumented member
def RESOLVE_NO_MAGICLINKS: u64;
Show undocumented member
def RESOLVE_NO_SYMLINKS: u64;

def RESOLVE_NO_XDEV[link]

Show undocumented member
def RESOLVE_NO_XDEV: u64;

def RLIMIT_AS[link]

Show undocumented member
def RLIMIT_AS: int;

def RLIMIT_CORE[link]

Show undocumented member
def RLIMIT_CORE: int;

def RLIMIT_CPU[link]

Show undocumented member
def RLIMIT_CPU: int;

def RLIMIT_DATA[link]

Show undocumented member
def RLIMIT_DATA: int;

def RLIMIT_FSIZE[link]

Show undocumented member
def RLIMIT_FSIZE: int;

def RLIMIT_LOCKS[link]

Show undocumented member
def RLIMIT_LOCKS: int;

def RLIMIT_MEMLOCK[link]

Show undocumented member
def RLIMIT_MEMLOCK: int;

def RLIMIT_MSGQUEUE[link]

Show undocumented member
def RLIMIT_MSGQUEUE: int;

def RLIMIT_NICE[link]

Show undocumented member
def RLIMIT_NICE: int;

def RLIMIT_NLIMITS[link]

Show undocumented member
def RLIMIT_NLIMITS: int;

def RLIMIT_NOFILE[link]

Show undocumented member
def RLIMIT_NOFILE: int;

def RLIMIT_NPROC[link]

Show undocumented member
def RLIMIT_NPROC: int;

def RLIMIT_RSS[link]

Show undocumented member
def RLIMIT_RSS: int;

def RLIMIT_RTPRIO[link]

Show undocumented member
def RLIMIT_RTPRIO: int;

def RLIMIT_RTTIME[link]

Show undocumented member
def RLIMIT_RTTIME: int;

def RLIMIT_SIGPENDING[link]

Show undocumented member
def RLIMIT_SIGPENDING: int;

def RLIMIT_STACK[link]

Show undocumented member
def RLIMIT_STACK: int;

def R_OK[link]

Show undocumented member
def R_OK: int;

def SA_NOCLDSTOP[link]

Show undocumented member
def SA_NOCLDSTOP: u64;

def SA_NOCLDWAIT[link]

Show undocumented member
def SA_NOCLDWAIT: u64;

def SA_NODEFER[link]

Show undocumented member
def SA_NODEFER: u64;

def SA_NOMASK[link]

Show undocumented member
def SA_NOMASK: u64;

def SA_ONESHOT[link]

Show undocumented member
def SA_ONESHOT: u64;

def SA_ONSTACK[link]

Show undocumented member
def SA_ONSTACK: u64;

def SA_RESETHAND[link]

Show undocumented member
def SA_RESETHAND: u64;

def SA_RESTART[link]

Show undocumented member
def SA_RESTART: u64;

def SA_RESTORER[link]

Show undocumented member
def SA_RESTORER: u64;

def SA_SIGINFO[link]

Show undocumented member
def SA_SIGINFO: u64;

def SCM_CREDENTIALS[link]

Show undocumented member
def SCM_CREDENTIALS: int;

def SCM_RIGHTS[link]

Show undocumented member
def SCM_RIGHTS: int;

def SEEK_CUR[link]

Show undocumented member
def SEEK_CUR: int;

def SEEK_END[link]

Show undocumented member
def SEEK_END: int;

def SEEK_SET[link]

Show undocumented member
def SEEK_SET: int;

def SFD_CLOEXEC[link]

Show undocumented member
def SFD_CLOEXEC: int;

def SFD_NONBLOCK[link]

Show undocumented member
def SFD_NONBLOCK: int;

def SHUT_RD[link]

Show undocumented member
def SHUT_RD: int;

def SHUT_RDWR[link]

Show undocumented member
def SHUT_RDWR: int;

def SHUT_WR[link]

Show undocumented member
def SHUT_WR: int;

def SIGABRT[link]

Show undocumented member
def SIGABRT: int;

def SIGALRM[link]

Show undocumented member
def SIGALRM: int;

def SIGBUS[link]

Show undocumented member
def SIGBUS: int;

def SIGCHLD[link]

Show undocumented member
def SIGCHLD: int;

def SIGCONT[link]

Show undocumented member
def SIGCONT: int;

def SIGFPE[link]

Show undocumented member
def SIGFPE: int;

def SIGHUP[link]

Show undocumented member
def SIGHUP: int;

def SIGILL[link]

Show undocumented member
def SIGILL: int;

def SIGINT[link]

Show undocumented member
def SIGINT: int;

def SIGIO[link]

Show undocumented member
def SIGIO: int;

def SIGKILL[link]

Show undocumented member
def SIGKILL: int;

def SIGPIPE[link]

Show undocumented member
def SIGPIPE: int;

def SIGPOLL[link]

Show undocumented member
def SIGPOLL: int;

def SIGPROF[link]

Show undocumented member
def SIGPROF: int;

def SIGPWR[link]

Show undocumented member
def SIGPWR: int;

def SIGQUIT[link]

Show undocumented member
def SIGQUIT: int;

def SIGSEGV[link]

Show undocumented member
def SIGSEGV: int;

def SIGSTKFLT[link]

Show undocumented member
def SIGSTKFLT: int;

def SIGSTOP[link]

Show undocumented member
def SIGSTOP: int;

def SIGSYS[link]

Show undocumented member
def SIGSYS: int;

def SIGTERM[link]

Show undocumented member
def SIGTERM: int;

def SIGTRAP[link]

Show undocumented member
def SIGTRAP: int;

def SIGTSTP[link]

Show undocumented member
def SIGTSTP: int;

def SIGTTIN[link]

Show undocumented member
def SIGTTIN: int;

def SIGTTOU[link]

Show undocumented member
def SIGTTOU: int;

def SIGURG[link]

Show undocumented member
def SIGURG: int;

def SIGUSR1[link]

Show undocumented member
def SIGUSR1: int;

def SIGUSR2[link]

Show undocumented member
def SIGUSR2: int;

def SIGVTALRM[link]

Show undocumented member
def SIGVTALRM: int;

def SIGWINCH[link]

Show undocumented member
def SIGWINCH: int;

def SIGXCPU[link]

Show undocumented member
def SIGXCPU: int;

def SIGXFSZ[link]

Show undocumented member
def SIGXFSZ: int;

def SIG_BLOCK[link]

Show undocumented member
def SIG_BLOCK: int;

def SIG_DFL[link]

Show undocumented member
def SIG_DFL: uintptr;

def SIG_ERR[link]

Show undocumented member
def SIG_ERR: uintptr;

def SIG_HOLD[link]

Show undocumented member
def SIG_HOLD: uintptr;

def SIG_IGN[link]

Show undocumented member
def SIG_IGN: uintptr;

def SIG_SETMASK[link]

Show undocumented member
def SIG_SETMASK: int;

def SIG_UNBLOCK[link]

Show undocumented member
def SIG_UNBLOCK: int;

def SOCK_CLOEXEC[link]

Show undocumented member
def SOCK_CLOEXEC: int;

def SOCK_DCCP[link]

Show undocumented member
def SOCK_DCCP: int;

def SOCK_DGRAM[link]

Show undocumented member
def SOCK_DGRAM: int;

def SOCK_NONBLOCK[link]

Show undocumented member
def SOCK_NONBLOCK: int;

def SOCK_PACKET[link]

Show undocumented member
def SOCK_PACKET: int;

def SOCK_RAW[link]

Show undocumented member
def SOCK_RAW: int;

def SOCK_RDM[link]

Show undocumented member
def SOCK_RDM: int;

def SOCK_SEQPACKET[link]

Show undocumented member
def SOCK_SEQPACKET: int;

def SO_BROADCAST[link]

Show undocumented member
def SO_BROADCAST: int;

def SO_BSDCOMPAT[link]

Show undocumented member
def SO_BSDCOMPAT: int;

def SO_DONTROUTE[link]

Show undocumented member
def SO_DONTROUTE: int;

def SO_ERROR[link]

Show undocumented member
def SO_ERROR: int;

def SO_KEEPALIVE[link]

Show undocumented member
def SO_KEEPALIVE: int;

def SO_LINGER[link]

Show undocumented member
def SO_LINGER: int;

def SO_NO_CHECK[link]

Show undocumented member
def SO_NO_CHECK: int;

def SO_OOBINLINE[link]

Show undocumented member
def SO_OOBINLINE: int;

def SO_PEERCRED[link]

Show undocumented member
def SO_PEERCRED: int;

def SO_PRIORITY[link]

Show undocumented member
def SO_PRIORITY: int;

def SO_RCVBUF[link]

Show undocumented member
def SO_RCVBUF: int;

def SO_RCVBUFFORCE[link]

Show undocumented member
def SO_RCVBUFFORCE: int;

def SO_RCVLOWAT[link]

Show undocumented member
def SO_RCVLOWAT: int;

def SO_RCVTIMEO_OLD[link]

Show undocumented member
def SO_RCVTIMEO_OLD: int;

def SO_REUSEADDR[link]

Show undocumented member
def SO_REUSEADDR: int;

def SO_REUSEPORT[link]

Show undocumented member
def SO_REUSEPORT: int;

def SO_SNDBUF[link]

Show undocumented member
def SO_SNDBUF: int;

def SO_SNDBUFFORCE[link]

Show undocumented member
def SO_SNDBUFFORCE: int;

def SO_SNDLOWAT[link]

Show undocumented member
def SO_SNDLOWAT: int;

def SO_SNDTIMEO_OLD[link]

Show undocumented member
def SO_SNDTIMEO_OLD: int;

def SO_TYPE[link]

Show undocumented member
def SO_TYPE: int;

def SPLICE_F_GIFT[link]

Show undocumented member
def SPLICE_F_GIFT: uint;

def SPLICE_F_MORE[link]

Show undocumented member
def SPLICE_F_MORE: uint;

def SPLICE_F_MOVE[link]

Show undocumented member
def SPLICE_F_MOVE: uint;

def SPLICE_F_NONBLOCK[link]

Show undocumented member
def SPLICE_F_NONBLOCK: uint;

def STDERR_FILENO[link]

Show undocumented member
def STDERR_FILENO: int;

def STDIN_FILENO[link]

Show undocumented member
def STDIN_FILENO: int;

def STDOUT_FILENO[link]

Show undocumented member
def STDOUT_FILENO: int;

def SYSCALL_DISPATCH_FILTER_ALLOW[link]

Show undocumented member
def SYSCALL_DISPATCH_FILTER_ALLOW: u64;

def SYSCALL_DISPATCH_FILTER_BLOCK[link]

Show undocumented member
def SYSCALL_DISPATCH_FILTER_BLOCK: u64;

def SYS__sysctl[link]

Show undocumented member
def SYS__sysctl: u64;

def SYS_accept[link]

Show undocumented member
def SYS_accept: u64;

def SYS_accept4[link]

Show undocumented member
def SYS_accept4: u64;

def SYS_access[link]

Show undocumented member
def SYS_access: u64;

def SYS_acct[link]

Show undocumented member
def SYS_acct: u64;

def SYS_add_key[link]

Show undocumented member
def SYS_add_key: u64;

def SYS_adjtimex[link]

Show undocumented member
def SYS_adjtimex: u64;

def SYS_afs_syscall[link]

Show undocumented member
def SYS_afs_syscall: u64;

def SYS_alarm[link]

Show undocumented member
def SYS_alarm: u64;

def SYS_arch_prctl[link]

Show undocumented member
def SYS_arch_prctl: u64;

def SYS_bind[link]

Show undocumented member
def SYS_bind: u64;

def SYS_bpf[link]

Show undocumented member
def SYS_bpf: u64;

def SYS_brk[link]

Show undocumented member
def SYS_brk: u64;

def SYS_capget[link]

Show undocumented member
def SYS_capget: u64;

def SYS_capset[link]

Show undocumented member
def SYS_capset: u64;

def SYS_chdir[link]

Show undocumented member
def SYS_chdir: u64;

def SYS_chmod[link]

Show undocumented member
def SYS_chmod: u64;

def SYS_chown[link]

Show undocumented member
def SYS_chown: u64;

def SYS_chroot[link]

Show undocumented member
def SYS_chroot: u64;

def SYS_clock_adjtime[link]

Show undocumented member
def SYS_clock_adjtime: u64;

def SYS_clock_getres[link]

Show undocumented member
def SYS_clock_getres: u64;

def SYS_clock_gettime[link]

Show undocumented member
def SYS_clock_gettime: u64;

def SYS_clock_nanosleep[link]

Show undocumented member
def SYS_clock_nanosleep: u64;

def SYS_clock_settime[link]

Show undocumented member
def SYS_clock_settime: u64;

def SYS_clone[link]

Show undocumented member
def SYS_clone: u64;

def SYS_close[link]

Show undocumented member
def SYS_close: u64;

def SYS_connect[link]

Show undocumented member
def SYS_connect: u64;

def SYS_copy_file_range[link]

Show undocumented member
def SYS_copy_file_range: u64;

def SYS_creat[link]

Show undocumented member
def SYS_creat: u64;

def SYS_create_module[link]

Show undocumented member
def SYS_create_module: u64;

def SYS_delete_module[link]

Show undocumented member
def SYS_delete_module: u64;

def SYS_dup[link]

Show undocumented member
def SYS_dup: u64;

def SYS_dup2[link]

Show undocumented member
def SYS_dup2: u64;

def SYS_dup3[link]

Show undocumented member
def SYS_dup3: u64;

def SYS_epoll_create[link]

Show undocumented member
def SYS_epoll_create: u64;

def SYS_epoll_create1[link]

Show undocumented member
def SYS_epoll_create1: u64;

def SYS_epoll_ctl[link]

Show undocumented member
def SYS_epoll_ctl: u64;

def SYS_epoll_ctl_old[link]

Show undocumented member
def SYS_epoll_ctl_old: u64;

def SYS_epoll_pwait[link]

Show undocumented member
def SYS_epoll_pwait: u64;

def SYS_epoll_wait[link]

Show undocumented member
def SYS_epoll_wait: u64;

def SYS_epoll_wait_old[link]

Show undocumented member
def SYS_epoll_wait_old: u64;

def SYS_eventfd[link]

Show undocumented member
def SYS_eventfd: u64;

def SYS_eventfd2[link]

Show undocumented member
def SYS_eventfd2: u64;

def SYS_execve[link]

Show undocumented member
def SYS_execve: u64;

def SYS_execveat[link]

Show undocumented member
def SYS_execveat: u64;

def SYS_exit[link]

Show undocumented member
def SYS_exit: u64;

def SYS_exit_group[link]

Show undocumented member
def SYS_exit_group: u64;

def SYS_faccessat[link]

Show undocumented member
def SYS_faccessat: u64;

def SYS_faccessat2[link]

Show undocumented member
def SYS_faccessat2: u64;

def SYS_fadvise64[link]

Show undocumented member
def SYS_fadvise64: u64;

def SYS_fallocate[link]

Show undocumented member
def SYS_fallocate: u64;

def SYS_fanotify_init[link]

Show undocumented member
def SYS_fanotify_init: u64;

def SYS_fanotify_mark[link]

Show undocumented member
def SYS_fanotify_mark: u64;

def SYS_fchdir[link]

Show undocumented member
def SYS_fchdir: u64;

def SYS_fchmod[link]

Show undocumented member
def SYS_fchmod: u64;

def SYS_fchmodat[link]

Show undocumented member
def SYS_fchmodat: u64;

def SYS_fchown[link]

Show undocumented member
def SYS_fchown: u64;

def SYS_fchownat[link]

Show undocumented member
def SYS_fchownat: u64;

def SYS_fcntl[link]

Show undocumented member
def SYS_fcntl: u64;

def SYS_fdatasync[link]

Show undocumented member
def SYS_fdatasync: u64;

def SYS_fgetxattr[link]

Show undocumented member
def SYS_fgetxattr: u64;

def SYS_finit_module[link]

Show undocumented member
def SYS_finit_module: u64;

def SYS_flistxattr[link]

Show undocumented member
def SYS_flistxattr: u64;

def SYS_flock[link]

Show undocumented member
def SYS_flock: u64;

def SYS_fork[link]

Show undocumented member
def SYS_fork: u64;

def SYS_fremovexattr[link]

Show undocumented member
def SYS_fremovexattr: u64;

def SYS_fsconfig[link]

Show undocumented member
def SYS_fsconfig: u64;

def SYS_fsetxattr[link]

Show undocumented member
def SYS_fsetxattr: u64;

def SYS_fsmount[link]

Show undocumented member
def SYS_fsmount: u64;

def SYS_fsopen[link]

Show undocumented member
def SYS_fsopen: u64;

def SYS_fspick[link]

Show undocumented member
def SYS_fspick: u64;

def SYS_fstat[link]

Show undocumented member
def SYS_fstat: u64;

def SYS_fstatfs[link]

Show undocumented member
def SYS_fstatfs: u64;

def SYS_fsync[link]

Show undocumented member
def SYS_fsync: u64;

def SYS_ftruncate[link]

Show undocumented member
def SYS_ftruncate: u64;

def SYS_futex[link]

Show undocumented member
def SYS_futex: u64;

def SYS_futimesat[link]

Show undocumented member
def SYS_futimesat: u64;

def SYS_get_kernel_syms[link]

Show undocumented member
def SYS_get_kernel_syms: u64;

def SYS_get_mempolicy[link]

Show undocumented member
def SYS_get_mempolicy: u64;

def SYS_get_robust_list[link]

Show undocumented member
def SYS_get_robust_list: u64;

def SYS_get_thread_area[link]

Show undocumented member
def SYS_get_thread_area: u64;

def SYS_getcpu[link]

Show undocumented member
def SYS_getcpu: u64;

def SYS_getcwd[link]

Show undocumented member
def SYS_getcwd: u64;

def SYS_getdents[link]

Show undocumented member
def SYS_getdents: u64;

def SYS_getdents64[link]

Show undocumented member
def SYS_getdents64: u64;

def SYS_getegid[link]

Show undocumented member
def SYS_getegid: u64;

def SYS_geteuid[link]

Show undocumented member
def SYS_geteuid: u64;

def SYS_getgid[link]

Show undocumented member
def SYS_getgid: u64;

def SYS_getgroups[link]

Show undocumented member
def SYS_getgroups: u64;

def SYS_getitimer[link]

Show undocumented member
def SYS_getitimer: u64;

def SYS_getpeername[link]

Show undocumented member
def SYS_getpeername: u64;

def SYS_getpgid[link]

Show undocumented member
def SYS_getpgid: u64;

def SYS_getpgrp[link]

Show undocumented member
def SYS_getpgrp: u64;

def SYS_getpid[link]

Show undocumented member
def SYS_getpid: u64;

def SYS_getpmsg[link]

Show undocumented member
def SYS_getpmsg: u64;

def SYS_getppid[link]

Show undocumented member
def SYS_getppid: u64;

def SYS_getpriority[link]

Show undocumented member
def SYS_getpriority: u64;

def SYS_getrandom[link]

Show undocumented member
def SYS_getrandom: u64;

def SYS_getresgid[link]

Show undocumented member
def SYS_getresgid: u64;

def SYS_getresuid[link]

Show undocumented member
def SYS_getresuid: u64;

def SYS_getrlimit[link]

Show undocumented member
def SYS_getrlimit: u64;

def SYS_getrusage[link]

Show undocumented member
def SYS_getrusage: u64;

def SYS_getsid[link]

Show undocumented member
def SYS_getsid: u64;

def SYS_getsockname[link]

Show undocumented member
def SYS_getsockname: u64;

def SYS_getsockopt[link]

Show undocumented member
def SYS_getsockopt: u64;

def SYS_gettid[link]

Show undocumented member
def SYS_gettid: u64;

def SYS_gettimeofday[link]

Show undocumented member
def SYS_gettimeofday: u64;

def SYS_getuid[link]

Show undocumented member
def SYS_getuid: u64;

def SYS_getxattr[link]

Show undocumented member
def SYS_getxattr: u64;

def SYS_init_module[link]

Show undocumented member
def SYS_init_module: u64;

def SYS_inotify_add_watch[link]

Show undocumented member
def SYS_inotify_add_watch: u64;

def SYS_inotify_init[link]

Show undocumented member
def SYS_inotify_init: u64;

def SYS_inotify_init1[link]

Show undocumented member
def SYS_inotify_init1: u64;

def SYS_inotify_rm_watch[link]

Show undocumented member
def SYS_inotify_rm_watch: u64;

def SYS_io_cancel[link]

Show undocumented member
def SYS_io_cancel: u64;

def SYS_io_destroy[link]

Show undocumented member
def SYS_io_destroy: u64;

def SYS_io_getevents[link]

Show undocumented member
def SYS_io_getevents: u64;

def SYS_io_pgetevents[link]

Show undocumented member
def SYS_io_pgetevents: u64;

def SYS_io_setup[link]

Show undocumented member
def SYS_io_setup: u64;

def SYS_io_submit[link]

Show undocumented member
def SYS_io_submit: u64;

def SYS_io_uring_enter[link]

Show undocumented member
def SYS_io_uring_enter: u64;

def SYS_io_uring_register[link]

Show undocumented member
def SYS_io_uring_register: u64;

def SYS_io_uring_setup[link]

Show undocumented member
def SYS_io_uring_setup: u64;

def SYS_ioctl[link]

Show undocumented member
def SYS_ioctl: u64;

def SYS_ioperm[link]

Show undocumented member
def SYS_ioperm: u64;

def SYS_iopl[link]

Show undocumented member
def SYS_iopl: u64;

def SYS_ioprio_get[link]

Show undocumented member
def SYS_ioprio_get: u64;

def SYS_ioprio_set[link]

Show undocumented member
def SYS_ioprio_set: u64;

def SYS_kcmp[link]

Show undocumented member
def SYS_kcmp: u64;

def SYS_kexec_file_load[link]

Show undocumented member
def SYS_kexec_file_load: u64;

def SYS_kexec_load[link]

Show undocumented member
def SYS_kexec_load: u64;

def SYS_keyctl[link]

Show undocumented member
def SYS_keyctl: u64;

def SYS_kill[link]

Show undocumented member
def SYS_kill: u64;

def SYS_lchown[link]

Show undocumented member
def SYS_lchown: u64;

def SYS_lgetxattr[link]

Show undocumented member
def SYS_lgetxattr: u64;
Show undocumented member
def SYS_link: u64;

def SYS_linkat[link]

Show undocumented member
def SYS_linkat: u64;

def SYS_listen[link]

Show undocumented member
def SYS_listen: u64;

def SYS_listxattr[link]

Show undocumented member
def SYS_listxattr: u64;

def SYS_llistxattr[link]

Show undocumented member
def SYS_llistxattr: u64;

def SYS_lookup_dcookie[link]

Show undocumented member
def SYS_lookup_dcookie: u64;

def SYS_lremovexattr[link]

Show undocumented member
def SYS_lremovexattr: u64;

def SYS_lseek[link]

Show undocumented member
def SYS_lseek: u64;

def SYS_lsetxattr[link]

Show undocumented member
def SYS_lsetxattr: u64;

def SYS_lstat[link]

Show undocumented member
def SYS_lstat: u64;

def SYS_madvise[link]

Show undocumented member
def SYS_madvise: u64;

def SYS_mbind[link]

Show undocumented member
def SYS_mbind: u64;

def SYS_membarrier[link]

Show undocumented member
def SYS_membarrier: u64;

def SYS_memfd_create[link]

Show undocumented member
def SYS_memfd_create: u64;

def SYS_migrate_pages[link]

Show undocumented member
def SYS_migrate_pages: u64;

def SYS_mincore[link]

Show undocumented member
def SYS_mincore: u64;

def SYS_mkdir[link]

Show undocumented member
def SYS_mkdir: u64;

def SYS_mkdirat[link]

Show undocumented member
def SYS_mkdirat: u64;

def SYS_mknod[link]

Show undocumented member
def SYS_mknod: u64;

def SYS_mknodat[link]

Show undocumented member
def SYS_mknodat: u64;

def SYS_mlock[link]

Show undocumented member
def SYS_mlock: u64;

def SYS_mlock2[link]

Show undocumented member
def SYS_mlock2: u64;

def SYS_mlockall[link]

Show undocumented member
def SYS_mlockall: u64;

def SYS_mmap[link]

Show undocumented member
def SYS_mmap: u64;

def SYS_modify_ldt[link]

Show undocumented member
def SYS_modify_ldt: u64;

def SYS_mount[link]

Show undocumented member
def SYS_mount: u64;

def SYS_move_mount[link]

Show undocumented member
def SYS_move_mount: u64;

def SYS_move_pages[link]

Show undocumented member
def SYS_move_pages: u64;

def SYS_mprotect[link]

Show undocumented member
def SYS_mprotect: u64;

def SYS_mq_getsetattr[link]

Show undocumented member
def SYS_mq_getsetattr: u64;

def SYS_mq_notify[link]

Show undocumented member
def SYS_mq_notify: u64;

def SYS_mq_open[link]

Show undocumented member
def SYS_mq_open: u64;

def SYS_mq_timedreceive[link]

Show undocumented member
def SYS_mq_timedreceive: u64;

def SYS_mq_timedsend[link]

Show undocumented member
def SYS_mq_timedsend: u64;
Show undocumented member
def SYS_mq_unlink: u64;

def SYS_mremap[link]

Show undocumented member
def SYS_mremap: u64;

def SYS_msgctl[link]

Show undocumented member
def SYS_msgctl: u64;

def SYS_msgget[link]

Show undocumented member
def SYS_msgget: u64;

def SYS_msgrcv[link]

Show undocumented member
def SYS_msgrcv: u64;

def SYS_msgsnd[link]

Show undocumented member
def SYS_msgsnd: u64;

def SYS_msync[link]

Show undocumented member
def SYS_msync: u64;

def SYS_munlock[link]

Show undocumented member
def SYS_munlock: u64;

def SYS_munlockall[link]

Show undocumented member
def SYS_munlockall: u64;

def SYS_munmap[link]

Show undocumented member
def SYS_munmap: u64;

def SYS_name_to_handle_at[link]

Show undocumented member
def SYS_name_to_handle_at: u64;

def SYS_nanosleep[link]

Show undocumented member
def SYS_nanosleep: u64;

def SYS_newfstatat[link]

Show undocumented member
def SYS_newfstatat: u64;

def SYS_nfsservctl[link]

Show undocumented member
def SYS_nfsservctl: u64;

def SYS_open[link]

Show undocumented member
def SYS_open: u64;

def SYS_open_by_handle_at[link]

Show undocumented member
def SYS_open_by_handle_at: u64;

def SYS_open_tree[link]

Show undocumented member
def SYS_open_tree: u64;

def SYS_openat[link]

Show undocumented member
def SYS_openat: u64;

def SYS_openat2[link]

Show undocumented member
def SYS_openat2: u64;

def SYS_pause[link]

Show undocumented member
def SYS_pause: u64;

def SYS_perf_event_open[link]

Show undocumented member
def SYS_perf_event_open: u64;

def SYS_personality[link]

Show undocumented member
def SYS_personality: u64;

def SYS_pidfd_send_signal[link]

Show undocumented member
def SYS_pidfd_send_signal: u64;

def SYS_pipe[link]

Show undocumented member
def SYS_pipe: u64;

def SYS_pipe2[link]

Show undocumented member
def SYS_pipe2: u64;

def SYS_pivot_root[link]

Show undocumented member
def SYS_pivot_root: u64;

def SYS_pkey_alloc[link]

Show undocumented member
def SYS_pkey_alloc: u64;

def SYS_pkey_free[link]

Show undocumented member
def SYS_pkey_free: u64;

def SYS_pkey_mprotect[link]

Show undocumented member
def SYS_pkey_mprotect: u64;

def SYS_poll[link]

Show undocumented member
def SYS_poll: u64;

def SYS_ppoll[link]

Show undocumented member
def SYS_ppoll: u64;

def SYS_prctl[link]

Show undocumented member
def SYS_prctl: u64;

def SYS_pread64[link]

Show undocumented member
def SYS_pread64: u64;

def SYS_preadv[link]

Show undocumented member
def SYS_preadv: u64;

def SYS_preadv2[link]

Show undocumented member
def SYS_preadv2: u64;

def SYS_prlimit64[link]

Show undocumented member
def SYS_prlimit64: u64;

def SYS_process_vm_readv[link]

Show undocumented member
def SYS_process_vm_readv: u64;

def SYS_process_vm_writev[link]

Show undocumented member
def SYS_process_vm_writev: u64;

def SYS_pselect6[link]

Show undocumented member
def SYS_pselect6: u64;

def SYS_ptrace[link]

Show undocumented member
def SYS_ptrace: u64;

def SYS_putpmsg[link]

Show undocumented member
def SYS_putpmsg: u64;

def SYS_pwrite64[link]

Show undocumented member
def SYS_pwrite64: u64;

def SYS_pwritev[link]

Show undocumented member
def SYS_pwritev: u64;

def SYS_pwritev2[link]

Show undocumented member
def SYS_pwritev2: u64;

def SYS_query_module[link]

Show undocumented member
def SYS_query_module: u64;

def SYS_quotactl[link]

Show undocumented member
def SYS_quotactl: u64;

def SYS_read[link]

Show undocumented member
def SYS_read: u64;

def SYS_readahead[link]

Show undocumented member
def SYS_readahead: u64;
Show undocumented member
def SYS_readlink: u64;

def SYS_readlinkat[link]

Show undocumented member
def SYS_readlinkat: u64;

def SYS_readv[link]

Show undocumented member
def SYS_readv: u64;

def SYS_reboot[link]

Show undocumented member
def SYS_reboot: u64;

def SYS_recvfrom[link]

Show undocumented member
def SYS_recvfrom: u64;

def SYS_recvmmsg[link]

Show undocumented member
def SYS_recvmmsg: u64;

def SYS_recvmsg[link]

Show undocumented member
def SYS_recvmsg: u64;

def SYS_remap_file_pages[link]

Show undocumented member
def SYS_remap_file_pages: u64;

def SYS_removexattr[link]

Show undocumented member
def SYS_removexattr: u64;

def SYS_rename[link]

Show undocumented member
def SYS_rename: u64;

def SYS_renameat[link]

Show undocumented member
def SYS_renameat: u64;

def SYS_renameat2[link]

Show undocumented member
def SYS_renameat2: u64;

def SYS_request_key[link]

Show undocumented member
def SYS_request_key: u64;

def SYS_restart_syscall[link]

Show undocumented member
def SYS_restart_syscall: u64;

def SYS_rmdir[link]

Show undocumented member
def SYS_rmdir: u64;

def SYS_rseq[link]

Show undocumented member
def SYS_rseq: u64;

def SYS_rt_sigaction[link]

Show undocumented member
def SYS_rt_sigaction: u64;

def SYS_rt_sigpending[link]

Show undocumented member
def SYS_rt_sigpending: u64;

def SYS_rt_sigprocmask[link]

Show undocumented member
def SYS_rt_sigprocmask: u64;

def SYS_rt_sigqueueinfo[link]

Show undocumented member
def SYS_rt_sigqueueinfo: u64;

def SYS_rt_sigreturn[link]

Show undocumented member
def SYS_rt_sigreturn: u64;

def SYS_rt_sigsuspend[link]

Show undocumented member
def SYS_rt_sigsuspend: u64;

def SYS_rt_sigtimedwait[link]

Show undocumented member
def SYS_rt_sigtimedwait: u64;

def SYS_rt_tgsigqueueinfo[link]

Show undocumented member
def SYS_rt_tgsigqueueinfo: u64;

def SYS_sched_get_priority_max[link]

Show undocumented member
def SYS_sched_get_priority_max: u64;

def SYS_sched_get_priority_min[link]

Show undocumented member
def SYS_sched_get_priority_min: u64;

def SYS_sched_getaffinity[link]

Show undocumented member
def SYS_sched_getaffinity: u64;

def SYS_sched_getattr[link]

Show undocumented member
def SYS_sched_getattr: u64;

def SYS_sched_getparam[link]

Show undocumented member
def SYS_sched_getparam: u64;

def SYS_sched_getscheduler[link]

Show undocumented member
def SYS_sched_getscheduler: u64;

def SYS_sched_rr_get_interval[link]

Show undocumented member
def SYS_sched_rr_get_interval: u64;

def SYS_sched_setaffinity[link]

Show undocumented member
def SYS_sched_setaffinity: u64;

def SYS_sched_setattr[link]

Show undocumented member
def SYS_sched_setattr: u64;

def SYS_sched_setparam[link]

Show undocumented member
def SYS_sched_setparam: u64;

def SYS_sched_setscheduler[link]

Show undocumented member
def SYS_sched_setscheduler: u64;

def SYS_sched_yield[link]

Show undocumented member
def SYS_sched_yield: u64;

def SYS_seccomp[link]

Show undocumented member
def SYS_seccomp: u64;

def SYS_security[link]

Show undocumented member
def SYS_security: u64;

def SYS_select[link]

Show undocumented member
def SYS_select: u64;

def SYS_semctl[link]

Show undocumented member
def SYS_semctl: u64;

def SYS_semget[link]

Show undocumented member
def SYS_semget: u64;

def SYS_semop[link]

Show undocumented member
def SYS_semop: u64;

def SYS_semtimedop[link]

Show undocumented member
def SYS_semtimedop: u64;

def SYS_sendfile[link]

Show undocumented member
def SYS_sendfile: u64;

def SYS_sendmmsg[link]

Show undocumented member
def SYS_sendmmsg: u64;

def SYS_sendmsg[link]

Show undocumented member
def SYS_sendmsg: u64;

def SYS_sendto[link]

Show undocumented member
def SYS_sendto: u64;

def SYS_set_mempolicy[link]

Show undocumented member
def SYS_set_mempolicy: u64;

def SYS_set_robust_list[link]

Show undocumented member
def SYS_set_robust_list: u64;

def SYS_set_thread_area[link]

Show undocumented member
def SYS_set_thread_area: u64;

def SYS_set_tid_address[link]

Show undocumented member
def SYS_set_tid_address: u64;

def SYS_setdomainname[link]

Show undocumented member
def SYS_setdomainname: u64;

def SYS_setfsgid[link]

Show undocumented member
def SYS_setfsgid: u64;

def SYS_setfsuid[link]

Show undocumented member
def SYS_setfsuid: u64;

def SYS_setgid[link]

Show undocumented member
def SYS_setgid: u64;

def SYS_setgroups[link]

Show undocumented member
def SYS_setgroups: u64;

def SYS_sethostname[link]

Show undocumented member
def SYS_sethostname: u64;

def SYS_setitimer[link]

Show undocumented member
def SYS_setitimer: u64;

def SYS_setns[link]

Show undocumented member
def SYS_setns: u64;

def SYS_setpgid[link]

Show undocumented member
def SYS_setpgid: u64;

def SYS_setpriority[link]

Show undocumented member
def SYS_setpriority: u64;

def SYS_setregid[link]

Show undocumented member
def SYS_setregid: u64;

def SYS_setresgid[link]

Show undocumented member
def SYS_setresgid: u64;

def SYS_setresuid[link]

Show undocumented member
def SYS_setresuid: u64;

def SYS_setreuid[link]

Show undocumented member
def SYS_setreuid: u64;

def SYS_setrlimit[link]

Show undocumented member
def SYS_setrlimit: u64;

def SYS_setsid[link]

Show undocumented member
def SYS_setsid: u64;

def SYS_setsockopt[link]

Show undocumented member
def SYS_setsockopt: u64;

def SYS_settimeofday[link]

Show undocumented member
def SYS_settimeofday: u64;

def SYS_setuid[link]

Show undocumented member
def SYS_setuid: u64;

def SYS_setxattr[link]

Show undocumented member
def SYS_setxattr: u64;

def SYS_shmat[link]

Show undocumented member
def SYS_shmat: u64;

def SYS_shmctl[link]

Show undocumented member
def SYS_shmctl: u64;

def SYS_shmdt[link]

Show undocumented member
def SYS_shmdt: u64;

def SYS_shmget[link]

Show undocumented member
def SYS_shmget: u64;

def SYS_shutdown[link]

Show undocumented member
def SYS_shutdown: u64;

def SYS_sigaltstack[link]

Show undocumented member
def SYS_sigaltstack: u64;

def SYS_signalfd[link]

Show undocumented member
def SYS_signalfd: u64;

def SYS_signalfd4[link]

Show undocumented member
def SYS_signalfd4: u64;

def SYS_socket[link]

Show undocumented member
def SYS_socket: u64;

def SYS_socketpair[link]

Show undocumented member
def SYS_socketpair: u64;

def SYS_splice[link]

Show undocumented member
def SYS_splice: u64;

def SYS_stat[link]

Show undocumented member
def SYS_stat: u64;

def SYS_statfs[link]

Show undocumented member
def SYS_statfs: u64;

def SYS_statx[link]

Show undocumented member
def SYS_statx: u64;

def SYS_swapoff[link]

Show undocumented member
def SYS_swapoff: u64;

def SYS_swapon[link]

Show undocumented member
def SYS_swapon: u64;
Show undocumented member
def SYS_symlink: u64;

def SYS_symlinkat[link]

Show undocumented member
def SYS_symlinkat: u64;

def SYS_sync[link]

Show undocumented member
def SYS_sync: u64;

def SYS_sync_file_range[link]

Show undocumented member
def SYS_sync_file_range: u64;

def SYS_syncfs[link]

Show undocumented member
def SYS_syncfs: u64;

def SYS_sysfs[link]

Show undocumented member
def SYS_sysfs: u64;

def SYS_sysinfo[link]

Show undocumented member
def SYS_sysinfo: u64;

def SYS_syslog[link]

Show undocumented member
def SYS_syslog: u64;

def SYS_tee[link]

Show undocumented member
def SYS_tee: u64;

def SYS_tgkill[link]

Show undocumented member
def SYS_tgkill: u64;

def SYS_time[link]

Show undocumented member
def SYS_time: u64;

def SYS_timer_create[link]

Show undocumented member
def SYS_timer_create: u64;

def SYS_timer_delete[link]

Show undocumented member
def SYS_timer_delete: u64;

def SYS_timer_getoverrun[link]

Show undocumented member
def SYS_timer_getoverrun: u64;

def SYS_timer_gettime[link]

Show undocumented member
def SYS_timer_gettime: u64;

def SYS_timer_settime[link]

Show undocumented member
def SYS_timer_settime: u64;

def SYS_timerfd_create[link]

Show undocumented member
def SYS_timerfd_create: u64;

def SYS_timerfd_gettime[link]

Show undocumented member
def SYS_timerfd_gettime: u64;

def SYS_timerfd_settime[link]

Show undocumented member
def SYS_timerfd_settime: u64;

def SYS_times[link]

Show undocumented member
def SYS_times: u64;

def SYS_tkill[link]

Show undocumented member
def SYS_tkill: u64;

def SYS_truncate[link]

Show undocumented member
def SYS_truncate: u64;

def SYS_tuxcall[link]

Show undocumented member
def SYS_tuxcall: u64;

def SYS_umask[link]

Show undocumented member
def SYS_umask: u64;

def SYS_umount2[link]

Show undocumented member
def SYS_umount2: u64;

def SYS_uname[link]

Show undocumented member
def SYS_uname: u64;
Show undocumented member
def SYS_unlink: u64;

def SYS_unlinkat[link]

Show undocumented member
def SYS_unlinkat: u64;

def SYS_unshare[link]

Show undocumented member
def SYS_unshare: u64;

def SYS_uselib[link]

Show undocumented member
def SYS_uselib: u64;

def SYS_userfaultfd[link]

Show undocumented member
def SYS_userfaultfd: u64;

def SYS_ustat[link]

Show undocumented member
def SYS_ustat: u64;

def SYS_utime[link]

Show undocumented member
def SYS_utime: u64;

def SYS_utimensat[link]

Show undocumented member
def SYS_utimensat: u64;

def SYS_utimes[link]

Show undocumented member
def SYS_utimes: u64;

def SYS_vfork[link]

Show undocumented member
def SYS_vfork: u64;

def SYS_vhangup[link]

Show undocumented member
def SYS_vhangup: u64;

def SYS_vmsplice[link]

Show undocumented member
def SYS_vmsplice: u64;

def SYS_vserver[link]

Show undocumented member
def SYS_vserver: u64;

def SYS_wait4[link]

Show undocumented member
def SYS_wait4: u64;

def SYS_waitid[link]

Show undocumented member
def SYS_waitid: u64;

def SYS_write[link]

Show undocumented member
def SYS_write: u64;

def SYS_writev[link]

Show undocumented member
def SYS_writev: u64;

def S_IFBLK[link]

Show undocumented member
def S_IFBLK: mode_t;

def S_IFCHR[link]

Show undocumented member
def S_IFCHR: mode_t;

def S_IFDIR[link]

Show undocumented member
def S_IFDIR: mode_t;

def S_IFIFO[link]

Show undocumented member
def S_IFIFO: mode_t;

def S_IFLNK[link]

Show undocumented member
def S_IFLNK: mode_t;

def S_IFREG[link]

Show undocumented member
def S_IFREG: mode_t;

def S_IFSOCK[link]

Show undocumented member
def S_IFSOCK: mode_t;

def TCGETS[link]

Show undocumented member
def TCGETS: u64;

def TCSETS[link]

Show undocumented member
def TCSETS: u64;

def TFD_CLOEXEC[link]

Show undocumented member
def TFD_CLOEXEC: int;

def TFD_NONBLOCK[link]

Show undocumented member
def TFD_NONBLOCK: int;

def TFD_TIMER_ABSTIME[link]

Show undocumented member
def TFD_TIMER_ABSTIME: int;

def TFD_TIMER_CANCEL_ON_SET[link]

Show undocumented member
def TFD_TIMER_CANCEL_ON_SET: int;

def TIOCGPTN[link]

Show undocumented member
def TIOCGPTN: u64;

def TIOCGPTPEER[link]

Show undocumented member
def TIOCGPTPEER: u64;

def TIOCGWINSZ[link]

Show undocumented member
def TIOCGWINSZ: u64;

def TIOCNOTTY[link]

Show undocumented member
def TIOCNOTTY: u64;

def TIOCSCTTY[link]

Show undocumented member
def TIOCSCTTY: u64;

def TIOCSPTLCK[link]

Show undocumented member
def TIOCSPTLCK: u64;

def TIOCSWINSZ[link]

Show undocumented member
def TIOCSWINSZ: u64;

def UNIX_PATH_MAX[link]

Show undocumented member
def UNIX_PATH_MAX: size;

def WCONTINUED[link]

Show undocumented member
def WCONTINUED: int;

def WEXITED[link]

Show undocumented member
def WEXITED: int;

def WNOHANG[link]

Show undocumented member
def WNOHANG: int;

def WNOWAIT[link]

Show undocumented member
def WNOWAIT: int;

def WSTOPPED[link]

Show undocumented member
def WSTOPPED: int;

def WUNTRACED[link]

Show undocumented member
def WUNTRACED: int;

def W_OK[link]

Show undocumented member
def W_OK: int;

def X_OK[link]

Show undocumented member
def X_OK: int;

Globals

let argc[link]

Show undocumented member
let argc: size;

let argv[link]

Show undocumented member
let argv: *[*]*u8;

let envp[link]

Show undocumented member
let envp: *[*]nullable *u8;

Functions

fn access[link]

fn access(path: path, mode: int) (bool | errno);

The use of this function is discouraged, as it can create race conditions. TOCTOU is preferred: attempt to simply use the resource you need and handle any access errors which occur.

fn backtrace[link]

fn backtrace() frame;

Returns the current stack frame. See nextframe to walk the stack.

fn clone[link]

fn clone(
	stack: nullable *void,
	flags: int,
	parent_tid: nullable *int,
	child_tid: nullable *int,
	tls: u64,
) (int | void |
errno);

Returns the new PID to the parent, void to the child, or errno if something goes wrong.

fn cpuid_getvendor[link]

fn cpuid_getvendor() (cpuid_vendor | cpuid_unknownvendor);

Figures out cpu vendor using cpuid

fn cpuid_hasflags[link]

fn cpuid_hasflags(edx: u32, ecx: u32) bool;

Checks if cpu has given features. See cpuid_edxflags and cpuid_ecxflags for available options.

fn errname[link]

fn errname(err: errno) str;

Gets the programmer-friendly name for an errno (e.g. EPERM).

fn faccessat[link]

fn faccessat(dirfd: int, path: path, mode: int, flags: int) (bool | errno);

The use of this function is discouraged, as it can create race conditions. TOCTOU is preferred: attempt to simply use the resource you need and handle any access errors which occur.

fn fini[link]

fn fini() void;

Run all global finalization functions.

fn fork[link]

fn fork() (int | void |
errno);

Returns the new PID to the parent, void to the child, or errno if something goes wrong.

fn free_[link]

fn free_(p: nullable *void) void;

Frees an allocation returned by malloc. Freeing any other pointer, or freeing a pointer that's already been freed, will cause an abort.

fn getcwd[link]

fn getcwd() (*const u8 |
errno);

The return value is statically allocated and must be duplicated before calling getcwd again.

fn getmeta[link]

fn getmeta(p: *void) *meta;

Gets the metadata for a given allocation. The provided pointer must have been returned by malloc and must not have been freed.

fn init[link]

fn init() void;

Run all global initialization functions.

fn malloc[link]

fn malloc(n: size) nullable *void;

Allocates n bytes of memory and returns a pointer to them, or null if there is insufficient memory.

fn nextframe[link]

fn nextframe(sframe: frame) (frame | void);

Returns the frame above the current frame, if any.

fn realloc[link]

fn realloc(p: nullable *void, n: size) nullable *void;

Changes the allocation size of a pointer to n bytes. If n is smaller than the prior allocation, it is truncated; otherwise the allocation is expanded and the values of the new bytes are undefined. May return a different pointer than the one given if there is insufficient space to expand the pointer in-place. Returns null if there is insufficient memory to support the request.

fn strerror[link]

fn strerror(err: errno) str;

Obtains a human-friendly reading of an errno (e.g. "Operation not permitted").

fn wrap_errno[link]

fn wrap_errno(err: int) errno;

Given an integer error number, wraps it in an error type.

fn _abort[link]

Show undocumented member
@noreturn fn _abort(loc: str, msg: str) void;

fn abort_fixed[link]

Show undocumented member
@noreturn fn abort_fixed(loc: str, i: int) void;

fn accept[link]

Show undocumented member
fn accept(
	sockfd: int,
	addr: nullable *sockaddr,
	addrlen: nullable *u32,
) (int | errno);

fn accept4[link]

Show undocumented member
fn accept4(
	sockfd: int,
	addr: nullable *sockaddr,
	addrlen: nullable *u32,
	flags: int,
) (int | errno);

fn add_key[link]

Show undocumented member
fn add_key(
	keytype: *const u8,
	name: *const u8,
	payload: *void,
	plen: size,
	keyring: int,
) (int | errno);

fn alarm[link]

Show undocumented member
fn alarm(seconds: uint) uint;

fn bind[link]

Show undocumented member
fn bind(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);

fn chdir[link]

Show undocumented member
fn chdir(path: path) (void | errno);

fn chmod[link]

Show undocumented member
fn chmod(path: path, mode: uint) (void | errno);

fn chown[link]

Show undocumented member
fn chown(path: path, uid: uint, gid: uint) (void | errno);

fn chroot[link]

Show undocumented member
fn chroot(path: path) (void | errno);

fn clock_gettime[link]

Show undocumented member
fn clock_gettime(clock_id: int, tp: *timespec) (void | errno);

fn close[link]

Show undocumented member
fn close(fd: int) (void | errno);

fn connect[link]

Show undocumented member
fn connect(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);

fn dup[link]

Show undocumented member
fn dup(fd: int) (int | errno);

fn dup2[link]

Show undocumented member
fn dup2(oldfd: int, newfd: int) (int | errno);

fn dup3[link]

Show undocumented member
fn dup3(oldfd: int, newfd: int, flags: int) (int | errno);

fn ensure[link]

Show undocumented member
fn ensure(s: *slice, membsz: size) void;

fn epoll_create[link]

Show undocumented member
fn epoll_create(size_: int) (int | errno);

fn epoll_create1[link]

Show undocumented member
fn epoll_create1(flags: int) (int | errno);

fn epoll_ctl[link]

Show undocumented member
fn epoll_ctl(
	epfd: int,
	op: int,
	fd: int,
	event: nullable *epoll_event,
) (void | errno);

fn epoll_pwait[link]

Show undocumented member
fn epoll_pwait(
	epfd: int,
	events: *epoll_event,
	maxevents: int,
	timeout: int,
	sigmask: nullable *sigset,
) (int | errno);

fn epoll_wait[link]

Show undocumented member
fn epoll_wait(
	epfd: int,
	events: *epoll_event,
	maxevents: int,
	timeout: int,
) (int | errno);

fn eventfd[link]

Show undocumented member
fn eventfd(initval: uint, flags: int) (int | errno);

fn execve[link]

Show undocumented member
fn execve(
	path: path,
	argv: *[*]nullable *const u8,
	envp: *[*]nullable *const u8,
) errno;

fn execveat[link]

Show undocumented member
fn execveat(
	dirfd: int,
	path: path,
	argv: *[*]nullable *const u8,
	envp: *[*]nullable *const u8,
	flags: int,
) errno;

fn exit[link]

Show undocumented member
@noreturn fn exit(status: int) void;

fn fallocate[link]

Show undocumented member
fn fallocate(fd: int, mode: int, off: i64, ln: i64) (void | errno);

fn fchdir[link]

Show undocumented member
fn fchdir(fd: int) (void | errno);

fn fchmodat[link]

Show undocumented member
fn fchmodat(dirfd: int, path: path, mode: uint, flags: int) (void | errno);

fn fchownat[link]

Show undocumented member
fn fchownat(dirfd: int, path: path, uid: uint, gid: uint, flags: int) (void | errno);

fn fcntl[link]

Show undocumented member
fn fcntl(fd: int, cmd: int, arg: fcntl_arg) (int | errno);

fn feclearexcept[link]

Show undocumented member
fn feclearexcept(ex: uint) void;

fn fegetround[link]

Show undocumented member
fn fegetround() uint;

fn feraiseexcept[link]

Show undocumented member
fn feraiseexcept(ex: uint) void;

fn fesetround[link]

Show undocumented member
fn fesetround(mode: uint) void;

fn fetestexcept[link]

Show undocumented member
fn fetestexcept(ex: uint) uint;

fn flock[link]

Show undocumented member
fn flock(fd: int, op: int) (void | errno);

fn fstat[link]

Show undocumented member
fn fstat(fd: int, statbuf: *st) (errno | void);

fn fstatat[link]

Show undocumented member
fn fstatat(dirfd: int, path: path, statbuf: *st, flags: int) (errno | void);

fn ftruncate[link]

Show undocumented member
fn ftruncate(fd: int, ln: off_t) (void | errno);

fn getdents64[link]

Show undocumented member
fn getdents64(dirfd: int, dirp: *void, count: size) (size | errno);

fn getgroups[link]

Show undocumented member
fn getgroups(gids: []uint) (uint | errno);

fn getpeername[link]

Show undocumented member
fn getpeername(
	sockfd: int,
	addr: nullable *sockaddr,
	addrlen: nullable *u32,
) (int | errno);

fn getpid[link]

Show undocumented member
fn getpid() int;

fn getpriority[link]

Show undocumented member
fn getpriority(which: int, who: id_t) (int | errno);

fn getrandom[link]

Show undocumented member
fn getrandom(buf: *void, bufln: size, flags: uint) (size | errno);

fn getresgid[link]

Show undocumented member
fn getresgid(gid: *gid_t, egid: *gid_t, sgid: *gid_t) (void | errno);

fn getresuid[link]

Show undocumented member
fn getresuid(uid: *uid_t, euid: *uid_t, suid: *uid_t) (void | errno);

fn getrlimit[link]

Show undocumented member
fn getrlimit(resource: int, rlim: *rlimit) (void | errno);

fn getsid[link]

Show undocumented member
fn getsid(pid: int) (int | errno);

fn getsockname[link]

Show undocumented member
fn getsockname(
	sockfd: int,
	addr: nullable *sockaddr,
	addrlen: nullable *u32,
) (int | errno);

fn getsockopt[link]

Show undocumented member
fn getsockopt(
	sockfd: int,
	level: int,
	optname: int,
	optval: nullable *void,
	optlen: nullable *u32,
) (int | errno);

fn inotify_add_watch[link]

Show undocumented member
fn inotify_add_watch(fd: int, path: path, mask: u32) (int | errno);

fn inotify_init[link]

Show undocumented member
fn inotify_init() (int | errno);

fn inotify_init1[link]

Show undocumented member
fn inotify_init1(flags: int) (int | errno);

fn inotify_rm_watch[link]

Show undocumented member
fn inotify_rm_watch(fd: int, wd: int) (int | errno);

fn io_uring_enter[link]

Show undocumented member
fn io_uring_enter(
	fd: int,
	to_submit: uint,
	min_complete: uint,
	flags: uint,
	sig: const nullable *sigset,
) (uint | errno);

fn io_uring_register[link]

Show undocumented member
fn io_uring_register(fd: int, opcode: uint, arg: nullable *void, nr_args: uint) (int | errno);

fn io_uring_setup[link]

Show undocumented member
fn io_uring_setup(entries: u32, params: *void) (int | errno);

fn ioctl[link]

Show undocumented member
fn ioctl(fd: int, req: u64, arg: ioctl_arg) (int | errno);

fn keyctl[link]

Show undocumented member
fn keyctl(operation: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);

fn kill[link]

Show undocumented member
fn kill(pid: int, signal: int) (void | errno);

fn linkat[link]

Show undocumented member
fn linkat(
	olddirfd: int,
	oldpath: path,
	newdirfd: int,
	newpath: path,
	flags: int,
) (void | errno);

fn listen[link]

Show undocumented member
fn listen(sockfd: int, backlog: u32) (int | errno);

fn longjmp[link]

Show undocumented member
@noreturn fn longjmp(buf: *jmpbuf, n: int) void;

fn lseek[link]

Show undocumented member
fn lseek(fd: int, off: i64, whence: int) (i64 | errno);

fn lstat[link]

Show undocumented member
fn lstat(path: path, statbuf: *st) (errno | void);

fn memcpy[link]

Show undocumented member
fn memcpy(dest: *void, src: *const void, amt: size) void;

fn memfd_create[link]

Show undocumented member
fn memfd_create(name: path, flags: uint) (int | errno);

fn memmove[link]

Show undocumented member
fn memmove(dest: *void, src: *const void, n: size) void;

fn memset[link]

Show undocumented member
fn memset(dest: *void, val: u8, amt: size) void;

fn mkdev[link]

Show undocumented member
fn mkdev(major: u32, minor: u32) dev_t;

fn mkdir[link]

Show undocumented member
fn mkdir(path: path, mode: uint) (void | errno);

fn mkdirat[link]

Show undocumented member
fn mkdirat(dirfd: int, path: path, mode: uint) (void | errno);

fn mknodat[link]

Show undocumented member
fn mknodat(dirfd: int, path: path, mode: mode_t, dev: dev_t) (void | errno);

fn mlock2[link]

Show undocumented member
fn mlock2(addr: *void, length: size, flags: uint) (void | errno);

fn mlockall[link]

Show undocumented member
fn mlockall(flags: uint) (void | errno);

fn mmap[link]

Show undocumented member
fn mmap(
	addr: nullable *void,
	length: size,
	prot: uint,
	flags: uint,
	fd: int,
	offs: size,
) (*void | errno);

fn mount[link]

Show undocumented member
fn mount(
	source: path,
	target: path,
	filesystemtype: *const u8,
	mountflags: u64,
	data: nullable *void,
) (void | errno);

fn mprotect[link]

Show undocumented member
fn mprotect(addr: *void, length: size, prot: uint) (void | errno);

fn mremap[link]

Show undocumented member
fn mremap(
	old_addr: *void,
	old_len: size,
	new_len: size,
	flags: uint,
	new_addr: nullable *void,
) (*void | errno);

fn munlock[link]

Show undocumented member
fn munlock(addr: *void, length: size) (void | errno);

fn munlockall[link]

Show undocumented member
fn munlockall() (void | errno);

fn munmap[link]

Show undocumented member
fn munmap(addr: *void, length: size) (void | errno);

fn nanosleep[link]

Show undocumented member
fn nanosleep(req: *const timespec, rem: *timespec) (void | errno);

fn open[link]

Show undocumented member
fn open(path: path, flags: int, mode: uint) (int | errno);

fn openat2[link]

Show undocumented member
fn openat2(dirfd: int, path: path, how: *open_how, how_sz: size) (int | errno);

fn pipe2[link]

Show undocumented member
fn pipe2(pipefd: *[2]int, flags: int) (void | errno);

fn poll[link]

Show undocumented member
fn poll(fds: *[*]pollfd, nfds: nfds_t, timeout: int) (int | errno);

fn posix_fallocate[link]

Show undocumented member
fn posix_fallocate(fd: int, off: i64, ln: i64) (void | errno);

fn ppoll[link]

Show undocumented member
fn ppoll(
	fds: *[*]pollfd,
	nfds: nfds_t,
	timeout: const nullable *timespec,
	sigmask: const nullable *sigset,
) (int | errno);

fn prctl[link]

Show undocumented member
fn prctl(option: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);

fn ptrace[link]

Show undocumented member
fn ptrace(request: int, pid: int, addr: uintptr, data: uintptr) (u64 | errno);

fn read[link]

Show undocumented member
fn read(fd: int, buf: *void, count: size) (size | errno);

fn readlinkat[link]

Show undocumented member
fn readlinkat(dirfd: int, path: path, buf: []u8) (size | errno);

fn readv[link]

Show undocumented member
fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);

fn recv[link]

Show undocumented member
fn recv(sockfd: int, buf: *void, len_: size, flags: int) (size | errno);

fn recvfrom[link]

Show undocumented member
fn recvfrom(
	sockfd: int,
	buf: *void,
	len_: size,
	flags: int,
	src_addr: nullable *sockaddr,
	addrlen: nullable *u32,
) (size | errno);

fn recvmsg[link]

Show undocumented member
fn recvmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);

fn renameat[link]

Show undocumented member
fn renameat(
	olddirfd: int,
	oldpath: path,
	newdirfd: int,
	newpath: path,
	flags: uint,
) (void | errno);

fn sched_getaffinity[link]

Show undocumented member
fn sched_getaffinity(pid: int, cpusetsize: size, mask: *cpu_set) (void | errno);

fn sched_setaffinity[link]

Show undocumented member
fn sched_setaffinity(pid: int, cpusetsize: size, mask: *const cpu_set) (void | errno);

fn send[link]

Show undocumented member
fn send(sockfd: int, buf: *void, len_: size, flags: int) (size | errno);

fn sendfile[link]

Show undocumented member
fn sendfile(out: int, in: int, offs: nullable *size, count: size) (size | errno);

fn sendmsg[link]

Show undocumented member
fn sendmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);

fn sendto[link]

Show undocumented member
fn sendto(
	sockfd: int,
	buf: *void,
	len_: size,
	flags: int,
	dest_addr: nullable *sockaddr,
	addrlen: u32,
) (size | errno);

fn setgroups[link]

Show undocumented member
fn setgroups(gids: []uint) (void | errno);

fn setjmp[link]

Show undocumented member
fn setjmp(buf: *jmpbuf) int;

fn setpriority[link]

Show undocumented member
fn setpriority(which: int, who: id_t, prio: int) (void | errno);

fn setresgid[link]

Show undocumented member
fn setresgid(gid: gid_t, egid: gid_t, sgid: gid_t) (void | errno);

fn setresuid[link]

Show undocumented member
fn setresuid(uid: uid_t, euid: uid_t, suid: uid_t) (void | errno);

fn setrlimit[link]

Show undocumented member
fn setrlimit(resource: int, rlim: *const rlimit) (void | errno);

fn setsid[link]

Show undocumented member
fn setsid() (void | errno);

fn setsockopt[link]

Show undocumented member
fn setsockopt(
	sockfd: int,
	level: int,
	optname: int,
	optval: *void,
	optlen: u32,
) (int | errno);

fn shmat[link]

Show undocumented member
fn shmat(id: int, addr: *const void, flag: int) *void;

fn shutdown[link]

Show undocumented member
fn shutdown(sockfd: int, how: int) (void | errno);

fn sigaction[link]

Show undocumented member
fn sigaction(signum: int, act: *const sigact, old: nullable *sigact) (int | errno);

fn sigaddset[link]

Show undocumented member
fn sigaddset(set: *sigset, signum: int) (void | errno);

fn sigdelset[link]

Show undocumented member
fn sigdelset(set: *sigset, signum: int) (void | errno);

fn sigemptyset[link]

Show undocumented member
fn sigemptyset(set: *sigset) void;

fn sigfillset[link]

Show undocumented member
fn sigfillset(set: *sigset) void;

fn sigismember[link]

Show undocumented member
fn sigismember(set: *sigset, signum: int) (bool | errno);

fn signalfd[link]

Show undocumented member
fn signalfd(fd: int, mask: *const sigset, flags: int) (int | errno);

fn sigprocmask[link]

Show undocumented member
fn sigprocmask(
	how: int,
	set: nullable *const sigset,
	old: nullable *sigset,
) (int | errno);

fn socket[link]

Show undocumented member
fn socket(domain: int, type_: int, protocol: int) (int | errno);

fn socketpair[link]

Show undocumented member
fn socketpair(domain: int, type_: int, protocol: int, sv: *[2]int) (int | errno);

fn splice[link]

Show undocumented member
fn splice(
	fd_in: int,
	off_in: nullable *u64,
	fd_out: int,
	off_out: nullable *u64,
	ln: size,
	flags: uint,
) (size | errno);

fn start_ha[link]

Show undocumented member
@noreturn fn start_ha() void;

fn start_linux[link]

Show undocumented member
@noreturn fn start_linux(iv: *[*]uintptr) void;

fn stat[link]

Show undocumented member
fn stat(path: path, statbuf: *st) (errno | void);

fn strcmp[link]

Show undocumented member
fn strcmp(_a: str, _b: str) bool;

fn symlinkat[link]

Show undocumented member
fn symlinkat(target: path, newdirfd: int, linkpath: path) (void | errno);

fn sync[link]

Show undocumented member
fn sync() void;

fn tee[link]

Show undocumented member
fn tee(fd_in: int, fd_out: int, ln: size, flags: uint) (size | errno);

fn timerfd_create[link]

Show undocumented member
fn timerfd_create(clock_id: int, flags: int) (int | errno);

fn timerfd_gettime[link]

Show undocumented member
fn timerfd_gettime(fd: int, curr_value: *itimerspec) (int | errno);

fn timerfd_settime[link]

Show undocumented member
fn timerfd_settime(
	fd: int,
	flags: int,
	new_value: *const itimerspec,
	old_value: nullable *itimerspec,
) (int | errno);

fn umask[link]

Show undocumented member
fn umask(mode: mode_t) (mode_t | errno);

fn umount2[link]

Show undocumented member
fn umount2(target: path, flags: int) (void | errno);

fn uname[link]

Show undocumented member
fn uname(uts: *utsname) (void | errno);

fn unensure[link]

Show undocumented member
fn unensure(s: *slice, membsz: size) void;
Show undocumented member
fn unlink(path: path) (void | errno);

fn unlinkat[link]

Show undocumented member
fn unlinkat(dirfd: int, path: path, flags: int) (void | errno);

fn wait4[link]

Show undocumented member
fn wait4(
	pid: int,
	wstatus: nullable *int,
	options: int,
	rusage: nullable *rusage,
) (int | errno);

fn wcoredump[link]

Show undocumented member
fn wcoredump(s: int) int;

fn wexitstatus[link]

Show undocumented member
fn wexitstatus(s: int) int;

fn wifcontinued[link]

Show undocumented member
fn wifcontinued(s: int) bool;

fn wifexited[link]

Show undocumented member
fn wifexited(s: int) bool;

fn wifsignaled[link]

Show undocumented member
fn wifsignaled(s: int) bool;

fn wifstopped[link]

Show undocumented member
fn wifstopped(s: int) bool;

fn write[link]

Show undocumented member
fn write(fd: int, buf: *const void, count: size) (size | errno);

fn writev[link]

Show undocumented member
fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);

fn wstopsig[link]

Show undocumented member
fn wstopsig(s: int) int;

fn wtermsig[link]

Show undocumented member
fn wtermsig(s: int) int;