rt
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;
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;
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;
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
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;
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
type frame = struct {
addr: *void,
};
Details for a stack frame. Contents are architecture-specific.
type meta = struct {
union {
sz: size,
next: uintptr,
},
user: [*]u8,
};
Metadata for a block.
type st
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
Show undocumented member
type arch_jmpbuf = [8]u64;
type cc
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
Show undocumented member
type clock_t = i64;
type cmsg
Show undocumented member
type cmsg = struct {
hdr: cmsghdr,
cmsg_data: [*]u8,
};
type cmsghdr
Show undocumented member
type cmsghdr = struct {
cmsg_len: socklen_t,
_padding: int,
cmsg_level: int,
cmsg_type: int,
};
type cpu_set
Show undocumented member
type cpu_set = struct {
__bits: [16]u64,
};
type cpuid_ecxflags
Show undocumented member
type cpuid_ecxflags = enum uint {
SSE3 = 1 << 0,
AES = 1 << 25,
};
type cpuid_edxflags
Show undocumented member
type cpuid_edxflags = enum uint {
SSE = 1 << 25,
SSE2 = 1 << 26,
};
type cpuid_vendor
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,
XENHVM,
MICROSOFT_HV,
PARALLELS,
};
type dev_t
Show undocumented member
type dev_t = u64;
type dirent64
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
Show undocumented member
type epoll_data = union {
ptr: *void,
fd: int,
u32_: u32,
u64_: u64,
};
type epoll_event
Show undocumented member
type epoll_event = struct @packed {
events: u32,
data: epoll_data,
};
type f_owner_ex
Show undocumented member
type f_owner_ex = struct {
_type: int,
pid: int,
};
type fcntl_arg
Show undocumented member
type fcntl_arg = (void | int |
*st_flock | *f_owner_ex | *u64);
type gid_t
Show undocumented member
type gid_t = uint;
type id_t
Show undocumented member
type id_t = uint;
type in6_addr
Show undocumented member
type in6_addr = struct {
union {
s6_addr: [16]u8,
s6_addr16: [8]u16,
s6_addr32: [4]u32,
},
};
type in_addr
Show undocumented member
type in_addr = struct {
s_addr: u32,
};
type ino_t
Show undocumented member
type ino_t = u64;
type inotify_event
Show undocumented member
type inotify_event = struct {
wd: int,
mask: u32,
cookie: u32,
length: u32,
name: *const u8,
};
type ioctl_arg
Show undocumented member
type ioctl_arg = (nullable *void |
u64);
type iovec
Show undocumented member
type iovec = struct {
iov_base: *void,
iov_len: size,
};
type itimerspec
Show undocumented member
type itimerspec = struct {
it_interval: timespec,
it_value: timespec,
};
type jmpbuf
Show undocumented member
type jmpbuf = struct {
__jb: arch_jmpbuf,
__fl: size,
__ss: [128 / size(size)]size,
};
type mode_t
Show undocumented member
type mode_t = uint;
type msghdr
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
Show undocumented member
type nfds_t = u64;
type nlink_t
Show undocumented member
type nlink_t = u64;
type off_t
Show undocumented member
type off_t = u64;
type open_how
Show undocumented member
type open_how = struct {
flags: u64,
mode: u64,
resolve: u64,
};
type path
Show undocumented member
type path = (str | []u8 |
*const u8);
type pid_t
Show undocumented member
type pid_t = int;
type pollfd
Show undocumented member
type pollfd = struct {
fd: int,
events: i16,
revents: i16,
};
type prctl_mm_map
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
Show undocumented member
type ptrace_peeksiginfo_args = struct {
off: u64,
flags: u32,
nr: i32,
};
type ptrace_syscall_info
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
Show undocumented member
type rlim_t = u64;
type rlimit
Show undocumented member
type rlimit = struct {
rlim_cur: rlim_t,
rlim_max: rlim_t,
};
type rusage
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
Show undocumented member
type sa_family_t = u16;
type si_band_t
Show undocumented member
type si_band_t = i64;
type sigact
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
Show undocumented member
type siginfo = union {
struct {
si_signo: int,
si_errno: int,
si_code: int,
union {
struct {
si_pid: pid_t,
si_uid: u32,
},
struct {
si_tid: timer_t,
si_overrun: int,
_sigval: sigval,
si_sys_private: int,
},
struct {
_sig_pid: pid_t,
_sig_uid: u32,
union {
si_value: sigval,
si_int: int,
si_ptr: *void,
},
},
struct {
_chld_pid: pid_t,
_chld_uid: u32,
si_status: int,
si_utime: clock_t,
si_stime: clock_t,
},
struct {
si_addr: *void,
union {
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,
},
},
},
struct {
si_band: si_band_t,
si_fd: int,
},
struct {
si_call_addr: *void,
si_syscall: int,
si_arch: uint,
},
},
},
_si_pad: [SI_MAX_SIZE - 3 * size(int)]u8,
};
type signalfd_siginfo
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
Show undocumented member
type sigset = struct {
__val: [1]u64,
};
type sigval
Show undocumented member
type sigval = union {
sival_t: int,
sival_ptr: *void,
};
type slice
Show undocumented member
type slice = struct {
data: nullable *void,
length: size,
capacity: size,
};
type sockaddr
Show undocumented member
type sockaddr = struct {
union {
in: sockaddr_in,
in6: sockaddr_in6,
un: sockaddr_un,
nl: sockaddr_nl,
},
};
type sockaddr_in
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
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
Show undocumented member
type sockaddr_nl = struct {
nl_family: sa_family_t,
nl_pad: u16,
nl_pid: u32,
nl_groups: u32,
};
type sockaddr_un
Show undocumented member
type sockaddr_un = struct {
sun_family: sa_family_t,
sun_path: [UNIX_PATH_MAX]u8,
};
type socklen_t
Show undocumented member
type socklen_t = uint;
type st_flock
Show undocumented member
type st_flock = struct {
l_type: i16,
l_whence: i16,
l_start: i64,
l_len: i64,
pid: int,
};
type suseconds_t
Show undocumented member
type suseconds_t = i64;
type tcflag
Show undocumented member
type tcflag = enum uint {
IGNBRK = 1,
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,
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,
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,
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
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
Show undocumented member
type time_t = i64;
type timer_t
Show undocumented member
type timer_t = int;
type timespec
Show undocumented member
type timespec = struct {
tv_sec: time_t,
tv_nsec: i64,
};
type timeval
Show undocumented member
type timeval = struct {
tv_sec: time_t,
tv_usec: suseconds_t,
};
type uid_t
Show undocumented member
type uid_t = uint;
type utsname
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
Show undocumented member
type winsize = struct {
ws_row: u16,
ws_col: u16,
ws_xpixel: u16,
ws_ypixel: u16,
};
Errors
type errno
type errno = !int;
Represents an error returned from the Linux kernel.
type cpuid_unknownvendor
Show undocumented member
type cpuid_unknownvendor = !void;
Constants
def AF_ALG
def AF_ALG: u16;
CAIF sockets
def AF_APPLETALK
def AF_APPLETALK: u16;
Novell IPX
def AF_ASH
def AF_ASH: u16;
Packet family
def AF_ATMPVC
def AF_ATMPVC: u16;
Multiprotocol bridge
def AF_ATMSVC
def AF_ATMSVC: u16;
Acorn Econet
def AF_AX25
def AF_AX25: u16;
Internet IP Protocol
def AF_BLUETOOTH
def AF_BLUETOOTH: u16;
TIPC sockets
def AF_BRIDGE
def AF_BRIDGE: u16;
Amateur Radio NET/ROM
def AF_CAIF
def AF_CAIF: u16;
IEEE802154 sockets
def AF_CAN
def AF_CAN: u16;
MPLS
def AF_DECnet
def AF_DECnet: u16;
Amateur Radio X.25 PLP
def AF_ECONET
def AF_ECONET: u16;
Ash
def AF_IB
def AF_IB: u16;
Linux LLC
def AF_IEEE802154
def AF_IEEE802154: u16;
Phonet sockets
def AF_INET
def AF_INET: u16;
POSIX name for AF_UNIX
def AF_INET6
def AF_INET6: u16;
Reserved for X.25 project
def AF_IPX
def AF_IPX: u16;
Amateur Radio AX.25
def AF_IRDA
def AF_IRDA: u16;
Linux SNA Project (nutters!)
def AF_ISDN
def AF_ISDN: u16;
RxRPC sockets
def AF_IUCV
def AF_IUCV: u16;
Bluetooth sockets
def AF_KCM
def AF_KCM: u16;
vSockets
def AF_KEY
def AF_KEY: u16;
Security callback pseudo AF
def AF_LLC
def AF_LLC: u16;
Wanpipe API Sockets
def AF_LOCAL
def AF_LOCAL: u16;
Unix domain sockets
def AF_MPLS
def AF_MPLS: u16;
Native InfiniBand address
def AF_NETBEUI
def AF_NETBEUI: u16;
Reserved for DECnet project
def AF_NETLINK
def AF_NETLINK: u16;
PF_KEY key management API
def AF_NETROM
def AF_NETROM: u16;
AppleTalk DDP
def AF_NFC
def AF_NFC: u16;
Algorithm sockets
def AF_PACKET
def AF_PACKET: u16;
Alias to emulate 4.4BSD
def AF_PHONET
def AF_PHONET: u16;
mISDN sockets
def AF_PPPOX
def AF_PPPOX: u16;
IRDA sockets
def AF_QIPCRTR
def AF_QIPCRTR: u16;
Kernel Connection Multiplexor
def AF_RDS
def AF_RDS: u16;
ATM SVCs
def AF_ROSE
def AF_ROSE: u16;
IP version 6
def AF_RXRPC
def AF_RXRPC: u16;
IUCV sockets
def AF_SECURITY
def AF_SECURITY: u16;
Reserved for 802.2LLC project
def AF_SMC
def AF_SMC: u16;
Qualcomm IPC Router
def AF_SNA
def AF_SNA: u16;
RDS sockets
def AF_TIPC
def AF_TIPC: u16;
Controller Area Network
def AF_UNSPEC
def AF_UNSPEC: u16;
domain for socket(2)
def AF_VSOCK
def AF_VSOCK: u16;
NFC sockets
def AF_WANPIPE
def AF_WANPIPE: u16;
PPPoX sockets
def AF_X25
def AF_X25: u16;
ATM PVCs
def AF_XDP
def AF_XDP: u16;
smc sockets
def EPOLLIN
def EPOLLIN: u32;
Epoll event masks
def EPOLL_CTL_ADD
def EPOLL_CTL_ADD: int;
Valid opcodes to issue to sys_epoll_ctl()
def INACCESS
def INACCESS: u32;
Inotify event masks
def IN_NONBLOCK
def IN_NONBLOCK: int;
Inotify init1 flags
def IPPROTO_AH
def IPPROTO_AH: int;
Encapsulation Security Payload protocol
def IPPROTO_BEETPH
def IPPROTO_BEETPH: int;
Multicast Transport Protocol
def IPPROTO_COMP
def IPPROTO_COMP: int;
Protocol Independent Multicast
def IPPROTO_DCCP
def IPPROTO_DCCP: int;
SO Transport Protocol Class 4
def IPPROTO_EGP
def IPPROTO_EGP: int;
Transmission Control Protocol
def IPPROTO_ENCAP
def IPPROTO_ENCAP: int;
IP option pseudo header for BEET
def IPPROTO_ESP
def IPPROTO_ESP: int;
Cisco GRE tunnels (rfc 1701,1702)
def IPPROTO_ETHERNET
def IPPROTO_ETHERNET: int;
MPLS in IP (RFC 4023)
def IPPROTO_GRE
def IPPROTO_GRE: int;
RSVP Protocol
def IPPROTO_ICMP
def IPPROTO_ICMP: int;
Dummy protocol for TCP
def IPPROTO_IDP
def IPPROTO_IDP: int;
User Datagram Protocol
def IPPROTO_IGMP
def IPPROTO_IGMP: int;
Internet Control Message Protocol
def IPPROTO_IP
def IPPROTO_IP: int;
protocol for socket(2)
def IPPROTO_IPIP
def IPPROTO_IPIP: int;
Internet Group Management Protocol
def IPPROTO_IPV6
def IPPROTO_IPV6: int;
Datagram Congestion Control Protocol
def IPPROTO_MPLS
def IPPROTO_MPLS: int;
UDP-Lite (RFC 3828)
def IPPROTO_MPTCP
def IPPROTO_MPTCP: int;
Raw IP packets
def IPPROTO_MTP
def IPPROTO_MTP: int;
Authentication Header protocol
def IPPROTO_PIM
def IPPROTO_PIM: int;
Encapsulation Header
def IPPROTO_PUP
def IPPROTO_PUP: int;
Exterior Gateway Protocol
def IPPROTO_RAW
def IPPROTO_RAW: int;
Ethernet-within-IPv6 Encapsulation
def IPPROTO_RSVP
def IPPROTO_RSVP: int;
IPv6-in-IPv4 tunnelling
def IPPROTO_SCTP
def IPPROTO_SCTP: int;
Compression Header Protocol
def IPPROTO_TCP
def IPPROTO_TCP: int;
IPIP tunnels (older KA9Q tunnels use 94)
def IPPROTO_TP
def IPPROTO_TP: int;
XNS IDP protocol
def IPPROTO_UDP
def IPPROTO_UDP: int;
PUP protocol
def IPPROTO_UDPLITE
def IPPROTO_UDPLITE: int;
Stream Control Transport Protocol
def LOCK_SH
def LOCK_SH: int;
Flock operations
def MSG_BATCH
def MSG_BATCH: int;
sendpage() internal : not the last page
def MSG_CMSG_CLOEXEC
def MSG_CMSG_CLOEXEC: int;
Send data in TCP SYN
def MSG_CTRUNC
def MSG_CTRUNC: int;
Synonym for MSG_DONTROUTE for DECnet
def MSG_EOF
def MSG_EOF: int;
sendmmsg(): more messages coming
def MSG_EOR
def MSG_EOR: int;
Nonblocking io
def MSG_FASTOPEN
def MSG_FASTOPEN: int;
Use user data in kernel path
def MSG_FIN
def MSG_FIN: int;
Wait for a full request
def MSG_MORE
def MSG_MORE: int;
Do not generate SIGPIPE
def MSG_NOSIGNAL
def MSG_NOSIGNAL: int;
Fetch message from error queue
def MSG_OOB
def MSG_OOB: int;
send/rcv flags
def MSG_RST
def MSG_RST: int;
Confirm path validity
def MSG_SENDPAGE_DECRYPTED
def MSG_SENDPAGE_DECRYPTED: int;
sendpage() internal : page frags are not shared
def MSG_SENDPAGE_NOPOLICY
def MSG_SENDPAGE_NOPOLICY: int;
recvmmsg(): block until 1+ packets avail
def MSG_SENDPAGE_NOTLAST
def MSG_SENDPAGE_NOTLAST: int;
sendpage() internal : do no apply policy
def MSG_TRUNC
def MSG_TRUNC: int;
Do not send. Only probe path f.e. for MTU
def MSG_WAITALL
def MSG_WAITALL: int;
End of record
def MSG_WAITFORONE
def MSG_WAITFORONE: int;
Sender will send more
def MSG_ZEROCOPY
def MSG_ZEROCOPY: int;
sendpage() internal : page may carry * plain text and require encryption
def O_RDONLY
def O_RDONLY: int;
O_DIRECTORY is arch specific
def SOCK_STREAM
def SOCK_STREAM: int;
type for socket(2)
def SOL_SOCKET
def SOL_SOCKET: int;
setsockopt levels
def SO_DEBUG
def SO_DEBUG: int;
setsockopt options
def SO_PASSCRED
def SO_PASSCRED: int;
the following differ on ppc
def AF_ROUTE
Show undocumented member
def AF_ROUTE: u16;
def AF_UNIX
Show undocumented member
def AF_UNIX: u16;
def AT_EACCESS
Show undocumented member
def AT_EACCESS: int;
def AT_EMPTY_PATH
Show undocumented member
def AT_EMPTY_PATH: int;
def AT_FDCWD
Show undocumented member
def AT_FDCWD: int;
def AT_NO_AUTOMOUNT
Show undocumented member
def AT_NO_AUTOMOUNT: int;
def AT_RECURSIVE
Show undocumented member
def AT_RECURSIVE: int;
def AT_REMOVEDIR
Show undocumented member
def AT_REMOVEDIR: int;
def AT_STATX_DONT_SYNC
Show undocumented member
def AT_STATX_DONT_SYNC: int;
def AT_STATX_FORCE_SYNC
Show undocumented member
def AT_STATX_FORCE_SYNC: int;
def AT_STATX_SYNC_AS_STAT
Show undocumented member
def AT_STATX_SYNC_AS_STAT: int;
def AT_STATX_SYNC_TYPE
Show undocumented member
def AT_STATX_SYNC_TYPE: int;
def AT_SYMLINK_FOLLOW
Show undocumented member
def AT_SYMLINK_FOLLOW: int;
def AT_SYMLINK_NOFOLLOW
Show undocumented member
def AT_SYMLINK_NOFOLLOW: int;
def CLOCK_BOOTTIME
Show undocumented member
def CLOCK_BOOTTIME: int;
def CLOCK_BOOTTIME_ALARM
Show undocumented member
def CLOCK_BOOTTIME_ALARM: int;
def CLOCK_MONOTONIC
Show undocumented member
def CLOCK_MONOTONIC: int;
def CLOCK_MONOTONIC_COARSE
Show undocumented member
def CLOCK_MONOTONIC_COARSE: int;
def CLOCK_MONOTONIC_RAW
Show undocumented member
def CLOCK_MONOTONIC_RAW: int;
def CLOCK_PROCESS_CPUTIME_ID
Show undocumented member
def CLOCK_PROCESS_CPUTIME_ID: int;
def CLOCK_REALTIME
Show undocumented member
def CLOCK_REALTIME: int;
def CLOCK_REALTIME_ALARM
Show undocumented member
def CLOCK_REALTIME_ALARM: int;
def CLOCK_REALTIME_COARSE
Show undocumented member
def CLOCK_REALTIME_COARSE: int;
def CLOCK_SGI_CYCLE
Show undocumented member
def CLOCK_SGI_CYCLE: int;
def CLOCK_TAI
Show undocumented member
def CLOCK_TAI: int;
def CLOCK_THREAD_CPUTIME_ID
Show undocumented member
def CLOCK_THREAD_CPUTIME_ID: int;
def DT_BLK
Show undocumented member
def DT_BLK: u8;
def DT_CHR
Show undocumented member
def DT_CHR: u8;
def DT_DIR
Show undocumented member
def DT_DIR: u8;
def DT_FIFO
Show undocumented member
def DT_FIFO: u8;
def DT_LNK
Show undocumented member
def DT_LNK: u8;
def DT_REG
Show undocumented member
def DT_REG: u8;
def DT_SOCK
Show undocumented member
def DT_SOCK: u8;
def DT_UNKNOWN
Show undocumented member
def DT_UNKNOWN: u8;
def E2BIG
Show undocumented member
def E2BIG: errno;
def EACCES
Show undocumented member
def EACCES: errno;
def EADDRINUSE
Show undocumented member
def EADDRINUSE: errno;
def EADDRNOTAVAIL
Show undocumented member
def EADDRNOTAVAIL: errno;
def EADV
Show undocumented member
def EADV: errno;
def EAFNOSUPPORT
Show undocumented member
def EAFNOSUPPORT: errno;
def EAGAIN
Show undocumented member
def EAGAIN: errno;
def EALREADY
Show undocumented member
def EALREADY: errno;
def EBADE
Show undocumented member
def EBADE: errno;
def EBADF
Show undocumented member
def EBADF: errno;
def EBADFD
Show undocumented member
def EBADFD: errno;
def EBADMSG
Show undocumented member
def EBADMSG: errno;
def EBADR
Show undocumented member
def EBADR: errno;
def EBADRQC
Show undocumented member
def EBADRQC: errno;
def EBADSLT
Show undocumented member
def EBADSLT: errno;
def EBFONT
Show undocumented member
def EBFONT: errno;
def EBUSY
Show undocumented member
def EBUSY: errno;
def ECANCELED
Show undocumented member
def ECANCELED: errno;
def ECHILD
Show undocumented member
def ECHILD: errno;
def ECHRNG
Show undocumented member
def ECHRNG: errno;
def ECOMM
Show undocumented member
def ECOMM: errno;
def ECONNABORTED
Show undocumented member
def ECONNABORTED: errno;
def ECONNREFUSED
Show undocumented member
def ECONNREFUSED: errno;
def ECONNRESET
Show undocumented member
def ECONNRESET: errno;
def EDEADLK
Show undocumented member
def EDEADLK: errno;
def EDEADLOCK
Show undocumented member
def EDEADLOCK: int;
def EDESTADDRREQ
Show undocumented member
def EDESTADDRREQ: errno;
def EDOM
Show undocumented member
def EDOM: errno;
def EDOTDOT
Show undocumented member
def EDOTDOT: errno;
def EDQUOT
Show undocumented member
def EDQUOT: errno;
def EEXIST
Show undocumented member
def EEXIST: errno;
def EFAULT
Show undocumented member
def EFAULT: errno;
def EFBIG
Show undocumented member
def EFBIG: errno;
def EFD_CLOEXEC
Show undocumented member
def EFD_CLOEXEC: int;
def EFD_NONBLOCK
Show undocumented member
def EFD_NONBLOCK: int;
def EFD_SEMAPHORE
Show undocumented member
def EFD_SEMAPHORE: int;
def EHOSTDOWN
Show undocumented member
def EHOSTDOWN: errno;
def EHOSTUNREACH
Show undocumented member
def EHOSTUNREACH: errno;
def EHWPOISON
Show undocumented member
def EHWPOISON: errno;
def EIDRM
Show undocumented member
def EIDRM: errno;
def EILSEQ
Show undocumented member
def EILSEQ: errno;
def EINPROGRESS
Show undocumented member
def EINPROGRESS: errno;
def EINTR
Show undocumented member
def EINTR: errno;
def EINVAL
Show undocumented member
def EINVAL: errno;
def EIO
Show undocumented member
def EIO: errno;
def EISCONN
Show undocumented member
def EISCONN: errno;
def EISDIR
Show undocumented member
def EISDIR: errno;
def EISNAM
Show undocumented member
def EISNAM: errno;
def EKEYEXPIRED
Show undocumented member
def EKEYEXPIRED: errno;
def EKEYREJECTED
Show undocumented member
def EKEYREJECTED: errno;
def EKEYREVOKED
Show undocumented member
def EKEYREVOKED: errno;
def EL2HLT
Show undocumented member
def EL2HLT: errno;
def EL2NSYNC
Show undocumented member
def EL2NSYNC: errno;
def EL3HLT
Show undocumented member
def EL3HLT: errno;
def EL3RST
Show undocumented member
def EL3RST: errno;
def ELIBACC
Show undocumented member
def ELIBACC: errno;
def ELIBBAD
Show undocumented member
def ELIBBAD: errno;
def ELIBEXEC
Show undocumented member
def ELIBEXEC: errno;
def ELIBMAX
Show undocumented member
def ELIBMAX: errno;
def ELIBSCN
Show undocumented member
def ELIBSCN: errno;
def ELNRNG
Show undocumented member
def ELNRNG: errno;
def ELOOP
Show undocumented member
def ELOOP: errno;
def EMEDIUMTYPE
Show undocumented member
def EMEDIUMTYPE: errno;
def EMFILE
Show undocumented member
def EMFILE: errno;
def EMLINK
Show undocumented member
def EMLINK: errno;
def EMSGSIZE
Show undocumented member
def EMSGSIZE: errno;
def EMULTIHOP
Show undocumented member
def EMULTIHOP: errno;
Show undocumented member
def ENAMETOOLONG: errno;
def ENAVAIL
Show undocumented member
def ENAVAIL: errno;
def ENETDOWN
Show undocumented member
def ENETDOWN: errno;
def ENETRESET
Show undocumented member
def ENETRESET: errno;
def ENETUNREACH
Show undocumented member
def ENETUNREACH: errno;
def ENFILE
Show undocumented member
def ENFILE: errno;
def ENOANO
Show undocumented member
def ENOANO: errno;
def ENOBUFS
Show undocumented member
def ENOBUFS: errno;
def ENOCSI
Show undocumented member
def ENOCSI: errno;
def ENODATA
Show undocumented member
def ENODATA: errno;
def ENODEV
Show undocumented member
def ENODEV: errno;
def ENOENT
Show undocumented member
def ENOENT: errno;
def ENOEXEC
Show undocumented member
def ENOEXEC: errno;
def ENOKEY
Show undocumented member
def ENOKEY: errno;
def ENOLCK
Show undocumented member
def ENOLCK: errno;
def ENOLINK
Show undocumented member
def ENOLINK: errno;
def ENOMEDIUM
Show undocumented member
def ENOMEDIUM: errno;
def ENOMEM
Show undocumented member
def ENOMEM: errno;
def ENOMSG
Show undocumented member
def ENOMSG: errno;
def ENONET
Show undocumented member
def ENONET: errno;
def ENOPKG
Show undocumented member
def ENOPKG: errno;
def ENOPROTOOPT
Show undocumented member
def ENOPROTOOPT: errno;
def ENOSPC
Show undocumented member
def ENOSPC: errno;
def ENOSR
Show undocumented member
def ENOSR: errno;
def ENOSTR
Show undocumented member
def ENOSTR: errno;
def ENOSYS
Show undocumented member
def ENOSYS: errno;
def ENOTBLK
Show undocumented member
def ENOTBLK: errno;
def ENOTCONN
Show undocumented member
def ENOTCONN: errno;
def ENOTDIR
Show undocumented member
def ENOTDIR: errno;
def ENOTEMPTY
Show undocumented member
def ENOTEMPTY: errno;
def ENOTNAM
Show undocumented member
def ENOTNAM: errno;
def ENOTRECOVERABLE
Show undocumented member
def ENOTRECOVERABLE: errno;
def ENOTSOCK
Show undocumented member
def ENOTSOCK: errno;
def ENOTSUP
Show undocumented member
def ENOTSUP: errno;
def ENOTTY
Show undocumented member
def ENOTTY: errno;
def ENOTUNIQ
Show undocumented member
def ENOTUNIQ: errno;
def ENXIO
Show undocumented member
def ENXIO: errno;
def EOPNOTSUPP
Show undocumented member
def EOPNOTSUPP: errno;
def EOVERFLOW
Show undocumented member
def EOVERFLOW: errno;
def EOWNERDEAD
Show undocumented member
def EOWNERDEAD: errno;
def EPERM
Show undocumented member
def EPERM: errno;
def EPFNOSUPPORT
Show undocumented member
def EPFNOSUPPORT: errno;
def EPIPE
Show undocumented member
def EPIPE: errno;
def EPOLLERR
Show undocumented member
def EPOLLERR: u32;
def EPOLLET
Show undocumented member
def EPOLLET: u32;
def EPOLLHUP
Show undocumented member
def EPOLLHUP: u32;
def EPOLLMSG
Show undocumented member
def EPOLLMSG: u32;
def EPOLLNVAL
Show undocumented member
def EPOLLNVAL: u32;
def EPOLLONESHOT
Show undocumented member
def EPOLLONESHOT: u32;
def EPOLLOUT
Show undocumented member
def EPOLLOUT: u32;
def EPOLLPRI
Show undocumented member
def EPOLLPRI: u32;
def EPOLLRDBAND
Show undocumented member
def EPOLLRDBAND: u32;
def EPOLLRDHUP
Show undocumented member
def EPOLLRDHUP: u32;
def EPOLLRDNORM
Show undocumented member
def EPOLLRDNORM: u32;
def EPOLLWAKEUP
Show undocumented member
def EPOLLWAKEUP: u32;
def EPOLLWRBAND
Show undocumented member
def EPOLLWRBAND: u32;
def EPOLLWRNORM
Show undocumented member
def EPOLLWRNORM: u32;
def EPOLL_CLOEXEC
Show undocumented member
def EPOLL_CLOEXEC: int;
def EPOLL_CTL_DEL
Show undocumented member
def EPOLL_CTL_DEL: int;
def EPOLL_CTL_MOD
Show undocumented member
def EPOLL_CTL_MOD: int;
def EPROTO
Show undocumented member
def EPROTO: errno;
def EPROTONOSUPPORT
Show undocumented member
def EPROTONOSUPPORT: errno;
def EPROTOTYPE
Show undocumented member
def EPROTOTYPE: errno;
def ERANGE
Show undocumented member
def ERANGE: errno;
def EREMCHG
Show undocumented member
def EREMCHG: errno;
def EREMOTE
Show undocumented member
def EREMOTE: errno;
def EREMOTEIO
Show undocumented member
def EREMOTEIO: errno;
def ERESTART
Show undocumented member
def ERESTART: errno;
def ERFKILL
Show undocumented member
def ERFKILL: errno;
def EROFS
Show undocumented member
def EROFS: errno;
def ESHUTDOWN
Show undocumented member
def ESHUTDOWN: errno;
def ESOCKTNOSUPPORT
Show undocumented member
def ESOCKTNOSUPPORT: errno;
def ESPIPE
Show undocumented member
def ESPIPE: errno;
def ESRCH
Show undocumented member
def ESRCH: errno;
def ESRMNT
Show undocumented member
def ESRMNT: errno;
def ESTALE
Show undocumented member
def ESTALE: errno;
def ESTRPIPE
Show undocumented member
def ESTRPIPE: errno;
def ETIME
Show undocumented member
def ETIME: errno;
def ETIMEDOUT
Show undocumented member
def ETIMEDOUT: errno;
def ETOOMANYREFS
Show undocumented member
def ETOOMANYREFS: errno;
def ETXTBSY
Show undocumented member
def ETXTBSY: errno;
def EUCLEAN
Show undocumented member
def EUCLEAN: errno;
def EUNATCH
Show undocumented member
def EUNATCH: errno;
def EUSERS
Show undocumented member
def EUSERS: errno;
def EWOULDBLOCK
Show undocumented member
def EWOULDBLOCK: errno;
def EXDEV
Show undocumented member
def EXDEV: errno;
def EXFULL
Show undocumented member
def EXFULL: errno;
def FD_CLOEXEC
Show undocumented member
def FD_CLOEXEC: int;
def F_DUPFD
Show undocumented member
def F_DUPFD: int;
def F_DUPFD_CLOEXEC
Show undocumented member
def F_DUPFD_CLOEXEC: int;
def F_GETFD
Show undocumented member
def F_GETFD: int;
def F_GETFL
Show undocumented member
def F_GETFL: int;
def F_GETLK
Show undocumented member
def F_GETLK: int;
def F_GETOWN
Show undocumented member
def F_GETOWN: int;
def F_GETOWNER_UIDS
Show undocumented member
def F_GETOWNER_UIDS: int;
def F_GETOWN_EX
Show undocumented member
def F_GETOWN_EX: int;
def F_GETSIG
Show undocumented member
def F_GETSIG: int;
def F_OK
Show undocumented member
def F_OK: int;
def F_RDLCK
Show undocumented member
def F_RDLCK: i16;
def F_SETFD
Show undocumented member
def F_SETFD: int;
def F_SETFL
Show undocumented member
def F_SETFL: int;
def F_SETLK
Show undocumented member
def F_SETLK: int;
def F_SETLKW
Show undocumented member
def F_SETLKW: int;
def F_SETOWN
Show undocumented member
def F_SETOWN: int;
def F_SETOWN_EX
Show undocumented member
def F_SETOWN_EX: int;
def F_SETSIG
Show undocumented member
def F_SETSIG: int;
def F_UNLCK
Show undocumented member
def F_UNLCK: i16;
def F_WRLCK
Show undocumented member
def F_WRLCK: i16;
def INATTRIB
Show undocumented member
def INATTRIB: u32;
def INCLOSE
Show undocumented member
def INCLOSE: u32;
def INCLOSENOWRITE
Show undocumented member
def INCLOSENOWRITE: u32;
def INCLOSEWRITE
Show undocumented member
def INCLOSEWRITE: u32;
def INCREATE
Show undocumented member
def INCREATE: u32;
def INDELETE
Show undocumented member
def INDELETE: u32;
def INDELETESELF
Show undocumented member
def INDELETESELF: u32;
def INDONTFOLLOW
Show undocumented member
def INDONTFOLLOW: u32;
def INEXCLUNLINK
Show undocumented member
def INEXCLUNLINK: u32;
def INIGNORED
Show undocumented member
def INIGNORED: u32;
def INISDIR
Show undocumented member
def INISDIR: u32;
def INMASKADD
Show undocumented member
def INMASKADD: u32;
def INMASKCREATE
Show undocumented member
def INMASKCREATE: u32;
def INMODIFY
Show undocumented member
def INMODIFY: u32;
def INMOVE
Show undocumented member
def INMOVE: u32;
def INMOVEDFROM
Show undocumented member
def INMOVEDFROM: u32;
def INMOVEDTO
Show undocumented member
def INMOVEDTO: u32;
def INMOVESELF
Show undocumented member
def INMOVESELF: u32;
def INONESHOT
Show undocumented member
def INONESHOT: u32;
def INONLYDIR
Show undocumented member
def INONLYDIR: u32;
def INOPEN
Show undocumented member
def INOPEN: u32;
def INQOVERFLOW
Show undocumented member
def INQOVERFLOW: u32;
def INUNMOUNT
Show undocumented member
def INUNMOUNT: u32;
def IN_CLOEXEC
Show undocumented member
def IN_CLOEXEC: int;
def LOCK_EX
Show undocumented member
def LOCK_EX: int;
def LOCK_NB
Show undocumented member
def LOCK_NB: int;
def LOCK_UN
Show undocumented member
def LOCK_UN: int;
def MAP_ANON
Show undocumented member
def MAP_ANON: uint;
def MAP_DENYWRITE
Show undocumented member
def MAP_DENYWRITE: uint;
def MAP_EXECUTABLE
Show undocumented member
def MAP_EXECUTABLE: uint;
def MAP_FILE
Show undocumented member
def MAP_FILE: uint;
def MAP_FIXED
Show undocumented member
def MAP_FIXED: uint;
def MAP_FIXED_NOREPLACE
Show undocumented member
def MAP_FIXED_NOREPLACE: uint;
def MAP_GROWSDOWN
Show undocumented member
def MAP_GROWSDOWN: uint;
def MAP_HUGETLB
Show undocumented member
def MAP_HUGETLB: uint;
def MAP_HUGE_16GB
Show undocumented member
def MAP_HUGE_16GB: uint;
def MAP_HUGE_16MB
Show undocumented member
def MAP_HUGE_16MB: uint;
def MAP_HUGE_1GB
Show undocumented member
def MAP_HUGE_1GB: uint;
def MAP_HUGE_1MB
Show undocumented member
def MAP_HUGE_1MB: uint;
def MAP_HUGE_256MB
Show undocumented member
def MAP_HUGE_256MB: uint;
def MAP_HUGE_2GB
Show undocumented member
def MAP_HUGE_2GB: uint;
def MAP_HUGE_2MB
Show undocumented member
def MAP_HUGE_2MB: uint;
def MAP_HUGE_32MB
Show undocumented member
def MAP_HUGE_32MB: uint;
def MAP_HUGE_512KB
Show undocumented member
def MAP_HUGE_512KB: uint;
def MAP_HUGE_512MB
Show undocumented member
def MAP_HUGE_512MB: uint;
def MAP_HUGE_64KB
Show undocumented member
def MAP_HUGE_64KB: uint;
def MAP_HUGE_8MB
Show undocumented member
def MAP_HUGE_8MB: uint;
def MAP_HUGE_MASK
Show undocumented member
def MAP_HUGE_MASK: uint;
def MAP_HUGE_SHIFT
Show undocumented member
def MAP_HUGE_SHIFT: uint;
def MAP_LOCKED
Show undocumented member
def MAP_LOCKED: uint;
def MAP_NONBLOCK
Show undocumented member
def MAP_NONBLOCK: uint;
def MAP_NORESERVE
Show undocumented member
def MAP_NORESERVE: uint;
def MAP_POPULATE
Show undocumented member
def MAP_POPULATE: uint;
def MAP_PRIVATE
Show undocumented member
def MAP_PRIVATE: uint;
def MAP_SHARED
Show undocumented member
def MAP_SHARED: uint;
def MAP_SHARED_VALIDATE
Show undocumented member
def MAP_SHARED_VALIDATE: uint;
def MAP_STACK
Show undocumented member
def MAP_STACK: uint;
def MAP_SYNC
Show undocumented member
def MAP_SYNC: uint;
def MCL_CURRENT
Show undocumented member
def MCL_CURRENT: int;
def MCL_FUTURE
Show undocumented member
def MCL_FUTURE: int;
def MCL_ONFAULT
Show undocumented member
def MCL_ONFAULT: int;
def MFD_ALLOW_SEALING
Show undocumented member
def MFD_ALLOW_SEALING: uint;
def MFD_CLOEXEC
Show undocumented member
def MFD_CLOEXEC: uint;
def MFD_HUGETLB
Show undocumented member
def MFD_HUGETLB: uint;
def MLOCK_ONFAULT
Show undocumented member
def MLOCK_ONFAULT: uint;
def MSG_CONFIRM
Show undocumented member
def MSG_CONFIRM: int;
def MSG_DONTROUTE
Show undocumented member
def MSG_DONTROUTE: int;
def MSG_DONTWAIT
Show undocumented member
def MSG_DONTWAIT: int;
def MSG_ERRQUEUE
Show undocumented member
def MSG_ERRQUEUE: int;
def MSG_NO_SHARED_FRAGS
Show undocumented member
def MSG_NO_SHARED_FRAGS: int;
def MSG_PEEK
Show undocumented member
def MSG_PEEK: int;
def MSG_PROBE
Show undocumented member
def MSG_PROBE: int;
def MSG_SYN
Show undocumented member
def MSG_SYN: int;
def MSG_TRYHARD
Show undocumented member
def MSG_TRYHARD: int;
def NCCS
Show undocumented member
def NCCS: size;
def NGROUPS_MAX
Show undocumented member
def NGROUPS_MAX: size;
def NSIG
Show undocumented member
def NSIG: int;
def O_ACCMODE
Show undocumented member
def O_ACCMODE: int;
def O_APPEND
Show undocumented member
def O_APPEND: int;
def O_CLOEXEC
Show undocumented member
def O_CLOEXEC: int;
def O_CREATE
Show undocumented member
def O_CREATE: int;
def O_DIRECT
Show undocumented member
def O_DIRECT: int;
def O_DIRECTORY
Show undocumented member
def O_DIRECTORY: int;
def O_DSYNC
Show undocumented member
def O_DSYNC: int;
def O_EXCLUSIVE
Show undocumented member
def O_EXCLUSIVE: int;
def O_NOATIME
Show undocumented member
def O_NOATIME: int;
def O_NOCTTY
Show undocumented member
def O_NOCTTY: int;
def O_NOFOLLOW
Show undocumented member
def O_NOFOLLOW: int;
def O_NONBLOCK
Show undocumented member
def O_NONBLOCK: int;
def O_PATH
Show undocumented member
def O_PATH: int;
def O_RDWR
Show undocumented member
def O_RDWR: int;
def O_RSYNC
Show undocumented member
def O_RSYNC: int;
def O_SYNC
Show undocumented member
def O_SYNC: int;
def O_TMPFILE
Show undocumented member
def O_TMPFILE: int;
def O_TRUNC
Show undocumented member
def O_TRUNC: int;
def O_WRONLY
Show undocumented member
def O_WRONLY: int;
def PATH_MAX
Show undocumented member
def PATH_MAX: size;
def POLLERR
Show undocumented member
def POLLERR: i16;
def POLLHUP
Show undocumented member
def POLLHUP: i16;
def POLLIN
Show undocumented member
def POLLIN: i16;
def POLLOUT
Show undocumented member
def POLLOUT: i16;
def POLLPRI
Show undocumented member
def POLLPRI: i16;
def POLLVAL
Show undocumented member
def POLLVAL: i16;
def PRIO_PGRP
Show undocumented member
def PRIO_PGRP: int;
def PRIO_PROCESS
Show undocumented member
def PRIO_PROCESS: int;
def PRIO_USER
Show undocumented member
def PRIO_USER: int;
def PROT_EXEC
Show undocumented member
def PROT_EXEC: uint;
def PROT_GROWSDOWN
Show undocumented member
def PROT_GROWSDOWN: uint;
def PROT_GROWSUP
Show undocumented member
def PROT_GROWSUP: uint;
def PROT_NONE
Show undocumented member
def PROT_NONE: uint;
def PROT_READ
Show undocumented member
def PROT_READ: uint;
def PROT_WRITE
Show undocumented member
def PROT_WRITE: uint;
def PR_CAPBSET_DROP
Show undocumented member
def PR_CAPBSET_DROP: int;
def PR_CAPBSET_READ
Show undocumented member
def PR_CAPBSET_READ: int;
def PR_CAP_AMBIENT
Show undocumented member
def PR_CAP_AMBIENT: int;
def PR_CAP_AMBIENT_CLEAR_ALL
Show undocumented member
def PR_CAP_AMBIENT_CLEAR_ALL: u64;
def PR_CAP_AMBIENT_IS_SET
Show undocumented member
def PR_CAP_AMBIENT_IS_SET: u64;
def PR_CAP_AMBIENT_LOWER
Show undocumented member
def PR_CAP_AMBIENT_LOWER: u64;
def PR_CAP_AMBIENT_RAISE
Show undocumented member
def PR_CAP_AMBIENT_RAISE: u64;
def PR_ENDIAN_BIG
Show undocumented member
def PR_ENDIAN_BIG: u64;
def PR_ENDIAN_LITTLE
Show undocumented member
def PR_ENDIAN_LITTLE: u64;
def PR_ENDIAN_PPC_LITTLE
Show undocumented member
def PR_ENDIAN_PPC_LITTLE: u64;
def PR_FPEMU_NOPRINT
Show undocumented member
def PR_FPEMU_NOPRINT: u64;
def PR_FPEMU_SIGFPE
Show undocumented member
def PR_FPEMU_SIGFPE: u64;
def PR_FP_EXC_ASYNC
Show undocumented member
def PR_FP_EXC_ASYNC: u64;
def PR_FP_EXC_DISABLED
Show undocumented member
def PR_FP_EXC_DISABLED: u64;
def PR_FP_EXC_DIV
Show undocumented member
def PR_FP_EXC_DIV: u64;
def PR_FP_EXC_INV
Show undocumented member
def PR_FP_EXC_INV: u64;
def PR_FP_EXC_NONRECOV
Show undocumented member
def PR_FP_EXC_NONRECOV: u64;
def PR_FP_EXC_OVF
Show undocumented member
def PR_FP_EXC_OVF: u64;
def PR_FP_EXC_PRECISE
Show undocumented member
def PR_FP_EXC_PRECISE: u64;
def PR_FP_EXC_RES
Show undocumented member
def PR_FP_EXC_RES: u64;
def PR_FP_EXC_SW_ENABLE
Show undocumented member
def PR_FP_EXC_SW_ENABLE: u64;
def PR_FP_EXC_UND
Show undocumented member
def PR_FP_EXC_UND: u64;
def PR_FP_MODE_FR
Show undocumented member
def PR_FP_MODE_FR: u64;
def PR_FP_MODE_FRE
Show undocumented member
def PR_FP_MODE_FRE: u64;
def PR_GET_CHILD_SUBREAPER
Show undocumented member
def PR_GET_CHILD_SUBREAPER: int;
def PR_GET_DUMPABLE
Show undocumented member
def PR_GET_DUMPABLE: u64;
def PR_GET_ENDIAN
Show undocumented member
def PR_GET_ENDIAN: int;
def PR_GET_FPEMU
Show undocumented member
def PR_GET_FPEMU: int;
def PR_GET_FPEXC
Show undocumented member
def PR_GET_FPEXC: int;
def PR_GET_FP_MODE
Show undocumented member
def PR_GET_FP_MODE: int;
def PR_GET_IO_FLUSHER
Show undocumented member
def PR_GET_IO_FLUSHER: int;
def PR_GET_KEEPCAPS
Show undocumented member
def PR_GET_KEEPCAPS: int;
def PR_GET_NAME
Show undocumented member
def PR_GET_NAME: int;
def PR_GET_NO_NEW_PRIVS
Show undocumented member
def PR_GET_NO_NEW_PRIVS: int;
def PR_GET_PDEATHSIG
Show undocumented member
def PR_GET_PDEATHSIG: int;
def PR_GET_SECCOMP
Show undocumented member
def PR_GET_SECCOMP: int;
def PR_GET_SECUREBITS
Show undocumented member
def PR_GET_SECUREBITS: int;
def PR_GET_SPECULATION_CTRL
Show undocumented member
def PR_GET_SPECULATION_CTRL: int;
def PR_GET_TAGGED_ADDR_CTRL
Show undocumented member
def PR_GET_TAGGED_ADDR_CTRL: int;
def PR_GET_THP_DISABLE
Show undocumented member
def PR_GET_THP_DISABLE: int;
def PR_GET_TID_ADDRESS
Show undocumented member
def PR_GET_TID_ADDRESS: int;
def PR_GET_TIMERSLACK
Show undocumented member
def PR_GET_TIMERSLACK: int;
def PR_GET_TIMING
Show undocumented member
def PR_GET_TIMING: int;
def PR_GET_TSC
Show undocumented member
def PR_GET_TSC: int;
def PR_GET_UNALIGN
Show undocumented member
def PR_GET_UNALIGN: int;
def PR_MCE_KILL
Show undocumented member
def PR_MCE_KILL: int;
def PR_MCE_KILL_CLEAR
Show undocumented member
def PR_MCE_KILL_CLEAR: u64;
def PR_MCE_KILL_DEFAULT
Show undocumented member
def PR_MCE_KILL_DEFAULT: u64;
def PR_MCE_KILL_EARLY
Show undocumented member
def PR_MCE_KILL_EARLY: u64;
def PR_MCE_KILL_GET
Show undocumented member
def PR_MCE_KILL_GET: int;
def PR_MCE_KILL_LATE
Show undocumented member
def PR_MCE_KILL_LATE: u64;
def PR_MCE_KILL_SET
Show undocumented member
def PR_MCE_KILL_SET: u64;
def PR_MPX_DISABLE_MANAGEMENT
Show undocumented member
def PR_MPX_DISABLE_MANAGEMENT: int;
def PR_MPX_ENABLE_MANAGEMENT
Show undocumented member
def PR_MPX_ENABLE_MANAGEMENT: int;
def PR_MTE_TAG_MASK
Show undocumented member
def PR_MTE_TAG_MASK: u64;
def PR_MTE_TAG_SHIFT
Show undocumented member
def PR_MTE_TAG_SHIFT: u64;
def PR_MTE_TCF_ASYNC
Show undocumented member
def PR_MTE_TCF_ASYNC: u64;
def PR_MTE_TCF_MASK
Show undocumented member
def PR_MTE_TCF_MASK: u64;
def PR_MTE_TCF_NONE
Show undocumented member
def PR_MTE_TCF_NONE: u64;
def PR_MTE_TCF_SHIFT
Show undocumented member
def PR_MTE_TCF_SHIFT: u64;
def PR_MTE_TCF_SYNC
Show undocumented member
def PR_MTE_TCF_SYNC: u64;
def PR_PAC_APDAKEY
Show undocumented member
def PR_PAC_APDAKEY: u64;
def PR_PAC_APDBKEY
Show undocumented member
def PR_PAC_APDBKEY: u64;
def PR_PAC_APGAKEY
Show undocumented member
def PR_PAC_APGAKEY: u64;
def PR_PAC_APIAKEY
Show undocumented member
def PR_PAC_APIAKEY: u64;
def PR_PAC_APIBKEY
Show undocumented member
def PR_PAC_APIBKEY: u64;
def PR_PAC_RESET_KEYS
Show undocumented member
def PR_PAC_RESET_KEYS: int;
def PR_SET_CHILD_SUBREAPER
Show undocumented member
def PR_SET_CHILD_SUBREAPER: int;
def PR_SET_DUMPABLE
Show undocumented member
def PR_SET_DUMPABLE: int;
def PR_SET_ENDIAN
Show undocumented member
def PR_SET_ENDIAN: int;
def PR_SET_FPEMU
Show undocumented member
def PR_SET_FPEMU: int;
def PR_SET_FPEXC
Show undocumented member
def PR_SET_FPEXC: int;
def PR_SET_FP_MODE
Show undocumented member
def PR_SET_FP_MODE: int;
def PR_SET_IO_FLUSHER
Show undocumented member
def PR_SET_IO_FLUSHER: int;
def PR_SET_KEEPCAPS
Show undocumented member
def PR_SET_KEEPCAPS: int;
def PR_SET_MM
Show undocumented member
def PR_SET_MM: int;
def PR_SET_MM_ARG_END
Show undocumented member
def PR_SET_MM_ARG_END: u64;
def PR_SET_MM_ARG_START
Show undocumented member
def PR_SET_MM_ARG_START: u64;
def PR_SET_MM_AUXV
Show undocumented member
def PR_SET_MM_AUXV: u64;
def PR_SET_MM_BRK
Show undocumented member
def PR_SET_MM_BRK: u64;
def PR_SET_MM_END_CODE
Show undocumented member
def PR_SET_MM_END_CODE: u64;
def PR_SET_MM_END_DATA
Show undocumented member
def PR_SET_MM_END_DATA: u64;
def PR_SET_MM_ENV_END
Show undocumented member
def PR_SET_MM_ENV_END: u64;
def PR_SET_MM_ENV_START
Show undocumented member
def PR_SET_MM_ENV_START: u64;
def PR_SET_MM_EXE_FILE
Show undocumented member
def PR_SET_MM_EXE_FILE: u64;
def PR_SET_MM_MAP
Show undocumented member
def PR_SET_MM_MAP: u64;
def PR_SET_MM_MAP_SIZE
Show undocumented member
def PR_SET_MM_MAP_SIZE: u64;
def PR_SET_MM_START_BRK
Show undocumented member
def PR_SET_MM_START_BRK: u64;
def PR_SET_MM_START_CODE
Show undocumented member
def PR_SET_MM_START_CODE: u64;
def PR_SET_MM_START_DATA
Show undocumented member
def PR_SET_MM_START_DATA: u64;
def PR_SET_MM_START_STACK
Show undocumented member
def PR_SET_MM_START_STACK: u64;
def PR_SET_NAME
Show undocumented member
def PR_SET_NAME: int;
def PR_SET_NO_NEW_PRIVS
Show undocumented member
def PR_SET_NO_NEW_PRIVS: int;
def PR_SET_PDEATHSIG
Show undocumented member
def PR_SET_PDEATHSIG: int;
def PR_SET_PTRACER
Show undocumented member
def PR_SET_PTRACER: int;
def PR_SET_PTRACER_ANY
Show undocumented member
def PR_SET_PTRACER_ANY: u64;
def PR_SET_SECCOMP
Show undocumented member
def PR_SET_SECCOMP: int;
def PR_SET_SECUREBITS
Show undocumented member
def PR_SET_SECUREBITS: int;
def PR_SET_SPECULATION_CTRL
Show undocumented member
def PR_SET_SPECULATION_CTRL: int;
def PR_SET_SYSCALL_USER_DISPATCH
Show undocumented member
def PR_SET_SYSCALL_USER_DISPATCH: int;
def PR_SET_TAGGED_ADDR_CTRL
Show undocumented member
def PR_SET_TAGGED_ADDR_CTRL: int;
def PR_SET_THP_DISABLE
Show undocumented member
def PR_SET_THP_DISABLE: int;
def PR_SET_TIMERSLACK
Show undocumented member
def PR_SET_TIMERSLACK: int;
def PR_SET_TIMING
Show undocumented member
def PR_SET_TIMING: int;
def PR_SET_TSC
Show undocumented member
def PR_SET_TSC: int;
def PR_SET_UNALIGN
Show undocumented member
def PR_SET_UNALIGN: int;
def PR_SPEC_DISABLE
Show undocumented member
def PR_SPEC_DISABLE: u64;
def PR_SPEC_DISABLE_NOEXEC
Show undocumented member
def PR_SPEC_DISABLE_NOEXEC: u64;
def PR_SPEC_ENABLE
Show undocumented member
def PR_SPEC_ENABLE: u64;
def PR_SPEC_FORCE_DISABLE
Show undocumented member
def PR_SPEC_FORCE_DISABLE: u64;
def PR_SPEC_INDIRECT_BRANCH
Show undocumented member
def PR_SPEC_INDIRECT_BRANCH: u64;
def PR_SPEC_NOT_AFFECTED
Show undocumented member
def PR_SPEC_NOT_AFFECTED: u64;
def PR_SPEC_PRCTL
Show undocumented member
def PR_SPEC_PRCTL: u64;
def PR_SPEC_STORE_BYPASS
Show undocumented member
def PR_SPEC_STORE_BYPASS: u64;
def PR_SVE_GET_VL
Show undocumented member
def PR_SVE_GET_VL: int;
def PR_SVE_SET_VL
Show undocumented member
def PR_SVE_SET_VL: int;
def PR_SVE_SET_VL_ONEXEC
Show undocumented member
def PR_SVE_SET_VL_ONEXEC: u64;
def PR_SVE_VL_INHERIT
Show undocumented member
def PR_SVE_VL_INHERIT: u64;
def PR_SVE_VL_LEN_MASK
Show undocumented member
def PR_SVE_VL_LEN_MASK: u64;
def PR_SYS_DISPATCH_OFF
Show undocumented member
def PR_SYS_DISPATCH_OFF: u64;
def PR_SYS_DISPATCH_ON
Show undocumented member
def PR_SYS_DISPATCH_ON: u64;
def PR_TAGGED_ADDR_ENABLE
Show undocumented member
def PR_TAGGED_ADDR_ENABLE: u64;
def PR_TASK_PERF_EVENTS_DISABLE
Show undocumented member
def PR_TASK_PERF_EVENTS_DISABLE: int;
def PR_TASK_PERF_EVENTS_ENABLE
Show undocumented member
def PR_TASK_PERF_EVENTS_ENABLE: int;
def PR_TIMING_STATISTICAL
Show undocumented member
def PR_TIMING_STATISTICAL: u64;
def PR_TIMING_TIMESTAMP
Show undocumented member
def PR_TIMING_TIMESTAMP: u64;
def PR_TSC_ENABLE
Show undocumented member
def PR_TSC_ENABLE: u64;
def PR_TSC_SIGSEGV
Show undocumented member
def PR_TSC_SIGSEGV: u64;
def PR_UNALIGN_NOPRINT
Show undocumented member
def PR_UNALIGN_NOPRINT: u64;
def PR_UNALIGN_SIGBUS
Show undocumented member
def PR_UNALIGN_SIGBUS: u64;
def PTRACE_ATTACH
Show undocumented member
def PTRACE_ATTACH: int;
def PTRACE_CONT
Show undocumented member
def PTRACE_CONT: int;
def PTRACE_DETACH
Show undocumented member
def PTRACE_DETACH: int;
def PTRACE_EVENT_CLONE
Show undocumented member
def PTRACE_EVENT_CLONE: int;
def PTRACE_EVENT_EXEC
Show undocumented member
def PTRACE_EVENT_EXEC: int;
def PTRACE_EVENT_EXIT
Show undocumented member
def PTRACE_EVENT_EXIT: int;
def PTRACE_EVENT_FORK
Show undocumented member
def PTRACE_EVENT_FORK: int;
def PTRACE_EVENT_SECCOMP
Show undocumented member
def PTRACE_EVENT_SECCOMP: int;
def PTRACE_EVENT_STOP
Show undocumented member
def PTRACE_EVENT_STOP: int;
def PTRACE_EVENT_VFORK
Show undocumented member
def PTRACE_EVENT_VFORK: int;
def PTRACE_EVENT_VFORK_DONE
Show undocumented member
def PTRACE_EVENT_VFORK_DONE: int;
def PTRACE_GETEVENTMSG
Show undocumented member
def PTRACE_GETEVENTMSG: int;
def PTRACE_GETFPREGS
Show undocumented member
def PTRACE_GETFPREGS: int;
def PTRACE_GETFPXREGS
Show undocumented member
def PTRACE_GETFPXREGS: int;
def PTRACE_GETREGS
Show undocumented member
def PTRACE_GETREGS: int;
def PTRACE_GETREGSET
Show undocumented member
def PTRACE_GETREGSET: int;
def PTRACE_GETSIGINFO
Show undocumented member
def PTRACE_GETSIGINFO: int;
def PTRACE_GETSIGMASK
Show undocumented member
def PTRACE_GETSIGMASK: int;
def PTRACE_GET_RSEQ_CONFIGURATION
Show undocumented member
def PTRACE_GET_RSEQ_CONFIGURATION: int;
def PTRACE_GET_SYSCALL_INFO
Show undocumented member
def PTRACE_GET_SYSCALL_INFO: int;
def PTRACE_INTERRUPT
Show undocumented member
def PTRACE_INTERRUPT: int;
def PTRACE_KILL
Show undocumented member
def PTRACE_KILL: int;
def PTRACE_LISTEN
Show undocumented member
def PTRACE_LISTEN: int;
def PTRACE_O_EXITKILL
Show undocumented member
def PTRACE_O_EXITKILL: u64;
def PTRACE_O_MASK
Show undocumented member
def PTRACE_O_MASK: u64;
def PTRACE_O_SUSPEND_SECCOMP
Show undocumented member
def PTRACE_O_SUSPEND_SECCOMP: u64;
def PTRACE_O_TRACECLONE
Show undocumented member
def PTRACE_O_TRACECLONE: u64;
def PTRACE_O_TRACEEXEC
Show undocumented member
def PTRACE_O_TRACEEXEC: u64;
def PTRACE_O_TRACEEXIT
Show undocumented member
def PTRACE_O_TRACEEXIT: u64;
def PTRACE_O_TRACEFORK
Show undocumented member
def PTRACE_O_TRACEFORK: u64;
def PTRACE_O_TRACESECCOMP
Show undocumented member
def PTRACE_O_TRACESECCOMP: u64;
def PTRACE_O_TRACESYSGOOD
Show undocumented member
def PTRACE_O_TRACESYSGOOD: u64;
def PTRACE_O_TRACEVFORK
Show undocumented member
def PTRACE_O_TRACEVFORK: u64;
def PTRACE_O_TRACEVFORKDONE
Show undocumented member
def PTRACE_O_TRACEVFORKDONE: u64;
def PTRACE_PEEKDATA
Show undocumented member
def PTRACE_PEEKDATA: int;
def PTRACE_PEEKSIGINFO
Show undocumented member
def PTRACE_PEEKSIGINFO: int;
def PTRACE_PEEKSIGINFO_SHARED
Show undocumented member
def PTRACE_PEEKSIGINFO_SHARED: u32;
def PTRACE_PEEKTEXT
Show undocumented member
def PTRACE_PEEKTEXT: int;
def PTRACE_PEEKUSER
Show undocumented member
def PTRACE_PEEKUSER: int;
def PTRACE_POKEDATA
Show undocumented member
def PTRACE_POKEDATA: int;
def PTRACE_POKETEXT
Show undocumented member
def PTRACE_POKETEXT: int;
def PTRACE_POKEUSER
Show undocumented member
def PTRACE_POKEUSER: int;
def PTRACE_SECCOMP_GET_FILTER
Show undocumented member
def PTRACE_SECCOMP_GET_FILTER: int;
Show undocumented member
def PTRACE_SECCOMP_GET_METADATA: int;
def PTRACE_SEIZE
Show undocumented member
def PTRACE_SEIZE: int;
def PTRACE_SETFPREGS
Show undocumented member
def PTRACE_SETFPREGS: int;
def PTRACE_SETFPXREGS
Show undocumented member
def PTRACE_SETFPXREGS: int;
def PTRACE_SETOPTIONS
Show undocumented member
def PTRACE_SETOPTIONS: int;
def PTRACE_SETREGS
Show undocumented member
def PTRACE_SETREGS: int;
def PTRACE_SETREGSET
Show undocumented member
def PTRACE_SETREGSET: int;
def PTRACE_SETSIGINFO
Show undocumented member
def PTRACE_SETSIGINFO: int;
def PTRACE_SETSIGMASK
Show undocumented member
def PTRACE_SETSIGMASK: int;
def PTRACE_SINGLESTEP
Show undocumented member
def PTRACE_SINGLESTEP: int;
def PTRACE_SYSCALL
Show undocumented member
def PTRACE_SYSCALL: int;
def PTRACE_SYSCALL_INFO_ENTRY
Show undocumented member
def PTRACE_SYSCALL_INFO_ENTRY: u8;
def PTRACE_SYSCALL_INFO_EXIT
Show undocumented member
def PTRACE_SYSCALL_INFO_EXIT: u8;
def PTRACE_SYSCALL_INFO_NONE
Show undocumented member
def PTRACE_SYSCALL_INFO_NONE: u8;
def PTRACE_SYSCALL_INFO_SECCOMP
Show undocumented member
def PTRACE_SYSCALL_INFO_SECCOMP: u8;
def PTRACE_TRACEME
Show undocumented member
def PTRACE_TRACEME: int;
def RESOLVE_BENEATH
Show undocumented member
def RESOLVE_BENEATH: u64;
def RESOLVE_IN_ROOT
Show undocumented member
def RESOLVE_IN_ROOT: u64;
def RESOLVE_NO_MAGICLINKS
Show undocumented member
def RESOLVE_NO_MAGICLINKS: u64;
def RESOLVE_NO_SYMLINKS
Show undocumented member
def RESOLVE_NO_SYMLINKS: u64;
def RESOLVE_NO_XDEV
Show undocumented member
def RESOLVE_NO_XDEV: u64;
def RLIMIT_AS
Show undocumented member
def RLIMIT_AS: int;
def RLIMIT_CORE
Show undocumented member
def RLIMIT_CORE: int;
def RLIMIT_CPU
Show undocumented member
def RLIMIT_CPU: int;
def RLIMIT_DATA
Show undocumented member
def RLIMIT_DATA: int;
def RLIMIT_FSIZE
Show undocumented member
def RLIMIT_FSIZE: int;
def RLIMIT_LOCKS
Show undocumented member
def RLIMIT_LOCKS: int;
def RLIMIT_MEMLOCK
Show undocumented member
def RLIMIT_MEMLOCK: int;
def RLIMIT_MSGQUEUE
Show undocumented member
def RLIMIT_MSGQUEUE: int;
def RLIMIT_NICE
Show undocumented member
def RLIMIT_NICE: int;
def RLIMIT_NLIMITS
Show undocumented member
def RLIMIT_NLIMITS: int;
def RLIMIT_NOFILE
Show undocumented member
def RLIMIT_NOFILE: int;
def RLIMIT_NPROC
Show undocumented member
def RLIMIT_NPROC: int;
Show undocumented member
def RLIMIT_RSS: int;
def RLIMIT_RTPRIO
Show undocumented member
def RLIMIT_RTPRIO: int;
def RLIMIT_RTTIME
Show undocumented member
def RLIMIT_RTTIME: int;
def RLIMIT_SIGPENDING
Show undocumented member
def RLIMIT_SIGPENDING: int;
def RLIMIT_STACK
Show undocumented member
def RLIMIT_STACK: int;
def R_OK
Show undocumented member
def R_OK: int;
def SA_NOCLDSTOP
Show undocumented member
def SA_NOCLDSTOP: u64;
def SA_NOCLDWAIT
Show undocumented member
def SA_NOCLDWAIT: u64;
def SA_NODEFER
Show undocumented member
def SA_NODEFER: u64;
def SA_NOMASK
Show undocumented member
def SA_NOMASK: u64;
def SA_ONESHOT
Show undocumented member
def SA_ONESHOT: u64;
def SA_ONSTACK
Show undocumented member
def SA_ONSTACK: u64;
def SA_RESETHAND
Show undocumented member
def SA_RESETHAND: u64;
def SA_RESTART
Show undocumented member
def SA_RESTART: u64;
def SA_RESTORER
Show undocumented member
def SA_RESTORER: u64;
def SA_SIGINFO
Show undocumented member
def SA_SIGINFO: u64;
def SCM_CREDENTIALS
Show undocumented member
def SCM_CREDENTIALS: int;
def SCM_RIGHTS
Show undocumented member
def SCM_RIGHTS: int;
def SEEK_CUR
Show undocumented member
def SEEK_CUR: int;
def SEEK_END
Show undocumented member
def SEEK_END: int;
def SEEK_SET
Show undocumented member
def SEEK_SET: int;
def SFD_CLOEXEC
Show undocumented member
def SFD_CLOEXEC: int;
def SFD_NONBLOCK
Show undocumented member
def SFD_NONBLOCK: int;
def SHUT_RD
Show undocumented member
def SHUT_RD: int;
def SHUT_RDWR
Show undocumented member
def SHUT_RDWR: int;
def SHUT_WR
Show undocumented member
def SHUT_WR: int;
def SIGABRT
Show undocumented member
def SIGABRT: int;
def SIGALRM
Show undocumented member
def SIGALRM: int;
def SIGBUS
Show undocumented member
def SIGBUS: int;
def SIGCHLD
Show undocumented member
def SIGCHLD: int;
def SIGCONT
Show undocumented member
def SIGCONT: int;
def SIGFPE
Show undocumented member
def SIGFPE: int;
def SIGHUP
Show undocumented member
def SIGHUP: int;
def SIGILL
Show undocumented member
def SIGILL: int;
def SIGINT
Show undocumented member
def SIGINT: int;
def SIGIO
Show undocumented member
def SIGIO: int;
def SIGKILL
Show undocumented member
def SIGKILL: int;
def SIGPIPE
Show undocumented member
def SIGPIPE: int;
def SIGPOLL
Show undocumented member
def SIGPOLL: int;
def SIGPROF
Show undocumented member
def SIGPROF: int;
def SIGPWR
Show undocumented member
def SIGPWR: int;
def SIGQUIT
Show undocumented member
def SIGQUIT: int;
def SIGSEGV
Show undocumented member
def SIGSEGV: int;
def SIGSTKFLT
Show undocumented member
def SIGSTKFLT: int;
def SIGSTOP
Show undocumented member
def SIGSTOP: int;
def SIGSYS
Show undocumented member
def SIGSYS: int;
def SIGTERM
Show undocumented member
def SIGTERM: int;
def SIGTRAP
Show undocumented member
def SIGTRAP: int;
def SIGTSTP
Show undocumented member
def SIGTSTP: int;
def SIGTTIN
Show undocumented member
def SIGTTIN: int;
def SIGTTOU
Show undocumented member
def SIGTTOU: int;
def SIGURG
Show undocumented member
def SIGURG: int;
def SIGUSR1
Show undocumented member
def SIGUSR1: int;
def SIGUSR2
Show undocumented member
def SIGUSR2: int;
def SIGVTALRM
Show undocumented member
def SIGVTALRM: int;
def SIGWINCH
Show undocumented member
def SIGWINCH: int;
def SIGXCPU
Show undocumented member
def SIGXCPU: int;
def SIGXFSZ
Show undocumented member
def SIGXFSZ: int;
def SIG_BLOCK
Show undocumented member
def SIG_BLOCK: int;
def SIG_DFL
Show undocumented member
def SIG_DFL: uintptr;
def SIG_ERR
Show undocumented member
def SIG_ERR: uintptr;
def SIG_HOLD
Show undocumented member
def SIG_HOLD: uintptr;
def SIG_IGN
Show undocumented member
def SIG_IGN: uintptr;
def SIG_SETMASK
Show undocumented member
def SIG_SETMASK: int;
def SIG_UNBLOCK
Show undocumented member
def SIG_UNBLOCK: int;
def SOCK_CLOEXEC
Show undocumented member
def SOCK_CLOEXEC: int;
def SOCK_DCCP
Show undocumented member
def SOCK_DCCP: int;
def SOCK_DGRAM
Show undocumented member
def SOCK_DGRAM: int;
def SOCK_NONBLOCK
Show undocumented member
def SOCK_NONBLOCK: int;
def SOCK_PACKET
Show undocumented member
def SOCK_PACKET: int;
def SOCK_RAW
Show undocumented member
def SOCK_RAW: int;
def SOCK_RDM
Show undocumented member
def SOCK_RDM: int;
def SOCK_SEQPACKET
Show undocumented member
def SOCK_SEQPACKET: int;
def SO_BROADCAST
Show undocumented member
def SO_BROADCAST: int;
def SO_BSDCOMPAT
Show undocumented member
def SO_BSDCOMPAT: int;
def SO_DONTROUTE
Show undocumented member
def SO_DONTROUTE: int;
def SO_ERROR
Show undocumented member
def SO_ERROR: int;
def SO_KEEPALIVE
Show undocumented member
def SO_KEEPALIVE: int;
def SO_LINGER
Show undocumented member
def SO_LINGER: int;
def SO_NO_CHECK
Show undocumented member
def SO_NO_CHECK: int;
def SO_OOBINLINE
Show undocumented member
def SO_OOBINLINE: int;
def SO_PEERCRED
Show undocumented member
def SO_PEERCRED: int;
def SO_PRIORITY
Show undocumented member
def SO_PRIORITY: int;
def SO_RCVBUF
Show undocumented member
def SO_RCVBUF: int;
def SO_RCVBUFFORCE
Show undocumented member
def SO_RCVBUFFORCE: int;
def SO_RCVLOWAT
Show undocumented member
def SO_RCVLOWAT: int;
def SO_RCVTIMEO_OLD
Show undocumented member
def SO_RCVTIMEO_OLD: int;
def SO_REUSEADDR
Show undocumented member
def SO_REUSEADDR: int;
def SO_REUSEPORT
Show undocumented member
def SO_REUSEPORT: int;
def SO_SNDBUF
Show undocumented member
def SO_SNDBUF: int;
def SO_SNDBUFFORCE
Show undocumented member
def SO_SNDBUFFORCE: int;
def SO_SNDLOWAT
Show undocumented member
def SO_SNDLOWAT: int;
def SO_SNDTIMEO_OLD
Show undocumented member
def SO_SNDTIMEO_OLD: int;
def SO_TYPE
Show undocumented member
def SO_TYPE: int;
def SPLICE_F_GIFT
Show undocumented member
def SPLICE_F_GIFT: uint;
def SPLICE_F_MORE
Show undocumented member
def SPLICE_F_MORE: uint;
def SPLICE_F_MOVE
Show undocumented member
def SPLICE_F_MOVE: uint;
def SPLICE_F_NONBLOCK
Show undocumented member
def SPLICE_F_NONBLOCK: uint;
def STDERR_FILENO
Show undocumented member
def STDERR_FILENO: int;
def STDIN_FILENO
Show undocumented member
def STDIN_FILENO: int;
def STDOUT_FILENO
Show undocumented member
def STDOUT_FILENO: int;
def SYSCALL_DISPATCH_FILTER_ALLOW
Show undocumented member
def SYSCALL_DISPATCH_FILTER_ALLOW: u64;
def SYSCALL_DISPATCH_FILTER_BLOCK
Show undocumented member
def SYSCALL_DISPATCH_FILTER_BLOCK: u64;
def SYS__sysctl
Show undocumented member
def SYS__sysctl: u64;
def SYS_accept
Show undocumented member
def SYS_accept: u64;
def SYS_accept4
Show undocumented member
def SYS_accept4: u64;
def SYS_access
Show undocumented member
def SYS_access: u64;
def SYS_acct
Show undocumented member
def SYS_acct: u64;
def SYS_add_key
Show undocumented member
def SYS_add_key: u64;
def SYS_adjtimex
Show undocumented member
def SYS_adjtimex: u64;
def SYS_afs_syscall
Show undocumented member
def SYS_afs_syscall: u64;
def SYS_alarm
Show undocumented member
def SYS_alarm: u64;
def SYS_arch_prctl
Show undocumented member
def SYS_arch_prctl: u64;
def SYS_bind
Show undocumented member
def SYS_bind: u64;
def SYS_bpf
Show undocumented member
def SYS_bpf: u64;
def SYS_brk
Show undocumented member
def SYS_brk: u64;
def SYS_capget
Show undocumented member
def SYS_capget: u64;
def SYS_capset
Show undocumented member
def SYS_capset: u64;
def SYS_chdir
Show undocumented member
def SYS_chdir: u64;
def SYS_chmod
Show undocumented member
def SYS_chmod: u64;
def SYS_chown
Show undocumented member
def SYS_chown: u64;
def SYS_chroot
Show undocumented member
def SYS_chroot: u64;
def SYS_clock_adjtime
Show undocumented member
def SYS_clock_adjtime: u64;
def SYS_clock_getres
Show undocumented member
def SYS_clock_getres: u64;
def SYS_clock_gettime
Show undocumented member
def SYS_clock_gettime: u64;
def SYS_clock_nanosleep
Show undocumented member
def SYS_clock_nanosleep: u64;
def SYS_clock_settime
Show undocumented member
def SYS_clock_settime: u64;
def SYS_clone
Show undocumented member
def SYS_clone: u64;
def SYS_close
Show undocumented member
def SYS_close: u64;
def SYS_connect
Show undocumented member
def SYS_connect: u64;
def SYS_copy_file_range
Show undocumented member
def SYS_copy_file_range: u64;
def SYS_creat
Show undocumented member
def SYS_creat: u64;
def SYS_create_module
Show undocumented member
def SYS_create_module: u64;
def SYS_delete_module
Show undocumented member
def SYS_delete_module: u64;
def SYS_dup
Show undocumented member
def SYS_dup: u64;
def SYS_dup2
Show undocumented member
def SYS_dup2: u64;
def SYS_dup3
Show undocumented member
def SYS_dup3: u64;
def SYS_epoll_create
Show undocumented member
def SYS_epoll_create: u64;
def SYS_epoll_create1
Show undocumented member
def SYS_epoll_create1: u64;
def SYS_epoll_ctl
Show undocumented member
def SYS_epoll_ctl: u64;
def SYS_epoll_ctl_old
Show undocumented member
def SYS_epoll_ctl_old: u64;
def SYS_epoll_pwait
Show undocumented member
def SYS_epoll_pwait: u64;
def SYS_epoll_wait
Show undocumented member
def SYS_epoll_wait: u64;
def SYS_epoll_wait_old
Show undocumented member
def SYS_epoll_wait_old: u64;
def SYS_eventfd
Show undocumented member
def SYS_eventfd: u64;
def SYS_eventfd2
Show undocumented member
def SYS_eventfd2: u64;
def SYS_execve
Show undocumented member
def SYS_execve: u64;
def SYS_execveat
Show undocumented member
def SYS_execveat: u64;
def SYS_exit
Show undocumented member
def SYS_exit: u64;
def SYS_exit_group
Show undocumented member
def SYS_exit_group: u64;
def SYS_faccessat
Show undocumented member
def SYS_faccessat: u64;
def SYS_faccessat2
Show undocumented member
def SYS_faccessat2: u64;
def SYS_fadvise64
Show undocumented member
def SYS_fadvise64: u64;
def SYS_fallocate
Show undocumented member
def SYS_fallocate: u64;
def SYS_fanotify_init
Show undocumented member
def SYS_fanotify_init: u64;
def SYS_fanotify_mark
Show undocumented member
def SYS_fanotify_mark: u64;
def SYS_fchdir
Show undocumented member
def SYS_fchdir: u64;
def SYS_fchmod
Show undocumented member
def SYS_fchmod: u64;
def SYS_fchmodat
Show undocumented member
def SYS_fchmodat: u64;
def SYS_fchown
Show undocumented member
def SYS_fchown: u64;
def SYS_fchownat
Show undocumented member
def SYS_fchownat: u64;
def SYS_fcntl
Show undocumented member
def SYS_fcntl: u64;
def SYS_fdatasync
Show undocumented member
def SYS_fdatasync: u64;
def SYS_fgetxattr
Show undocumented member
def SYS_fgetxattr: u64;
def SYS_finit_module
Show undocumented member
def SYS_finit_module: u64;
def SYS_flistxattr
Show undocumented member
def SYS_flistxattr: u64;
def SYS_flock
Show undocumented member
def SYS_flock: u64;
def SYS_fork
Show undocumented member
def SYS_fork: u64;
def SYS_fremovexattr
Show undocumented member
def SYS_fremovexattr: u64;
def SYS_fsconfig
Show undocumented member
def SYS_fsconfig: u64;
def SYS_fsetxattr
Show undocumented member
def SYS_fsetxattr: u64;
def SYS_fsmount
Show undocumented member
def SYS_fsmount: u64;
def SYS_fsopen
Show undocumented member
def SYS_fsopen: u64;
def SYS_fspick
Show undocumented member
def SYS_fspick: u64;
def SYS_fstat
Show undocumented member
def SYS_fstat: u64;
def SYS_fstatfs
Show undocumented member
def SYS_fstatfs: u64;
def SYS_fsync
Show undocumented member
def SYS_fsync: u64;
def SYS_ftruncate
Show undocumented member
def SYS_ftruncate: u64;
def SYS_futex
Show undocumented member
def SYS_futex: u64;
def SYS_futimesat
Show undocumented member
def SYS_futimesat: u64;
def SYS_get_kernel_syms
Show undocumented member
def SYS_get_kernel_syms: u64;
def SYS_get_mempolicy
Show undocumented member
def SYS_get_mempolicy: u64;
def SYS_get_robust_list
Show undocumented member
def SYS_get_robust_list: u64;
def SYS_get_thread_area
Show undocumented member
def SYS_get_thread_area: u64;
def SYS_getcpu
Show undocumented member
def SYS_getcpu: u64;
def SYS_getcwd
Show undocumented member
def SYS_getcwd: u64;
def SYS_getdents
Show undocumented member
def SYS_getdents: u64;
def SYS_getdents64
Show undocumented member
def SYS_getdents64: u64;
def SYS_getegid
Show undocumented member
def SYS_getegid: u64;
def SYS_geteuid
Show undocumented member
def SYS_geteuid: u64;
def SYS_getgid
Show undocumented member
def SYS_getgid: u64;
def SYS_getgroups
Show undocumented member
def SYS_getgroups: u64;
def SYS_getitimer
Show undocumented member
def SYS_getitimer: u64;
def SYS_getpeername
Show undocumented member
def SYS_getpeername: u64;
def SYS_getpgid
Show undocumented member
def SYS_getpgid: u64;
def SYS_getpgrp
Show undocumented member
def SYS_getpgrp: u64;
def SYS_getpid
Show undocumented member
def SYS_getpid: u64;
def SYS_getpmsg
Show undocumented member
def SYS_getpmsg: u64;
def SYS_getppid
Show undocumented member
def SYS_getppid: u64;
def SYS_getpriority
Show undocumented member
def SYS_getpriority: u64;
def SYS_getrandom
Show undocumented member
def SYS_getrandom: u64;
def SYS_getresgid
Show undocumented member
def SYS_getresgid: u64;
def SYS_getresuid
Show undocumented member
def SYS_getresuid: u64;
def SYS_getrlimit
Show undocumented member
def SYS_getrlimit: u64;
def SYS_getrusage
Show undocumented member
def SYS_getrusage: u64;
def SYS_getsid
Show undocumented member
def SYS_getsid: u64;
def SYS_getsockname
Show undocumented member
def SYS_getsockname: u64;
def SYS_getsockopt
Show undocumented member
def SYS_getsockopt: u64;
def SYS_gettid
Show undocumented member
def SYS_gettid: u64;
def SYS_gettimeofday
Show undocumented member
def SYS_gettimeofday: u64;
def SYS_getuid
Show undocumented member
def SYS_getuid: u64;
def SYS_getxattr
Show undocumented member
def SYS_getxattr: u64;
def SYS_init_module
Show undocumented member
def SYS_init_module: u64;
def SYS_inotify_add_watch
Show undocumented member
def SYS_inotify_add_watch: u64;
def SYS_inotify_init
Show undocumented member
def SYS_inotify_init: u64;
def SYS_inotify_init1
Show undocumented member
def SYS_inotify_init1: u64;
def SYS_inotify_rm_watch
Show undocumented member
def SYS_inotify_rm_watch: u64;
def SYS_io_cancel
Show undocumented member
def SYS_io_cancel: u64;
def SYS_io_destroy
Show undocumented member
def SYS_io_destroy: u64;
def SYS_io_getevents
Show undocumented member
def SYS_io_getevents: u64;
def SYS_io_pgetevents
Show undocumented member
def SYS_io_pgetevents: u64;
def SYS_io_setup
Show undocumented member
def SYS_io_setup: u64;
def SYS_io_submit
Show undocumented member
def SYS_io_submit: u64;
def SYS_io_uring_enter
Show undocumented member
def SYS_io_uring_enter: u64;
def SYS_io_uring_register
Show undocumented member
def SYS_io_uring_register: u64;
def SYS_io_uring_setup
Show undocumented member
def SYS_io_uring_setup: u64;
def SYS_ioctl
Show undocumented member
def SYS_ioctl: u64;
def SYS_ioperm
Show undocumented member
def SYS_ioperm: u64;
def SYS_iopl
Show undocumented member
def SYS_iopl: u64;
def SYS_ioprio_get
Show undocumented member
def SYS_ioprio_get: u64;
def SYS_ioprio_set
Show undocumented member
def SYS_ioprio_set: u64;
def SYS_kcmp
Show undocumented member
def SYS_kcmp: u64;
def SYS_kexec_file_load
Show undocumented member
def SYS_kexec_file_load: u64;
def SYS_kexec_load
Show undocumented member
def SYS_kexec_load: u64;
def SYS_keyctl
Show undocumented member
def SYS_keyctl: u64;
def SYS_kill
Show undocumented member
def SYS_kill: u64;
def SYS_lchown
Show undocumented member
def SYS_lchown: u64;
def SYS_lgetxattr
Show undocumented member
def SYS_lgetxattr: u64;
def SYS_link
Show undocumented member
def SYS_link: u64;
def SYS_linkat
Show undocumented member
def SYS_linkat: u64;
def SYS_listen
Show undocumented member
def SYS_listen: u64;
def SYS_listxattr
Show undocumented member
def SYS_listxattr: u64;
def SYS_llistxattr
Show undocumented member
def SYS_llistxattr: u64;
def SYS_lookup_dcookie
Show undocumented member
def SYS_lookup_dcookie: u64;
def SYS_lremovexattr
Show undocumented member
def SYS_lremovexattr: u64;
def SYS_lseek
Show undocumented member
def SYS_lseek: u64;
def SYS_lsetxattr
Show undocumented member
def SYS_lsetxattr: u64;
def SYS_lstat
Show undocumented member
def SYS_lstat: u64;
def SYS_madvise
Show undocumented member
def SYS_madvise: u64;
def SYS_mbind
Show undocumented member
def SYS_mbind: u64;
def SYS_membarrier
Show undocumented member
def SYS_membarrier: u64;
def SYS_memfd_create
Show undocumented member
def SYS_memfd_create: u64;
def SYS_migrate_pages
Show undocumented member
def SYS_migrate_pages: u64;
def SYS_mincore
Show undocumented member
def SYS_mincore: u64;
def SYS_mkdir
Show undocumented member
def SYS_mkdir: u64;
def SYS_mkdirat
Show undocumented member
def SYS_mkdirat: u64;
def SYS_mknod
Show undocumented member
def SYS_mknod: u64;
def SYS_mknodat
Show undocumented member
def SYS_mknodat: u64;
def SYS_mlock
Show undocumented member
def SYS_mlock: u64;
def SYS_mlock2
Show undocumented member
def SYS_mlock2: u64;
def SYS_mlockall
Show undocumented member
def SYS_mlockall: u64;
def SYS_mmap
Show undocumented member
def SYS_mmap: u64;
def SYS_modify_ldt
Show undocumented member
def SYS_modify_ldt: u64;
def SYS_mount
Show undocumented member
def SYS_mount: u64;
def SYS_move_mount
Show undocumented member
def SYS_move_mount: u64;
def SYS_move_pages
Show undocumented member
def SYS_move_pages: u64;
def SYS_mprotect
Show undocumented member
def SYS_mprotect: u64;
def SYS_mq_getsetattr
Show undocumented member
def SYS_mq_getsetattr: u64;
def SYS_mq_notify
Show undocumented member
def SYS_mq_notify: u64;
def SYS_mq_open
Show undocumented member
def SYS_mq_open: u64;
def SYS_mq_timedreceive
Show undocumented member
def SYS_mq_timedreceive: u64;
def SYS_mq_timedsend
Show undocumented member
def SYS_mq_timedsend: u64;
def SYS_mq_unlink
Show undocumented member
def SYS_mq_unlink: u64;
def SYS_mremap
Show undocumented member
def SYS_mremap: u64;
def SYS_msgctl
Show undocumented member
def SYS_msgctl: u64;
def SYS_msgget
Show undocumented member
def SYS_msgget: u64;
def SYS_msgrcv
Show undocumented member
def SYS_msgrcv: u64;
def SYS_msgsnd
Show undocumented member
def SYS_msgsnd: u64;
def SYS_msync
Show undocumented member
def SYS_msync: u64;
def SYS_munlock
Show undocumented member
def SYS_munlock: u64;
def SYS_munlockall
Show undocumented member
def SYS_munlockall: u64;
def SYS_munmap
Show undocumented member
def SYS_munmap: u64;
def SYS_name_to_handle_at
Show undocumented member
def SYS_name_to_handle_at: u64;
def SYS_nanosleep
Show undocumented member
def SYS_nanosleep: u64;
def SYS_newfstatat
Show undocumented member
def SYS_newfstatat: u64;
def SYS_nfsservctl
Show undocumented member
def SYS_nfsservctl: u64;
def SYS_open
Show undocumented member
def SYS_open: u64;
def SYS_open_by_handle_at
Show undocumented member
def SYS_open_by_handle_at: u64;
def SYS_open_tree
Show undocumented member
def SYS_open_tree: u64;
def SYS_openat
Show undocumented member
def SYS_openat: u64;
def SYS_openat2
Show undocumented member
def SYS_openat2: u64;
def SYS_pause
Show undocumented member
def SYS_pause: u64;
def SYS_perf_event_open
Show undocumented member
def SYS_perf_event_open: u64;
def SYS_personality
Show undocumented member
def SYS_personality: u64;
def SYS_pidfd_send_signal
Show undocumented member
def SYS_pidfd_send_signal: u64;
def SYS_pipe
Show undocumented member
def SYS_pipe: u64;
def SYS_pipe2
Show undocumented member
def SYS_pipe2: u64;
def SYS_pivot_root
Show undocumented member
def SYS_pivot_root: u64;
def SYS_pkey_alloc
Show undocumented member
def SYS_pkey_alloc: u64;
def SYS_pkey_free
Show undocumented member
def SYS_pkey_free: u64;
def SYS_pkey_mprotect
Show undocumented member
def SYS_pkey_mprotect: u64;
def SYS_poll
Show undocumented member
def SYS_poll: u64;
def SYS_ppoll
Show undocumented member
def SYS_ppoll: u64;
def SYS_prctl
Show undocumented member
def SYS_prctl: u64;
def SYS_pread64
Show undocumented member
def SYS_pread64: u64;
def SYS_preadv
Show undocumented member
def SYS_preadv: u64;
def SYS_preadv2
Show undocumented member
def SYS_preadv2: u64;
def SYS_prlimit64
Show undocumented member
def SYS_prlimit64: u64;
def SYS_process_vm_readv
Show undocumented member
def SYS_process_vm_readv: u64;
def SYS_process_vm_writev
Show undocumented member
def SYS_process_vm_writev: u64;
def SYS_pselect6
Show undocumented member
def SYS_pselect6: u64;
def SYS_ptrace
Show undocumented member
def SYS_ptrace: u64;
def SYS_putpmsg
Show undocumented member
def SYS_putpmsg: u64;
def SYS_pwrite64
Show undocumented member
def SYS_pwrite64: u64;
def SYS_pwritev
Show undocumented member
def SYS_pwritev: u64;
def SYS_pwritev2
Show undocumented member
def SYS_pwritev2: u64;
def SYS_query_module
Show undocumented member
def SYS_query_module: u64;
def SYS_quotactl
Show undocumented member
def SYS_quotactl: u64;
def SYS_read
Show undocumented member
def SYS_read: u64;
def SYS_readahead
Show undocumented member
def SYS_readahead: u64;
def SYS_readlink
Show undocumented member
def SYS_readlink: u64;
def SYS_readlinkat
Show undocumented member
def SYS_readlinkat: u64;
def SYS_readv
Show undocumented member
def SYS_readv: u64;
def SYS_reboot
Show undocumented member
def SYS_reboot: u64;
def SYS_recvfrom
Show undocumented member
def SYS_recvfrom: u64;
def SYS_recvmmsg
Show undocumented member
def SYS_recvmmsg: u64;
def SYS_recvmsg
Show undocumented member
def SYS_recvmsg: u64;
def SYS_remap_file_pages
Show undocumented member
def SYS_remap_file_pages: u64;
def SYS_removexattr
Show undocumented member
def SYS_removexattr: u64;
def SYS_rename
Show undocumented member
def SYS_rename: u64;
def SYS_renameat
Show undocumented member
def SYS_renameat: u64;
def SYS_renameat2
Show undocumented member
def SYS_renameat2: u64;
def SYS_request_key
Show undocumented member
def SYS_request_key: u64;
def SYS_restart_syscall
Show undocumented member
def SYS_restart_syscall: u64;
def SYS_rmdir
Show undocumented member
def SYS_rmdir: u64;
def SYS_rseq
Show undocumented member
def SYS_rseq: u64;
def SYS_rt_sigaction
Show undocumented member
def SYS_rt_sigaction: u64;
def SYS_rt_sigpending
Show undocumented member
def SYS_rt_sigpending: u64;
def SYS_rt_sigprocmask
Show undocumented member
def SYS_rt_sigprocmask: u64;
def SYS_rt_sigqueueinfo
Show undocumented member
def SYS_rt_sigqueueinfo: u64;
def SYS_rt_sigreturn
Show undocumented member
def SYS_rt_sigreturn: u64;
def SYS_rt_sigsuspend
Show undocumented member
def SYS_rt_sigsuspend: u64;
def SYS_rt_sigtimedwait
Show undocumented member
def SYS_rt_sigtimedwait: u64;
def SYS_rt_tgsigqueueinfo
Show undocumented member
def SYS_rt_tgsigqueueinfo: u64;
def SYS_sched_get_priority_max
Show undocumented member
def SYS_sched_get_priority_max: u64;
def SYS_sched_get_priority_min
Show undocumented member
def SYS_sched_get_priority_min: u64;
def SYS_sched_getaffinity
Show undocumented member
def SYS_sched_getaffinity: u64;
def SYS_sched_getattr
Show undocumented member
def SYS_sched_getattr: u64;
def SYS_sched_getparam
Show undocumented member
def SYS_sched_getparam: u64;
def SYS_sched_getscheduler
Show undocumented member
def SYS_sched_getscheduler: u64;
def SYS_sched_rr_get_interval
Show undocumented member
def SYS_sched_rr_get_interval: u64;
def SYS_sched_setaffinity
Show undocumented member
def SYS_sched_setaffinity: u64;
def SYS_sched_setattr
Show undocumented member
def SYS_sched_setattr: u64;
def SYS_sched_setparam
Show undocumented member
def SYS_sched_setparam: u64;
def SYS_sched_setscheduler
Show undocumented member
def SYS_sched_setscheduler: u64;
def SYS_sched_yield
Show undocumented member
def SYS_sched_yield: u64;
def SYS_seccomp
Show undocumented member
def SYS_seccomp: u64;
def SYS_security
Show undocumented member
def SYS_security: u64;
def SYS_select
Show undocumented member
def SYS_select: u64;
def SYS_semctl
Show undocumented member
def SYS_semctl: u64;
def SYS_semget
Show undocumented member
def SYS_semget: u64;
def SYS_semop
Show undocumented member
def SYS_semop: u64;
def SYS_semtimedop
Show undocumented member
def SYS_semtimedop: u64;
def SYS_sendfile
Show undocumented member
def SYS_sendfile: u64;
def SYS_sendmmsg
Show undocumented member
def SYS_sendmmsg: u64;
def SYS_sendmsg
Show undocumented member
def SYS_sendmsg: u64;
def SYS_sendto
Show undocumented member
def SYS_sendto: u64;
def SYS_set_mempolicy
Show undocumented member
def SYS_set_mempolicy: u64;
def SYS_set_robust_list
Show undocumented member
def SYS_set_robust_list: u64;
def SYS_set_thread_area
Show undocumented member
def SYS_set_thread_area: u64;
def SYS_set_tid_address
Show undocumented member
def SYS_set_tid_address: u64;
def SYS_setdomainname
Show undocumented member
def SYS_setdomainname: u64;
def SYS_setfsgid
Show undocumented member
def SYS_setfsgid: u64;
def SYS_setfsuid
Show undocumented member
def SYS_setfsuid: u64;
def SYS_setgid
Show undocumented member
def SYS_setgid: u64;
def SYS_setgroups
Show undocumented member
def SYS_setgroups: u64;
def SYS_sethostname
Show undocumented member
def SYS_sethostname: u64;
def SYS_setitimer
Show undocumented member
def SYS_setitimer: u64;
def SYS_setns
Show undocumented member
def SYS_setns: u64;
def SYS_setpgid
Show undocumented member
def SYS_setpgid: u64;
def SYS_setpriority
Show undocumented member
def SYS_setpriority: u64;
def SYS_setregid
Show undocumented member
def SYS_setregid: u64;
def SYS_setresgid
Show undocumented member
def SYS_setresgid: u64;
def SYS_setresuid
Show undocumented member
def SYS_setresuid: u64;
def SYS_setreuid
Show undocumented member
def SYS_setreuid: u64;
def SYS_setrlimit
Show undocumented member
def SYS_setrlimit: u64;
def SYS_setsid
Show undocumented member
def SYS_setsid: u64;
def SYS_setsockopt
Show undocumented member
def SYS_setsockopt: u64;
def SYS_settimeofday
Show undocumented member
def SYS_settimeofday: u64;
def SYS_setuid
Show undocumented member
def SYS_setuid: u64;
def SYS_setxattr
Show undocumented member
def SYS_setxattr: u64;
def SYS_shmat
Show undocumented member
def SYS_shmat: u64;
def SYS_shmctl
Show undocumented member
def SYS_shmctl: u64;
def SYS_shmdt
Show undocumented member
def SYS_shmdt: u64;
def SYS_shmget
Show undocumented member
def SYS_shmget: u64;
def SYS_shutdown
Show undocumented member
def SYS_shutdown: u64;
def SYS_sigaltstack
Show undocumented member
def SYS_sigaltstack: u64;
def SYS_signalfd
Show undocumented member
def SYS_signalfd: u64;
def SYS_signalfd4
Show undocumented member
def SYS_signalfd4: u64;
def SYS_socket
Show undocumented member
def SYS_socket: u64;
def SYS_socketpair
Show undocumented member
def SYS_socketpair: u64;
def SYS_splice
Show undocumented member
def SYS_splice: u64;
def SYS_stat
Show undocumented member
def SYS_stat: u64;
def SYS_statfs
Show undocumented member
def SYS_statfs: u64;
def SYS_statx
Show undocumented member
def SYS_statx: u64;
def SYS_swapoff
Show undocumented member
def SYS_swapoff: u64;
def SYS_swapon
Show undocumented member
def SYS_swapon: u64;
def SYS_symlink
Show undocumented member
def SYS_symlink: u64;
def SYS_symlinkat
Show undocumented member
def SYS_symlinkat: u64;
def SYS_sync
Show undocumented member
def SYS_sync: u64;
def SYS_sync_file_range
Show undocumented member
def SYS_sync_file_range: u64;
def SYS_syncfs
Show undocumented member
def SYS_syncfs: u64;
def SYS_sysfs
Show undocumented member
def SYS_sysfs: u64;
def SYS_sysinfo
Show undocumented member
def SYS_sysinfo: u64;
def SYS_syslog
Show undocumented member
def SYS_syslog: u64;
def SYS_tee
Show undocumented member
def SYS_tee: u64;
def SYS_tgkill
Show undocumented member
def SYS_tgkill: u64;
def SYS_time
Show undocumented member
def SYS_time: u64;
def SYS_timer_create
Show undocumented member
def SYS_timer_create: u64;
def SYS_timer_delete
Show undocumented member
def SYS_timer_delete: u64;
def SYS_timer_getoverrun
Show undocumented member
def SYS_timer_getoverrun: u64;
def SYS_timer_gettime
Show undocumented member
def SYS_timer_gettime: u64;
def SYS_timer_settime
Show undocumented member
def SYS_timer_settime: u64;
def SYS_timerfd_create
Show undocumented member
def SYS_timerfd_create: u64;
def SYS_timerfd_gettime
Show undocumented member
def SYS_timerfd_gettime: u64;
def SYS_timerfd_settime
Show undocumented member
def SYS_timerfd_settime: u64;
def SYS_times
Show undocumented member
def SYS_times: u64;
def SYS_tkill
Show undocumented member
def SYS_tkill: u64;
def SYS_truncate
Show undocumented member
def SYS_truncate: u64;
def SYS_tuxcall
Show undocumented member
def SYS_tuxcall: u64;
def SYS_umask
Show undocumented member
def SYS_umask: u64;
def SYS_umount2
Show undocumented member
def SYS_umount2: u64;
def SYS_uname
Show undocumented member
def SYS_uname: u64;
def SYS_unlink
Show undocumented member
def SYS_unlink: u64;
def SYS_unlinkat
Show undocumented member
def SYS_unlinkat: u64;
def SYS_unshare
Show undocumented member
def SYS_unshare: u64;
def SYS_uselib
Show undocumented member
def SYS_uselib: u64;
def SYS_userfaultfd
Show undocumented member
def SYS_userfaultfd: u64;
def SYS_ustat
Show undocumented member
def SYS_ustat: u64;
def SYS_utime
Show undocumented member
def SYS_utime: u64;
def SYS_utimensat
Show undocumented member
def SYS_utimensat: u64;
def SYS_utimes
Show undocumented member
def SYS_utimes: u64;
def SYS_vfork
Show undocumented member
def SYS_vfork: u64;
def SYS_vhangup
Show undocumented member
def SYS_vhangup: u64;
def SYS_vmsplice
Show undocumented member
def SYS_vmsplice: u64;
def SYS_vserver
Show undocumented member
def SYS_vserver: u64;
def SYS_wait4
Show undocumented member
def SYS_wait4: u64;
def SYS_waitid
Show undocumented member
def SYS_waitid: u64;
def SYS_write
Show undocumented member
def SYS_write: u64;
def SYS_writev
Show undocumented member
def SYS_writev: u64;
def S_IFBLK
Show undocumented member
def S_IFBLK: mode_t;
def S_IFCHR
Show undocumented member
def S_IFCHR: mode_t;
def S_IFDIR
Show undocumented member
def S_IFDIR: mode_t;
def S_IFIFO
Show undocumented member
def S_IFIFO: mode_t;
def S_IFLNK
Show undocumented member
def S_IFLNK: mode_t;
def S_IFREG
Show undocumented member
def S_IFREG: mode_t;
def S_IFSOCK
Show undocumented member
def S_IFSOCK: mode_t;
def TCGETS
Show undocumented member
def TCGETS: u64;
def TCSETS
Show undocumented member
def TCSETS: u64;
def TFD_CLOEXEC
Show undocumented member
def TFD_CLOEXEC: int;
def TFD_NONBLOCK
Show undocumented member
def TFD_NONBLOCK: int;
def TFD_TIMER_ABSTIME
Show undocumented member
def TFD_TIMER_ABSTIME: int;
def TFD_TIMER_CANCEL_ON_SET
Show undocumented member
def TFD_TIMER_CANCEL_ON_SET: int;
def TIOCGPTN
Show undocumented member
def TIOCGPTN: u64;
def TIOCGPTPEER
Show undocumented member
def TIOCGPTPEER: u64;
def TIOCGWINSZ
Show undocumented member
def TIOCGWINSZ: u64;
def TIOCNOTTY
Show undocumented member
def TIOCNOTTY: u64;
def TIOCSCTTY
Show undocumented member
def TIOCSCTTY: u64;
def TIOCSPTLCK
Show undocumented member
def TIOCSPTLCK: u64;
def TIOCSWINSZ
Show undocumented member
def TIOCSWINSZ: u64;
def UNIX_PATH_MAX
Show undocumented member
def UNIX_PATH_MAX: size;
def WCONTINUED
Show undocumented member
def WCONTINUED: int;
def WEXITED
Show undocumented member
def WEXITED: int;
def WNOHANG
Show undocumented member
def WNOHANG: int;
def WNOWAIT
Show undocumented member
def WNOWAIT: int;
def WSTOPPED
Show undocumented member
def WSTOPPED: int;
def WUNTRACED
Show undocumented member
def WUNTRACED: int;
def W_OK
Show undocumented member
def W_OK: int;
def X_OK
Show undocumented member
def X_OK: int;
Globals
let argc
Show undocumented member
let argc: size;
let argv
Show undocumented member
let argv: *[*]*u8;
let envp
Show undocumented member
let envp: *[*]nullable *u8;
Functions
fn access
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
fn backtrace() frame;
Returns the current stack frame. See nextframe to walk the stack.
fn clone
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
fn cpuid_getvendor() (cpuid_vendor | cpuid_unknownvendor);
Figures out cpu vendor using cpuid
fn cpuid_hasflags
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
fn errname(err: errno) str;
Gets the programmer-friendly name for an errno (e.g. EPERM).
fn faccessat
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
fn fini() void;
Run all global finalization functions.
fn fork
fn fork() (int | void |
errno);
Returns the new PID to the parent, void to the child, or errno if something
goes wrong.
fn free_
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
fn getcwd() (*const u8 |
errno);
The return value is statically allocated and must be duplicated before
calling getcwd again.
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
fn init() void;
Run all global initialization functions.
fn malloc
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
fn nextframe(sframe: frame) (frame | void);
Returns the frame above the current frame, if any.
fn realloc
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
fn strerror(err: errno) str;
Obtains a human-friendly reading of an errno (e.g. "Operation not
permitted").
fn wrap_errno
fn wrap_errno(err: int) errno;
Given an integer error number, wraps it in an error type.
fn _abort
Show undocumented member
@noreturn fn _abort(loc: str, msg: str) void;
fn abort_fixed
Show undocumented member
@noreturn fn abort_fixed(loc: str, i: int) void;
fn accept
Show undocumented member
fn accept(
sockfd: int,
addr: nullable *sockaddr,
addrlen: nullable *u32,
) (int | errno);
fn accept4
Show undocumented member
fn accept4(
sockfd: int,
addr: nullable *sockaddr,
addrlen: nullable *u32,
flags: int,
) (int | errno);
fn add_key
Show undocumented member
fn add_key(
keytype: *const u8,
name: *const u8,
payload: *void,
plen: size,
keyring: int,
) (int | errno);
fn alarm
Show undocumented member
fn alarm(seconds: uint) uint;
fn bind
Show undocumented member
fn bind(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);
fn chdir
Show undocumented member
fn chdir(path: path) (void | errno);
fn chmod
Show undocumented member
fn chmod(path: path, mode: uint) (void | errno);
fn chown
Show undocumented member
fn chown(path: path, uid: uint, gid: uint) (void | errno);
fn chroot
Show undocumented member
fn chroot(path: path) (void | errno);
fn clock_gettime
Show undocumented member
fn clock_gettime(clock_id: int, tp: *timespec) (void | errno);
fn close
Show undocumented member
fn close(fd: int) (void | errno);
fn connect
Show undocumented member
fn connect(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);
fn dup
Show undocumented member
fn dup(fd: int) (int | errno);
fn dup2
Show undocumented member
fn dup2(oldfd: int, newfd: int) (int | errno);
fn dup3
Show undocumented member
fn dup3(oldfd: int, newfd: int, flags: int) (int | errno);
fn ensure
Show undocumented member
fn ensure(s: *slice, membsz: size) void;
fn epoll_create
Show undocumented member
fn epoll_create(size_: int) (int | errno);
fn epoll_create1
Show undocumented member
fn epoll_create1(flags: int) (int | errno);
fn epoll_ctl
Show undocumented member
fn epoll_ctl(
epfd: int,
op: int,
fd: int,
event: nullable *epoll_event,
) (void | errno);
fn epoll_pwait
Show undocumented member
fn epoll_pwait(
epfd: int,
events: *epoll_event,
maxevents: int,
timeout: int,
sigmask: nullable *sigset,
) (int | errno);
fn epoll_wait
Show undocumented member
fn epoll_wait(
epfd: int,
events: *epoll_event,
maxevents: int,
timeout: int,
) (int | errno);
fn eventfd
Show undocumented member
fn eventfd(initval: uint, flags: int) (int | errno);
fn execve
Show undocumented member
fn execve(
path: path,
argv: *[*]nullable *const u8,
envp: *[*]nullable *const u8,
) errno;
fn execveat
Show undocumented member
fn execveat(
dirfd: int,
path: path,
argv: *[*]nullable *const u8,
envp: *[*]nullable *const u8,
flags: int,
) errno;
fn exit
Show undocumented member
@noreturn fn exit(status: int) void;
fn fallocate
Show undocumented member
fn fallocate(fd: int, mode: int, off: i64, ln: i64) (void | errno);
fn fchdir
Show undocumented member
fn fchdir(fd: int) (void | errno);
fn fchmodat
Show undocumented member
fn fchmodat(dirfd: int, path: path, mode: uint, flags: int) (void | errno);
fn fchownat
Show undocumented member
fn fchownat(dirfd: int, path: path, uid: uint, gid: uint, flags: int) (void | errno);
fn fcntl
Show undocumented member
fn fcntl(fd: int, cmd: int, arg: fcntl_arg) (int | errno);
fn feclearexcept
Show undocumented member
fn feclearexcept(ex: uint) void;
fn fegetround
Show undocumented member
fn fegetround() uint;
fn feraiseexcept
Show undocumented member
fn feraiseexcept(ex: uint) void;
fn fesetround
Show undocumented member
fn fesetround(mode: uint) void;
fn fetestexcept
Show undocumented member
fn fetestexcept(ex: uint) uint;
fn flock
Show undocumented member
fn flock(fd: int, op: int) (void | errno);
fn fstat
Show undocumented member
fn fstat(fd: int, statbuf: *st) (errno | void);
fn fstatat
Show undocumented member
fn fstatat(dirfd: int, path: path, statbuf: *st, flags: int) (errno | void);
fn ftruncate
Show undocumented member
fn ftruncate(fd: int, ln: off_t) (void | errno);
fn getdents64
Show undocumented member
fn getdents64(dirfd: int, dirp: *void, count: size) (size | errno);
fn getgroups
Show undocumented member
fn getgroups(gids: []uint) (uint | errno);
fn getpeername
Show undocumented member
fn getpeername(
sockfd: int,
addr: nullable *sockaddr,
addrlen: nullable *u32,
) (int | errno);
fn getpid
Show undocumented member
fn getpid() int;
fn getpriority
Show undocumented member
fn getpriority(which: int, who: id_t) (int | errno);
fn getrandom
Show undocumented member
fn getrandom(buf: *void, bufln: size, flags: uint) (size | errno);
fn getresgid
Show undocumented member
fn getresgid(gid: *gid_t, egid: *gid_t, sgid: *gid_t) (void | errno);
fn getresuid
Show undocumented member
fn getresuid(uid: *uid_t, euid: *uid_t, suid: *uid_t) (void | errno);
fn getrlimit
Show undocumented member
fn getrlimit(resource: int, rlim: *rlimit) (void | errno);
fn getsid
Show undocumented member
fn getsid(pid: int) (int | errno);
fn getsockname
Show undocumented member
fn getsockname(
sockfd: int,
addr: nullable *sockaddr,
addrlen: nullable *u32,
) (int | errno);
fn getsockopt
Show undocumented member
fn getsockopt(
sockfd: int,
level: int,
optname: int,
optval: nullable *void,
optlen: nullable *u32,
) (int | errno);
fn inotify_add_watch
Show undocumented member
fn inotify_add_watch(fd: int, path: path, mask: u32) (int | errno);
fn inotify_init
Show undocumented member
fn inotify_init() (int | errno);
fn inotify_init1
Show undocumented member
fn inotify_init1(flags: int) (int | errno);
fn inotify_rm_watch
Show undocumented member
fn inotify_rm_watch(fd: int, wd: int) (int | errno);
fn io_uring_enter
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
Show undocumented member
fn io_uring_register(fd: int, opcode: uint, arg: nullable *void, nr_args: uint) (int | errno);
fn io_uring_setup
Show undocumented member
fn io_uring_setup(entries: u32, params: *void) (int | errno);
fn ioctl
Show undocumented member
fn ioctl(fd: int, req: u64, arg: ioctl_arg) (int | errno);
fn keyctl
Show undocumented member
fn keyctl(operation: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);
fn kill
Show undocumented member
fn kill(pid: int, signal: int) (void | errno);
fn linkat
Show undocumented member
fn linkat(
olddirfd: int,
oldpath: path,
newdirfd: int,
newpath: path,
flags: int,
) (void | errno);
fn listen
Show undocumented member
fn listen(sockfd: int, backlog: u32) (int | errno);
fn longjmp
Show undocumented member
@noreturn fn longjmp(buf: *jmpbuf, n: int) void;
fn lseek
Show undocumented member
fn lseek(fd: int, off: i64, whence: int) (i64 | errno);
fn lstat
Show undocumented member
fn lstat(path: path, statbuf: *st) (errno | void);
fn memcpy
Show undocumented member
fn memcpy(dest: *void, src: *const void, amt: size) void;
fn memfd_create
Show undocumented member
fn memfd_create(name: path, flags: uint) (int | errno);
fn memmove
Show undocumented member
fn memmove(dest: *void, src: *const void, n: size) void;
fn memset
Show undocumented member
fn memset(dest: *void, val: u8, amt: size) void;
fn mkdev
Show undocumented member
fn mkdev(major: u32, minor: u32) dev_t;
fn mkdir
Show undocumented member
fn mkdir(path: path, mode: uint) (void | errno);
fn mkdirat
Show undocumented member
fn mkdirat(dirfd: int, path: path, mode: uint) (void | errno);
fn mknodat
Show undocumented member
fn mknodat(dirfd: int, path: path, mode: mode_t, dev: dev_t) (void | errno);
fn mlock2
Show undocumented member
fn mlock2(addr: *void, length: size, flags: uint) (void | errno);
fn mlockall
Show undocumented member
fn mlockall(flags: uint) (void | errno);
fn mmap
Show undocumented member
fn mmap(
addr: nullable *void,
length: size,
prot: uint,
flags: uint,
fd: int,
offs: size,
) (*void | errno);
fn mount
Show undocumented member
fn mount(
source: path,
target: path,
filesystemtype: *const u8,
mountflags: u64,
data: nullable *void,
) (void | errno);
fn mprotect
Show undocumented member
fn mprotect(addr: *void, length: size, prot: uint) (void | errno);
fn mremap
Show undocumented member
fn mremap(
old_addr: *void,
old_len: size,
new_len: size,
flags: uint,
new_addr: nullable *void,
) (*void | errno);
fn munlock
Show undocumented member
fn munlock(addr: *void, length: size) (void | errno);
fn munlockall
Show undocumented member
fn munlockall() (void | errno);
fn munmap
Show undocumented member
fn munmap(addr: *void, length: size) (void | errno);
fn nanosleep
Show undocumented member
fn nanosleep(req: *const timespec, rem: *timespec) (void | errno);
fn open
Show undocumented member
fn open(path: path, flags: int, mode: uint) (int | errno);
fn openat2
Show undocumented member
fn openat2(dirfd: int, path: path, how: *open_how, how_sz: size) (int | errno);
fn pipe2
Show undocumented member
fn pipe2(pipefd: *[2]int, flags: int) (void | errno);
fn poll
Show undocumented member
fn poll(fds: *[*]pollfd, nfds: nfds_t, timeout: int) (int | errno);
fn posix_fallocate
Show undocumented member
fn posix_fallocate(fd: int, off: i64, ln: i64) (void | errno);
fn ppoll
Show undocumented member
fn ppoll(
fds: *[*]pollfd,
nfds: nfds_t,
timeout: const nullable *timespec,
sigmask: const nullable *sigset,
) (int | errno);
fn prctl
Show undocumented member
fn prctl(option: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);
fn ptrace
Show undocumented member
fn ptrace(request: int, pid: int, addr: uintptr, data: uintptr) (u64 | errno);
fn read
Show undocumented member
fn read(fd: int, buf: *void, count: size) (size | errno);
fn readlinkat
Show undocumented member
fn readlinkat(dirfd: int, path: path, buf: []u8) (size | errno);
fn readv
Show undocumented member
fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);
fn recv
Show undocumented member
fn recv(sockfd: int, buf: *void, len_: size, flags: int) (size | errno);
fn recvfrom
Show undocumented member
fn recvfrom(
sockfd: int,
buf: *void,
len_: size,
flags: int,
src_addr: nullable *sockaddr,
addrlen: nullable *u32,
) (size | errno);
fn recvmsg
Show undocumented member
fn recvmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);
fn renameat
Show undocumented member
fn renameat(
olddirfd: int,
oldpath: path,
newdirfd: int,
newpath: path,
flags: uint,
) (void | errno);
fn sched_getaffinity
Show undocumented member
fn sched_getaffinity(pid: int, cpusetsize: size, mask: *cpu_set) (void | errno);
fn sched_setaffinity
Show undocumented member
fn sched_setaffinity(pid: int, cpusetsize: size, mask: *const cpu_set) (void | errno);
fn send
Show undocumented member
fn send(sockfd: int, buf: *void, len_: size, flags: int) (size | errno);
fn sendfile
Show undocumented member
fn sendfile(out: int, in: int, offs: nullable *size, count: size) (size | errno);
fn sendmsg
Show undocumented member
fn sendmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);
fn sendto
Show undocumented member
fn sendto(
sockfd: int,
buf: *void,
len_: size,
flags: int,
dest_addr: nullable *sockaddr,
addrlen: u32,
) (size | errno);
fn setgroups
Show undocumented member
fn setgroups(gids: []uint) (void | errno);
fn setjmp
Show undocumented member
fn setjmp(buf: *jmpbuf) int;
fn setpriority
Show undocumented member
fn setpriority(which: int, who: id_t, prio: int) (void | errno);
fn setresgid
Show undocumented member
fn setresgid(gid: gid_t, egid: gid_t, sgid: gid_t) (void | errno);
fn setresuid
Show undocumented member
fn setresuid(uid: uid_t, euid: uid_t, suid: uid_t) (void | errno);
fn setrlimit
Show undocumented member
fn setrlimit(resource: int, rlim: *const rlimit) (void | errno);
fn setsid
Show undocumented member
fn setsid() (void | errno);
fn setsockopt
Show undocumented member
fn setsockopt(
sockfd: int,
level: int,
optname: int,
optval: *void,
optlen: u32,
) (int | errno);
fn shmat
Show undocumented member
fn shmat(id: int, addr: *const void, flag: int) *void;
fn shutdown
Show undocumented member
fn shutdown(sockfd: int, how: int) (void | errno);
fn sigaction
Show undocumented member
fn sigaction(signum: int, act: *const sigact, old: nullable *sigact) (int | errno);
fn sigaddset
Show undocumented member
fn sigaddset(set: *sigset, signum: int) (void | errno);
fn sigdelset
Show undocumented member
fn sigdelset(set: *sigset, signum: int) (void | errno);
fn sigemptyset
Show undocumented member
fn sigemptyset(set: *sigset) void;
fn sigfillset
Show undocumented member
fn sigfillset(set: *sigset) void;
fn sigismember
Show undocumented member
fn sigismember(set: *sigset, signum: int) (bool | errno);
fn signalfd
Show undocumented member
fn signalfd(fd: int, mask: *const sigset, flags: int) (int | errno);
fn sigprocmask
Show undocumented member
fn sigprocmask(
how: int,
set: nullable *const sigset,
old: nullable *sigset,
) (int | errno);
fn socket
Show undocumented member
fn socket(domain: int, type_: int, protocol: int) (int | errno);
fn socketpair
Show undocumented member
fn socketpair(domain: int, type_: int, protocol: int, sv: *[2]int) (int | errno);
fn splice
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
Show undocumented member
@noreturn fn start_ha() void;
fn start_linux
Show undocumented member
@noreturn fn start_linux(iv: *[*]uintptr) void;
fn stat
Show undocumented member
fn stat(path: path, statbuf: *st) (errno | void);
fn strcmp
Show undocumented member
fn strcmp(_a: str, _b: str) bool;
fn symlinkat
Show undocumented member
fn symlinkat(target: path, newdirfd: int, linkpath: path) (void | errno);
fn sync
Show undocumented member
fn sync() void;
fn tee
Show undocumented member
fn tee(fd_in: int, fd_out: int, ln: size, flags: uint) (size | errno);
fn timerfd_create
Show undocumented member
fn timerfd_create(clock_id: int, flags: int) (int | errno);
fn timerfd_gettime
Show undocumented member
fn timerfd_gettime(fd: int, curr_value: *itimerspec) (int | errno);
fn timerfd_settime
Show undocumented member
fn timerfd_settime(
fd: int,
flags: int,
new_value: *const itimerspec,
old_value: nullable *itimerspec,
) (int | errno);
fn umask
Show undocumented member
fn umask(mode: mode_t) (mode_t | errno);
fn umount2
Show undocumented member
fn umount2(target: path, flags: int) (void | errno);
fn uname
Show undocumented member
fn uname(uts: *utsname) (void | errno);
fn unensure
Show undocumented member
fn unensure(s: *slice, membsz: size) void;
fn unlink
Show undocumented member
fn unlink(path: path) (void | errno);
fn unlinkat
Show undocumented member
fn unlinkat(dirfd: int, path: path, flags: int) (void | errno);
fn wait4
Show undocumented member
fn wait4(
pid: int,
wstatus: nullable *int,
options: int,
rusage: nullable *rusage,
) (int | errno);
fn wcoredump
Show undocumented member
fn wcoredump(s: int) int;
fn wexitstatus
Show undocumented member
fn wexitstatus(s: int) int;
fn wifcontinued
Show undocumented member
fn wifcontinued(s: int) bool;
fn wifexited
Show undocumented member
fn wifexited(s: int) bool;
fn wifsignaled
Show undocumented member
fn wifsignaled(s: int) bool;
fn wifstopped
Show undocumented member
fn wifstopped(s: int) bool;
fn write
Show undocumented member
fn write(fd: int, buf: *const void, count: size) (size | errno);
fn writev
Show undocumented member
fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);
fn wstopsig
Show undocumented member
fn wstopsig(s: int) int;
fn wtermsig
Show undocumented member
fn wtermsig(s: int) int;