rt+x86_64 +linux

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

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

Index

Types

type abort_handler = fn(path: *str, line: u64, col: u64, msg: str) never;
type chunk = union {
	// TODO: track number of active allocations here
	padding: size,
	data: [*]u8,
};
type meta = struct {
	union {
		sz: size,
		next: uintptr,
	},
	user: [*]u8,
};
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,
};

// Undocumented types:
type _io_uring_cqe = struct {
	user_data: u64,
	res: i32,
	flags: u32,
};
type arch_jmp_buf = [8]u64;
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 = i64;
type cmsg = struct {
	hdr: cmsghdr,
	cmsg_data: [*]u8,
};
type cmsghdr = struct {
	cmsg_len: socklen_t,
	_padding: int,
	cmsg_level: int,
	cmsg_type: int,
};
type cpu_set = struct {
	__bits: [16]u64,
};
type cpuid_ecxflag = enum uint {
	SSE3 = 1 << 0,
	AES = 1 << 25,
	AVX = 1 << 28,
};
type cpuid_edxflag = enum uint {
	SSE = 1 << 25,
	SSE2 = 1 << 26,
};
type cpuid_vendor = enum {
	AMD,
	INTEL,
	WINCHIP,
	TRANSMETA,
	CYRIX,
	CENTAUR,
	NEXGEN,
	UMC,
	SIS,
	NSC,
	RISE,
	VORTEX,
	VIA,
	ZHAOXIN,
	HYGON,
	MCST_ELBRUS,
	VMWARE, // Virtual Machines.
	XENHVM,
	MICROSOFT_HV,
	PARALLELS,
};
type dev_t = u64;
type dirent64 = struct {
	d_ino: ino_t,
	d_off: off_t,
	d_reclen: u16,
	d_type: u8,
	d_name: [*]u8,
};
type epoll_data = union {
	ptr: *opaque,
	fd: int,
	u32_: u32,
	u64_: u64,
};
type epoll_event = struct @packed {
	// Packed on x86_64
	events: u32,
	data: epoll_data,
};
type f_owner_ex = struct {
	_type: int,
	pid: pid_t,
};
type fcntl_arg = (void | int | *st_flock | *f_owner_ex | *u64);
type gid_t = uint;
type id_t = uint;
type in6_addr = struct {
	union {
		s6_addr: [16]u8,
		s6_addr16: [8]u16,
		s6_addr32: [4]u32,
	},
};
type in_addr = struct {
	s_addr: u32,
};
type ino_t = u64;
type inotify_event = struct {
	wd: int,
	mask: u32,
	cookie: u32,
	length: u32,
	name: [*]u8,
};
type io_cqring_offsets = struct {
	head: u32,
	tail: u32,
	ring_mask: u32,
	ring_entries: u32,
	overflow: u32,
	cqes: u32,
	flags: u32,
	resv1: u32,
	user_addr: u64,
};
type io_sqring_offsets = struct {
	head: u32,
	tail: u32,
	ring_mask: u32,
	ring_entries: u32,
	flags: u32,
	dropped: u32,
	array: u32,
	resv1: u32,
	user_addr: u64,
};
type io_uring_buf = struct {
	addr: u64,
	length: u32,
	bid: u16,
	resv: u16,
};
type io_uring_buf_reg = struct {
	ring_addr: u64,
	ring_entries: u32,
	bgid: u16,
	flags: u16,
	resv: [3]u64,
};
type io_uring_buf_ring = struct {
	union {
		struct {
			resv1: u64,
			resv2: u32,
			resv3: u16,
			tail: u16,
		},
		bufs: [*]io_uring_buf,
	},
};
type io_uring_cqe = struct {
	_io_uring_cqe,
	big_cqe: [*]u64,
};
type io_uring_file_index_range = struct {
	off: u32,
	length: u32,
	resv: u64,
};
type io_uring_files_update = struct {
	off: u32,
	resv: u32,
	fds: u64,
};
type io_uring_getevents_arg = struct {
	sigmask: u64,
	sigmask_sz: u32,
	pad: u32,
	ts: u64,
};
type io_uring_params = struct {
	sq_entries: u32,
	cq_entries: u32,
	flags: u32,
	sq_thread_cpu: u32,
	sq_thread_idle: u32,
	features: u32,
	wq_fd: u32,
	resv: [3]u32,
	sq_off: io_sqring_offsets,
	cq_off: io_cqring_offsets,
};
type io_uring_probe = struct {
	last_op: u8,
	ops_len: u8,
	resv: u16,
	resv2: [3]u32,
	ops: [*]io_uring_probe_op,
};
type io_uring_probe_op = struct {
	op: u8,
	resv: u8,
	flags: u16,
	resv2: u32,
};
type io_uring_recvmsg_out = struct {
	namelen: u32,
	controllen: u32,
	payloadlen: u32,
	flags: u32,
};
type io_uring_restriction = struct {
	opcode: u16,
	union {
		register_op: u8,
		sqe_op: u8,
		sqe_flags: u8,
	},
	resv: u8,
	resv2: [3]u32,
};
type io_uring_rsrc_register = struct {
	nr: u32,
	flags: u32,
	resv2: u64,
	data: u64,
	tags: u64,
};
type io_uring_rsrc_update = struct {
	off: u32,
	resv: u32,
	data: u64,
};
type io_uring_rsrc_update2 = struct {
	off: u32,
	resv: u32,
	data: u64,
	tags: u64,
	nr: u32,
	resv2: u32,
};
type io_uring_sqe = struct {
	opcode: u8,
	flags: u8,
	ioprio: u16,
	fd: i32,
	union {
		off: u64,
		addr2: u64,
		struct {
			cmd_op: u32,
			__pad1: u32,
		},
	},
	union {
		addr: u64,
		splice_off_in: u64,
	},
	length: u32,
	union {
		rw_flags: int,
		fsync_flags: u32,
		poll_events: u32,
		poll32_events: u32,
		sync_range_flags: u32,
		msg_flags: u32,
		timeout_flags: u32,
		accept_flags: u32,
		cancel_flags: u32,
		open_flags: u32,
		statx_flags: u32,
		fadvise_advice: u32,
		splice_flags: u32,
		rename_flags: u32,
		unlink_flags: u32,
		hardlink_flags: u32,
		xattr_flags: u32,
		msg_ring_flags: u32,
		uring_cmd_flags: u32,
	},
	user_data: u64,
	// TODO: use @packed once size() stop returning different sizes
	union {
		buf_index: u16,
		buf_group: u16,
	},
	personality: u16,
	union {
		splice_fd_in: i32,
		file_index: u32,
		struct {
			addr_len: u16,
			__pad3: [1]u16,
		},
	},
	union {
		struct {
			addr3: u64,
			__pad2: [1]u64,
		},
		cmd: [*]u8,
	},
};
type io_uring_sync_cancel_reg = struct {
	addr: u64,
	fd: i32,
	flags: u32,
	timeout: timespec,
	pad: [4]u64,
};
type ioctl_arg = (nullable *opaque | u64);
type iovec = struct {
	iov_base: *opaque,
	iov_len: size,
};
type itimerspec = struct {
	it_interval: timespec,
	it_value: timespec,
};
type itimerval = struct {
	it_interval: timeval,
	it_value: timeval,
};
type jmp_buf = struct {
	__jb: arch_jmp_buf,
	__fl: size,
	__ss: [128 / size(size)]size,
};
type memory_heap = struct {
	// Number of allocations currently in flight.
	cur_allocs: size,
	// Freelists for blocks up to 2048 bytes.
	bins: [9]nullable *meta,
	// The chunk to allocate from if there are no blocks available in the
	// right freelist.
	cur_chunk: (*chunk, size),
};
type mode_t = uint;
type msghdr = struct {
	msg_name: nullable *opaque,
	msg_namelen: u32,
	msg_iov: nullable *[*]iovec,
	msg_iovlen: size,
	msg_control: nullable *opaque,
	msg_controllen: size,
	msg_flags: int,
};
type nfds_t = u64;
type nlink_t = u64;
type off_t = i64;
type open_how = struct {
	flags: u64,
	mode: u64,
	resolve: u64,
};
type path = (str | []u8 | *const u8);
type pid_t = int;
type pollfd = struct {
	fd: int,
	events: i16,
	revents: i16,
};
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 = struct {
	off: u64,
	flags: u32,
	nr: i32,
};
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 = u64;
type rlimit = struct {
	rlim_cur: rlim_t,
	rlim_max: rlim_t,
};
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 = u16;
type si_band_t = i64;
type sigact = struct {
	union {
		sa_handler: nullable *fn(int) void,
		sa_sigaction: nullable *fn(int, *siginfo, *opaque) void,
	},
	sa_flags: u64,
	sa_restorer: nullable *fn() void,
	sa_mask: sigset,
};
type sigcontext = struct {
	r8: u64,
	r9: u64,
	r10: u64,
	r11: u64,
	r12: u64,
	r13: u64,
	r14: u64,
	r15: u64,
	di: u64,
	si: u64,
	bp: u64,
	bx: u64,
	dx: u64,
	ax: u64,
	cx: u64,
	sp: u64,
	ip: u64,
	flags: u64,
	cs: u16,
	gs: u16,
	fs: u16,
	ss: u16,
	err: u64,
	trapno: u64,
	oldmask: u64,
	cr2: u64,
	fpstate: u64,
	reserved1: [8]u64,
};
type siginfo = union {
	struct {
		si_signo: int,
		si_errno: int,
		si_code: int,
		union {
			// kill()
			struct {
				si_pid: pid_t,
				si_uid: u32,
			},
			// POSIX.1b timers
			struct {
				si_tid: timer_t,
				si_overrun: int,
				// @ signals
				_sigval: sigval,
				si_sys_private: int,
			},
			// POSIX.1b signals
			struct {
				// @kill
				_sig_pid: pid_t,
				// @ kill
				_sig_uid: u32,
				union {
					si_value: sigval,
					si_int: int,
					si_ptr: *opaque,
				},
			},
			// SIGCHLD
			struct {
				// @ kill
				_chld_pid: pid_t,
				// @ kill
				_chld_uid: u32,
				si_status: int,
				si_utime: clock_t,
				si_stime: clock_t,
			},
			// SIGILL, SIGFPE, SIGSEGV, SIGBUS, SIGTRAP, SIGEMT
			struct {
				si_addr: *opaque,
				union {
					// used when si_code=BUS_MCEERR_AR or
					// used when si_code=BUS_MCEERR_AO
					si_addr_lsb: i16,
					struct {
						_dummy_bnd: [__ADDR_BND_PKEY_PAD]u8,
						si_lower: *opaque,
						si_upper: *opaque,
					},
					struct {
						_dummy_pkey: [__ADDR_BND_PKEY_PAD]u8,
						si_pkey: u32,
					},
				},
			},
			// SIGPOLL
			struct {
				si_band: si_band_t,
				si_fd: int,
			},
			// SIGSYS
			struct {
				si_call_addr: *opaque,
				si_syscall: int,
				si_arch: uint,
			},
		},
	},
	_si_pad: [SI_MAX_SIZE - 3 * size(int)]u8,
};
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 to 128 bytes
	__pad: [28]u8,
};
type sigset = struct {
	__val: [1]u64,
};
type sigval = union {
	sival_int: int,
	sival_ptr: *opaque,
};
type slice = struct {
	data: nullable *opaque,
	length: size,
	capacity: size,
};
type sock_filter = struct {
	__code: u16,
	__jt: u8,
	__jf: u8,
	__k: u32,
};
type sock_fprog = struct {
	__len: u16,
	__filter: *[*]sock_filter,
};
type sockaddr = struct {
	union {
		in: sockaddr_in,
		in6: sockaddr_in6,
		un: sockaddr_un,
		nl: sockaddr_nl,
		ll: sockaddr_ll,
	},
};
type sockaddr_in = struct {
	sin_family: sa_family_t,
	sin_port: u16,
	sin_addr: in_addr,
	__pad: [16]u8,
};
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_ll = struct {
	sll_family: sa_family_t,
	sll_protocol: u16,
	sll_ifindex: int,
	sll_hatype: u16,
	sll_pkttype: u8,
	sll_halen: u8,
	sll_addr: [8]u8,
};
type sockaddr_nl = struct {
	nl_family: sa_family_t,
	nl_pad: u16,
	nl_pid: u32,
	nl_groups: u32,
};
type sockaddr_un = struct {
	sun_family: sa_family_t,
	sun_path: [UNIX_PATH_MAX]u8,
};
type socklen_t = uint;
type st_flock = struct {
	l_type: i16,
	l_whence: i16,
	l_start: i64,
	l_len: i64,
	l_pid: pid_t,
};
type stack_t = struct {
	ss_sp: *opaque,
	ss_flags: int,
	ss_size: size,
};
type suseconds_t = i64;
type tcflag = enum uint {
	IGNBRK = 1, // c_iflag bit meaning
	BRKINT = 2,
	IGNPAR = 4,
	PARMRK = 8,
	INPCK = 16,
	ISTRIP = 32,
	INLCR = 64,
	IGNCR = 128,
	ICRNL = 256,
	IUCLC = 512,
	IXON = 1024,
	IXANY = 2048,
	IXOFF = 4096,
	IMAXBEL = 8192,
	IUTF8 = 16384,
	OPOST = 1, // c_oflag bit meaning
	OLCUC = 2,
	ONLCR = 4,
	OCRNL = 8,
	ONOCR = 16,
	ONLRET = 32,
	OFILL = 64,
	OFDEL = 128,
	NLDLY = 256,
	NL0 = 0,
	NL1 = 256,
	CRDLY = 1536,
	CR0 = 0,
	CR1 = 512,
	CR2 = 1024,
	CR3 = 1536,
	TABDLY = 6144,
	TAB0 = 0,
	TAB1 = 2048,
	TAB2 = 4096,
	TAB3 = 6144,
	XTABS = 6144,
	BSDLY = 8192,
	BS0 = 0,
	BS1 = 8192,
	VTDLY = 16384,
	VT0 = 0,
	VT1 = 16384,
	FFDLY = 32768,
	FF0 = 0,
	FF1 = 32768,
	CBAUD = 4111, // c_cflag bit meaning
	B0 = 0,
	B50 = 1,
	B75 = 2,
	B110 = 3,
	B134 = 4,
	B150 = 5,
	B200 = 6,
	B300 = 7,
	B600 = 8,
	B1200 = 9,
	B1800 = 10,
	B2400 = 11,
	B4800 = 12,
	B9600 = 13,
	B19200 = 14,
	B38400 = 15,
	EXTA = B19200,
	EXTB = B38400,
	CSIZE = 48,
	CS5 = 0,
	CS6 = 16,
	CS7 = 32,
	CS8 = 48,
	CSTOPB = 64,
	CREAD = 128,
	PARENB = 256,
	PARODD = 512,
	HUPCL = 1024,
	CLOCAL = 2048,
	CBAUDEX = 4096,
	BOTHER = 4096,
	B57600 = 4097,
	B115200 = 4098,
	B230400 = 4099,
	B460800 = 4100,
	B500000 = 4101,
	B576000 = 4102,
	B921600 = 4103,
	B1000000 = 4104,
	B1152000 = 4105,
	B1500000 = 4106,
	B2000000 = 4107,
	B2500000 = 4108,
	B3000000 = 4109,
	B3500000 = 4110,
	B4000000 = 4111,
	CIBAUD = 269418496,
	CMSPAR = 1073741824,
	CRTSCTS = 2147483648,
	ISIG = 1, // c_lflag bit meaning
	ICANON = 2,
	XCASE = 4,
	ECHO = 8,
	ECHOE = 16,
	ECHOK = 32,
	ECHONL = 64,
	NOFLSH = 128,
	TOSTOP = 256,
	ECHOCTL = 512,
	ECHOPRT = 1024,
	ECHOKE = 2048,
	FLUSHO = 4096,
	PENDIN = 16384,
	IEXTEN = 32768,
	EXTPROC = 65536,
};
type termios = struct {
	c_iflag: tcflag,
	c_oflag: tcflag,
	c_cflag: tcflag,
	c_lflag: tcflag,
	c_line: cc,
	c_cc: [NCCS]cc,
};
type time_t = i64;
type timer_t = *opaque;
type timespec = struct {
	tv_sec: time_t,
	tv_nsec: i64,
};
type timeval = struct {
	tv_sec: time_t,
	tv_usec: suseconds_t,
};
type ucontext = struct {
	uc_flags: u64,
	uc_link: *ucontext,
	uc_stack: stack_t,
	uc_mcontext: sigcontext,
	uc_sigmask: sigset,
};
type uid_t = uint;
type utsname = struct {
	sysname: [65]u8,
	nodename: [65]u8,
	release: [65]u8,
	version: [65]u8,
	machine: [65]u8,
	domainname: [65]u8,
};
type winsize = struct {
	ws_row: u16,
	ws_col: u16,
	ws_xpixel: u16,
	ws_ypixel: u16,
};

Errors

type errno = !int;

// Undocumented Errors:
type cpuid_unknownvendor = !void;

Constants

def AF_ALG: sa_family_t = 38;
def AF_APPLETALK: sa_family_t = 5;
def AF_ASH: sa_family_t = 18;
def AF_ATMPVC: sa_family_t = 8;
def AF_ATMSVC: sa_family_t = 20;
def AF_AX25: sa_family_t = 3;
def AF_BLUETOOTH: sa_family_t = 31;
def AF_BRIDGE: sa_family_t = 7;
def AF_CAIF: sa_family_t = 37;
def AF_CAN: sa_family_t = 29;
def AF_DECnet: sa_family_t = 12;
def AF_ECONET: sa_family_t = 19;
def AF_IB: sa_family_t = 27;
def AF_IEEE802154: sa_family_t = 36;
def AF_INET: sa_family_t = 2;
def AF_INET6: sa_family_t = 10;
def AF_IPX: sa_family_t = 4;
def AF_IRDA: sa_family_t = 23;
def AF_ISDN: sa_family_t = 34;
def AF_IUCV: sa_family_t = 32;
def AF_KCM: sa_family_t = 41;
def AF_KEY: sa_family_t = 15;
def AF_LLC: sa_family_t = 26;
def AF_LOCAL: sa_family_t = 1;
def AF_MPLS: sa_family_t = 28;
def AF_NETBEUI: sa_family_t = 13;
def AF_NETLINK: sa_family_t = 16;
def AF_NETROM: sa_family_t = 6;
def AF_NFC: sa_family_t = 39;
def AF_PACKET: sa_family_t = 17;
def AF_PHONET: sa_family_t = 35;
def AF_PPPOX: sa_family_t = 24;
def AF_QIPCRTR: sa_family_t = 42;
def AF_RDS: sa_family_t = 21;
def AF_ROSE: sa_family_t = 11;
def AF_ROUTE: sa_family_t = AF_NETLINK;
def AF_RXRPC: sa_family_t = 33;
def AF_SECURITY: sa_family_t = 14;
def AF_SMC: sa_family_t = 43;
def AF_SNA: sa_family_t = 22;
def AF_TIPC: sa_family_t = 30;
def AF_UNIX: sa_family_t = 1;
def AF_UNSPEC: sa_family_t = 0;
def AF_VSOCK: sa_family_t = 40;
def AF_WANPIPE: sa_family_t = 25;
def AF_X25: sa_family_t = 9;
def AF_XDP: sa_family_t = 44;
def EPOLLIN: u32 = 1;
def EPOLL_CTL_ADD: int = 1;
def ETH_P_15: int = 35063;
def INACCESS: u32 = 1;
def IN_NONBLOCK: int = O_NONBLOCK;
def IPPROTO_AH: int = 51;
def IPPROTO_BEETPH: int = 94;
def IPPROTO_COMP: int = 108;
def IPPROTO_DCCP: int = 33;
def IPPROTO_EGP: int = 8;
def IPPROTO_ENCAP: int = 98;
def IPPROTO_ESP: int = 50;
def IPPROTO_ETHERNET: int = 143;
def IPPROTO_GRE: int = 47;
def IPPROTO_ICMP: int = 1;
def IPPROTO_ICMPV6: int = 58;
def IPPROTO_IDP: int = 22;
def IPPROTO_IGMP: int = 2;
def IPPROTO_IP: int = 0;
def IPPROTO_IPIP: int = 4;
def IPPROTO_IPV6: int = 41;
def IPPROTO_MPLS: int = 137;
def IPPROTO_MPTCP: int = 262;
def IPPROTO_MTP: int = 92;
def IPPROTO_PIM: int = 103;
def IPPROTO_PUP: int = 12;
def IPPROTO_RAW: int = 255;
def IPPROTO_RSVP: int = 46;
def IPPROTO_SCTP: int = 132;
def IPPROTO_TCP: int = 6;
def IPPROTO_TP: int = 29;
def IPPROTO_UDP: int = 17;
def IPPROTO_UDPLITE: int = 136;
def LOCK_SH: int = 1;
def MSG_BATCH: int = 262144;
def MSG_CMSG_CLOEXEC: int = 1073741824;
def MSG_CTRUNC: int = 8;
def MSG_EOF: int = MSG_FIN;
def MSG_EOR: int = 128;
def MSG_FASTOPEN: int = 536870912;
def MSG_FIN: int = 512;
def MSG_MORE: int = 32768;
def MSG_NOSIGNAL: int = 16384;
def MSG_OOB: int = 1;
def MSG_RST: int = 4096;
def MSG_SENDPAGE_DECRYPTED: int = 1048576;
def MSG_SENDPAGE_NOPOLICY: int = 65536;
def MSG_SENDPAGE_NOTLAST: int = 131072;
def MSG_TRUNC: int = 32;
def MSG_WAITALL: int = 256;
def MSG_WAITFORONE: int = 65536;
def MSG_ZEROCOPY: int = 67108864;
def O_RDONLY: int = 0;
def SOCK_STREAM: int = 1;
def SOL_SOCKET: int = 1;
def SO_DEBUG: int = 1;
def SO_PASSCRED: int = 16;

// Undocumented constants:
def AT_EACCESS: int = 512;
def AT_EMPTY_PATH: int = 4096;
def AT_FDCWD: int = -100;
def AT_NO_AUTOMOUNT: int = 2048;
def AT_RECURSIVE: int = 32768;
def AT_REMOVEDIR: int = 512;
def AT_STATX_DONT_SYNC: int = 16384;
def AT_STATX_FORCE_SYNC: int = 8192;
def AT_STATX_SYNC_AS_STAT: int = 0;
def AT_STATX_SYNC_TYPE: int = 24576;
def AT_SYMLINK_FOLLOW: int = 1024;
def AT_SYMLINK_NOFOLLOW: int = 256;
def CLOCK_BOOTTIME: int = 7;
def CLOCK_BOOTTIME_ALARM: int = 9;
def CLOCK_MONOTONIC: int = 1;
def CLOCK_MONOTONIC_COARSE: int = 6;
def CLOCK_MONOTONIC_RAW: int = 4;
def CLOCK_PROCESS_CPUTIME_ID: int = 2;
def CLOCK_REALTIME: int = 0;
def CLOCK_REALTIME_ALARM: int = 8;
def CLOCK_REALTIME_COARSE: int = 5;
def CLOCK_SGI_CYCLE: int = 10;
def CLOCK_TAI: int = 11;
def CLOCK_THREAD_CPUTIME_ID: int = 3;
def DT_BLK: u8 = 6;
def DT_CHR: u8 = 2;
def DT_DIR: u8 = 4;
def DT_FIFO: u8 = 1;
def DT_LNK: u8 = 10;
def DT_REG: u8 = 8;
def DT_SOCK: u8 = 12;
def DT_UNKNOWN: u8 = 0;
def E2BIG: errno = 7;
def EACCES: errno = 13;
def EADDRINUSE: errno = 98;
def EADDRNOTAVAIL: errno = 99;
def EADV: errno = 68;
def EAFNOSUPPORT: errno = 97;
def EAGAIN: errno = 11;
def EALREADY: errno = 114;
def EBADE: errno = 52;
def EBADF: errno = 9;
def EBADFD: errno = 77;
def EBADMSG: errno = 74;
def EBADR: errno = 53;
def EBADRQC: errno = 56;
def EBADSLT: errno = 57;
def EBFONT: errno = 59;
def EBUSY: errno = 16;
def ECANCELED: errno = 125;
def ECHILD: errno = 10;
def ECHRNG: errno = 44;
def ECOMM: errno = 70;
def ECONNABORTED: errno = 103;
def ECONNREFUSED: errno = 111;
def ECONNRESET: errno = 104;
def EDEADLK: errno = 35;
def EDEADLOCK: int = EDEADLK;
def EDESTADDRREQ: errno = 89;
def EDOM: errno = 33;
def EDOTDOT: errno = 73;
def EDQUOT: errno = 122;
def EEXIST: errno = 17;
def EFAULT: errno = 14;
def EFBIG: errno = 27;
def EFD_CLOEXEC: int = O_CLOEXEC;
def EFD_NONBLOCK: int = O_NONBLOCK;
def EFD_SEMAPHORE: int = 1;
def EHOSTDOWN: errno = 112;
def EHOSTUNREACH: errno = 113;
def EHWPOISON: errno = 133;
def EIDRM: errno = 43;
def EILSEQ: errno = 84;
def EINPROGRESS: errno = 115;
def EINTR: errno = 4;
def EINVAL: errno = 22;
def EIO: errno = 5;
def EISCONN: errno = 106;
def EISDIR: errno = 21;
def EISNAM: errno = 120;
def EKEYEXPIRED: errno = 127;
def EKEYREJECTED: errno = 129;
def EKEYREVOKED: errno = 128;
def EL2HLT: errno = 51;
def EL2NSYNC: errno = 45;
def EL3HLT: errno = 46;
def EL3RST: errno = 47;
def ELIBACC: errno = 79;
def ELIBBAD: errno = 80;
def ELIBEXEC: errno = 83;
def ELIBMAX: errno = 82;
def ELIBSCN: errno = 81;
def ELNRNG: errno = 48;
def ELOOP: errno = 40;
def EMEDIUMTYPE: errno = 124;
def EMFILE: errno = 24;
def EMLINK: errno = 31;
def EMSGSIZE: errno = 90;
def EMULTIHOP: errno = 72;
def ENAMETOOLONG: errno = 36;
def ENAVAIL: errno = 119;
def ENETDOWN: errno = 100;
def ENETRESET: errno = 102;
def ENETUNREACH: errno = 101;
def ENFILE: errno = 23;
def ENOANO: errno = 55;
def ENOBUFS: errno = 105;
def ENOCSI: errno = 50;
def ENODATA: errno = 61;
def ENODEV: errno = 19;
def ENOENT: errno = 2;
def ENOEXEC: errno = 8;
def ENOKEY: errno = 126;
def ENOLCK: errno = 37;
def ENOLINK: errno = 67;
def ENOMEDIUM: errno = 123;
def ENOMEM: errno = 12;
def ENOMSG: errno = 42;
def ENONET: errno = 64;
def ENOPKG: errno = 65;
def ENOPROTOOPT: errno = 92;
def ENOSPC: errno = 28;
def ENOSR: errno = 63;
def ENOSTR: errno = 60;
def ENOSYS: errno = 38;
def ENOTBLK: errno = 15;
def ENOTCONN: errno = 107;
def ENOTDIR: errno = 20;
def ENOTEMPTY: errno = 39;
def ENOTNAM: errno = 118;
def ENOTRECOVERABLE: errno = 131;
def ENOTSOCK: errno = 88;
def ENOTSUP: errno = EOPNOTSUPP;
def ENOTTY: errno = 25;
def ENOTUNIQ: errno = 76;
def ENXIO: errno = 6;
def EOPNOTSUPP: errno = 95;
def EOVERFLOW: errno = 75;
def EOWNERDEAD: errno = 130;
def EPERM: errno = 1;
def EPFNOSUPPORT: errno = 96;
def EPIPE: errno = 32;
def EPOLLERR: u32 = 8;
def EPOLLET: u32 = 1 << 31;
def EPOLLHUP: u32 = 16;
def EPOLLMSG: u32 = 1024;
def EPOLLNVAL: u32 = 32;
def EPOLLONESHOT: u32 = 1 << 30;
def EPOLLOUT: u32 = 4;
def EPOLLPRI: u32 = 2;
def EPOLLRDBAND: u32 = 128;
def EPOLLRDHUP: u32 = 8192;
def EPOLLRDNORM: u32 = 64;
def EPOLLWAKEUP: u32 = 1 << 29;
def EPOLLWRBAND: u32 = 512;
def EPOLLWRNORM: u32 = 256;
def EPOLL_CLOEXEC: int = O_CLOEXEC;
def EPOLL_CTL_DEL: int = 2;
def EPOLL_CTL_MOD: int = 3;
def EPROTO: errno = 71;
def EPROTONOSUPPORT: errno = 93;
def EPROTOTYPE: errno = 91;
def ERANGE: errno = 34;
def EREMCHG: errno = 78;
def EREMOTE: errno = 66;
def EREMOTEIO: errno = 121;
def ERESTART: errno = 85;
def ERFKILL: errno = 132;
def EROFS: errno = 30;
def ESHUTDOWN: errno = 108;
def ESOCKTNOSUPPORT: errno = 94;
def ESPIPE: errno = 29;
def ESRCH: errno = 3;
def ESRMNT: errno = 69;
def ESTALE: errno = 116;
def ESTRPIPE: errno = 86;
def ETH_P_8021AD: int = 34984;
def ETH_P_8021AH: int = 35047;
def ETH_P_8021Q: int = 33024;
def ETH_P_80221: int = 35095;
def ETH_P_802_2: int = 4;
def ETH_P_802_3: int = 1;
def ETH_P_802_3_MIN: int = 1536;
def ETH_P_802_EX1: int = 34997;
def ETH_P_AARP: int = 33011;
def ETH_P_AF_IUCV: int = 64507;
def ETH_P_ALL: int = 3;
def ETH_P_AOE: int = 34978;
def ETH_P_ARCNET: int = 26;
def ETH_P_ARP: int = 2054;
def ETH_P_ATALK: int = 32923;
def ETH_P_ATMFATE: int = 34948;
def ETH_P_ATMMPOA: int = 34892;
def ETH_P_AX25: int = 2;
def ETH_P_BATMAN: int = 17157;
def ETH_P_BPQ: int = 2303;
def ETH_P_CAIF: int = 247;
def ETH_P_CAN: int = 12;
def ETH_P_CANFD: int = 13;
def ETH_P_CANXL: int = 14;
def ETH_P_CFM: int = 35074;
def ETH_P_CONTROL: int = 22;
def ETH_P_CUST: int = 24582;
def ETH_P_DDCMP: int = 6;
def ETH_P_DEC: int = 24576;
def ETH_P_DIAG: int = 24581;
def ETH_P_DNA_DL: int = 24577;
def ETH_P_DNA_RC: int = 24578;
def ETH_P_DNA_RT: int = 24579;
def ETH_P_DSA: int = 27;
def ETH_P_DSA_8021Q: int = 56027;
def ETH_P_DSA_A5PSW: int = 57345;
def ETH_P_ECONET: int = 24;
def ETH_P_EDSA: int = 56026;
def ETH_P_ERSPAN: int = 35006;
def ETH_P_ERSPAN2: int = 8939;
def ETH_P_ETHERCAT: int = 34980;
def ETH_P_FCOE: int = 35078;
def ETH_P_FIP: int = 35092;
def ETH_P_HDLC: int = 25;
def ETH_P_HSR: int = 35119;
def ETH_P_IBOE: int = 35093;
def ETH_P_IEEE802154: int = 246;
def ETH_P_IEEEPUP: int = 2560;
def ETH_P_IEEEPUPAT: int = 2561;
def ETH_P_IFE: int = 60734;
def ETH_P_IP: int = 2048;
def ETH_P_IPV6: int = 34525;
def ETH_P_IPX: int = 33079;
def ETH_P_IRDA: int = 23;
def ETH_P_LAT: int = 24580;
def ETH_P_LINK_CTL: int = 34924;
def ETH_P_LLDP: int = 35020;
def ETH_P_LOCALTALK: int = 9;
def ETH_P_LOOP: int = 96;
def ETH_P_LOOPBACK: int = 36864;
def ETH_P_MACSEC: int = 35045;
def ETH_P_MAP: int = 249;
def ETH_P_MCTP: int = 250;
def ETH_P_MOBITEX: int = 21;
def ETH_P_MPLS_MC: int = 34888;
def ETH_P_MPLS_UC: int = 34887;
def ETH_P_MRP: int = 35043;
def ETH_P_MVRP: int = 35061;
def ETH_P_NCSI: int = 35064;
def ETH_P_NSH: int = 35151;
def ETH_P_PAE: int = 34958;
def ETH_P_PAUSE: int = 34824;
def ETH_P_PHONET: int = 245;
def ETH_P_PPPTALK: int = 16;
def ETH_P_PPP_DISC: int = 34915;
def ETH_P_PPP_MP: int = 8;
def ETH_P_PPP_SES: int = 34916;
def ETH_P_PREAUTH: int = 35015;
def ETH_P_PROFINET: int = 34962;
def ETH_P_PRP: int = 35067;
def ETH_P_PUP: int = 512;
def ETH_P_PUPAT: int = 513;
def ETH_P_QINQ1: int = 37120;
def ETH_P_QINQ2: int = 37376;
def ETH_P_QINQ3: int = 37632;
def ETH_P_RARP: int = 32821;
def ETH_P_REALTEK: int = 34969;
def ETH_P_SCA: int = 24583;
def ETH_P_SLOW: int = 34825;
def ETH_P_SNAP: int = 5;
def ETH_P_TDLS: int = 35085;
def ETH_P_TEB: int = 25944;
def ETH_P_TIPC: int = 35018;
def ETH_P_TRAILER: int = 28;
def ETH_P_TR_802_2: int = 17;
def ETH_P_TSN: int = 8944;
def ETH_P_WAN_PPP: int = 7;
def ETH_P_WCCP: int = 34878;
def ETH_P_X25: int = 2053;
def ETH_P_XDSA: int = 248;
def ETIME: errno = 62;
def ETIMEDOUT: errno = 110;
def ETOOMANYREFS: errno = 109;
def ETXTBSY: errno = 26;
def EUCLEAN: errno = 117;
def EUNATCH: errno = 49;
def EUSERS: errno = 87;
def EWOULDBLOCK: errno = EAGAIN;
def EXDEV: errno = 18;
def EXFULL: errno = 54;
def FD_CLOEXEC: int = 1;
def F_DUPFD: int = 0;
def F_DUPFD_CLOEXEC: int = 1030;
def F_GETFD: int = 1;
def F_GETFL: int = 3;
def F_GETLK: int = 12;
def F_GETOWN: int = 9;
def F_GETOWNER_UIDS: int = 17;
def F_GETOWN_EX: int = 16;
def F_GETSIG: int = 11;
def F_OK: int = 0;
def F_RDLCK: i16 = 0;
def F_SETFD: int = 2;
def F_SETFL: int = 4;
def F_SETLK: int = 13;
def F_SETLKW: int = 14;
def F_SETOWN: int = 8;
def F_SETOWN_EX: int = 15;
def F_SETSIG: int = 10;
def F_UNLCK: i16 = 2;
def F_WRLCK: i16 = 1;
def INATTRIB: u32 = 4;
def INCLOSE: u32 = INCLOSEWRITE | INCLOSENOWRITE;
def INCLOSENOWRITE: u32 = 16;
def INCLOSEWRITE: u32 = 8;
def INCREATE: u32 = 256;
def INDELETE: u32 = 512;
def INDELETESELF: u32 = 1024;
def INDONTFOLLOW: u32 = 33554432;
def INEXCLUNLINK: u32 = 67108864;
def INIGNORED: u32 = 32768;
def INISDIR: u32 = 1073741824;
def INMASKADD: u32 = 536870912;
def INMASKCREATE: u32 = 268435456;
def INMODIFY: u32 = 2;
def INMOVE: u32 = INMOVEDFROM | INMOVEDTO;
def INMOVEDFROM: u32 = 64;
def INMOVEDTO: u32 = 128;
def INMOVESELF: u32 = 2048;
def INONESHOT: u32 = 2147483648;
def INONLYDIR: u32 = 16777216;
def INOPEN: u32 = 32;
def INOTIFY_EVENT_MAX_SIZE: size = size(int) + size(u32) * 3 + NAME_MAX + 1z;
def INQOVERFLOW: u32 = 16384;
def INUNMOUNT: u32 = 8192;
def IN_CLOEXEC: int = O_CLOEXEC;
def IORING_ACCEPT_MULTISHOT: u16 = 1 << 0;
def IORING_ASYNC_CANCEL_ALL: u32 = 1 << 0;
def IORING_ASYNC_CANCEL_ANY: u32 = 1 << 2;
def IORING_ASYNC_CANCEL_FD: u32 = 1 << 1;
def IORING_ASYNC_CANCEL_FD_FIXED: u32 = 1 << 3;
def IORING_CQE_BUFFER_SHIFT: u32 = 16;
def IORING_CQE_F_BUFFER: u32 = 1 << 0;
def IORING_CQE_F_MORE: u32 = 1 << 1;
def IORING_CQE_F_NOTIF: u32 = 1 << 3;
def IORING_CQE_F_SOCK_NONEMPTY: u32 = 1 << 2;
def IORING_CQ_EVENTFD_DISABLED: u32 = 1 << 0;
def IORING_ENTER_EXT_ARG: u32 = 1 << 3;
def IORING_ENTER_GETEVENTS: u32 = 1 << 0;
def IORING_ENTER_REGISTERED_RING: u32 = 1 << 4;
def IORING_ENTER_SQ_WAIT: u32 = 1 << 2;
def IORING_ENTER_SQ_WAKEUP: u32 = 1 << 1;
def IORING_FEAT_CQE_SKIP: u32 = 1 << 11;
def IORING_FEAT_CUR_PERSONALITY: u32 = 1 << 4;
def IORING_FEAT_EXT_ARG: u32 = 1 << 8;
def IORING_FEAT_FAST_POLL: u32 = 1 << 5;
def IORING_FEAT_LINKED_FILE: u32 = 1 << 12;
def IORING_FEAT_NATIVE_WORKERS: u32 = 1 << 9;
def IORING_FEAT_NODROP: u32 = 1 << 1;
def IORING_FEAT_POLL_32BITS: u32 = 1 << 6;
def IORING_FEAT_REG_REG_RING: u32 = 1 << 13;
def IORING_FEAT_RSRC_TAGS: u32 = 1 << 10;
def IORING_FEAT_RW_CUR_POS: u32 = 1 << 3;
def IORING_FEAT_SINGLE_MMAP: u32 = 1 << 0;
def IORING_FEAT_SQPOLL_NONFIXED: u32 = 1 << 7;
def IORING_FEAT_SUBMIT_STABLE: u32 = 1 << 2;
def IORING_FILE_INDEX_ALLOC: u32 = ~0;
def IORING_FSYNC_DATASYNC: u32 = 1 << 0;
def IORING_LINK_TIMEOUT_UPDATE: u32 = 1 << 4;
def IORING_MSG_DATA: u64 = 0;
def IORING_MSG_RING_CQE_SKIP: u32 = 1 << 0;
def IORING_MSG_RING_FLAGS_PASS: u32 = 1 << 1;
def IORING_MSG_SEND_FD: u64 = 1;
def IORING_OFF_CQ_RING: u64 = 134217728;
def IORING_OFF_MMAP_MASK: u64 = 4160749568;
def IORING_OFF_PBUF_RING: u64 = 2147483648;
def IORING_OFF_PBUF_SHIFT: u64 = 16;
def IORING_OFF_SQES: u64 = 268435456;
def IORING_OFF_SQ_RING: u64 = 0;
def IORING_OP_ACCEPT: u8 = 13;
def IORING_OP_ASYNC_CANCEL: u8 = 14;
def IORING_OP_CLOSE: u8 = 19;
def IORING_OP_CONNECT: u8 = 16;
def IORING_OP_EPOLL_CTL: u8 = 29;
def IORING_OP_FADVISE: u8 = 24;
def IORING_OP_FALLOCATE: u8 = 17;
def IORING_OP_FGETXATTR: u8 = 43;
def IORING_OP_FILES_UPDATE: u8 = 20;
def IORING_OP_FSETXATTR: u8 = 41;
def IORING_OP_FSYNC: u8 = 3;
def IORING_OP_GETXATTR: u8 = 44;
def IORING_OP_LINKAT: u8 = 39;
def IORING_OP_LINK_TIMEOUT: u8 = 15;
def IORING_OP_MADVISE: u8 = 25;
def IORING_OP_MKDIRAT: u8 = 37;
def IORING_OP_MSG_RING: u8 = 40;
def IORING_OP_NOP: u8 = 0;
def IORING_OP_OPENAT: u8 = 18;
def IORING_OP_OPENAT2: u8 = 28;
def IORING_OP_POLL_ADD: u8 = 6;
def IORING_OP_POLL_REMOVE: u8 = 7;
def IORING_OP_PROVIDE_BUFFERS: u8 = 31;
def IORING_OP_READ: u8 = 22;
def IORING_OP_READV: u8 = 1;
def IORING_OP_READ_FIXED: u8 = 4;
def IORING_OP_RECV: u8 = 27;
def IORING_OP_RECVMSG: u8 = 10;
def IORING_OP_REMOVE_BUFFERS: u8 = 32;
def IORING_OP_RENAMEAT: u8 = 35;
def IORING_OP_SEND: u8 = 26;
def IORING_OP_SENDMSG: u8 = 9;
def IORING_OP_SENDMSG_ZC: u8 = 48;
def IORING_OP_SEND_ZC: u8 = 47;
def IORING_OP_SETXATTR: u8 = 42;
def IORING_OP_SHUTDOWN: u8 = 34;
def IORING_OP_SOCKET: u8 = 45;
def IORING_OP_SPLICE: u8 = 30;
def IORING_OP_STATX: u8 = 21;
def IORING_OP_SYMLINKAT: u8 = 38;
def IORING_OP_SYNC_FILE_RANGE: u8 = 8;
def IORING_OP_TEE: u8 = 33;
def IORING_OP_TIMEOUT: u8 = 11;
def IORING_OP_TIMEOUT_REMOVE: u8 = 12;
def IORING_OP_UNLINKAT: u8 = 36;
def IORING_OP_URING_CMD: u8 = 46;
def IORING_OP_WRITE: u8 = 23;
def IORING_OP_WRITEV: u8 = 2;
def IORING_OP_WRITE_FIXED: u8 = 5;
def IORING_POLL_ADD_LEVEL: u32 = 1 << 3;
def IORING_POLL_ADD_MULTI: u32 = 1 << 0;
def IORING_POLL_UPDATE_EVENTS: u32 = 1 << 1;
def IORING_POLL_UPDATE_USER_DATA: u32 = 1 << 2;
def IORING_RECVSEND_FIXED_BUF: u16 = 1 << 2;
def IORING_RECVSEND_POLL_FIRST: u16 = 1 << 0;
def IORING_RECV_MULTISHOT: u16 = 1 << 1;
def IORING_REGISTER_BUFFERS: uint = 0;
def IORING_REGISTER_BUFFERS2: uint = 15;
def IORING_REGISTER_BUFFERS_UPDATE: uint = 16;
def IORING_REGISTER_ENABLE_RINGS: uint = 12;
def IORING_REGISTER_EVENTFD: uint = 4;
def IORING_REGISTER_EVENTFD_ASYNC: uint = 7;
def IORING_REGISTER_FILES: uint = 2;
def IORING_REGISTER_FILES2: uint = 13;
def IORING_REGISTER_FILES_SKIP: int = -2;
def IORING_REGISTER_FILES_UPDATE: uint = 6;
def IORING_REGISTER_FILES_UPDATE2: uint = 14;
def IORING_REGISTER_FILE_ALLOC_RANGE: uint = 25;
def IORING_REGISTER_IOWQ_AFF: uint = 17;
def IORING_REGISTER_IOWQ_MAX_WORKERS: uint = 19;
def IORING_REGISTER_PBUF_RING: uint = 22;
def IORING_REGISTER_PERSONALITY: uint = 9;
def IORING_REGISTER_PROBE: uint = 8;
def IORING_REGISTER_RESTRICTIONS: uint = 11;
def IORING_REGISTER_RING_FDS: uint = 20;
def IORING_REGISTER_SYNC_CANCEL: uint = 24;
def IORING_REGISTER_USE_REGISTERED_RING: uint = 1 << 31;
def IORING_RESTRICTION_REGISTER_OP: u16 = 0;
def IORING_RESTRICTION_SQE_FLAGS_ALLOWED: u16 = 2;
def IORING_RESTRICTION_SQE_FLAGS_REQUIRED: u16 = 3;
def IORING_RESTRICTION_SQE_OP: u16 = 1;
def IORING_RSRC_REGISTER_SPARSE: u32 = 1 << 0;
def IORING_SEND_ZC_REPORT_USAGE: u16 = 1 << 3;
def IORING_SETUP_ATTACH_WQ: u32 = 1 << 5;
def IORING_SETUP_CLAMP: u32 = 1 << 4;
def IORING_SETUP_COOP_TASKRUN: u32 = 1 << 8;
def IORING_SETUP_CQE32: u32 = 1 << 11;
def IORING_SETUP_CQSIZE: u32 = 1 << 3;
def IORING_SETUP_DEFER_TASKRUN: u32 = 1 << 13;
def IORING_SETUP_IOPOLL: u32 = 1 << 0;
def IORING_SETUP_NO_MMAP: u32 = 1 << 14;
def IORING_SETUP_REGISTERED_FD_ONLY: u32 = 1 << 15;
def IORING_SETUP_R_DISABLED: u32 = 1 << 6;
def IORING_SETUP_SINGLE_ISSUER: u32 = 1 << 12;
def IORING_SETUP_SQE128: u32 = 1 << 10;
def IORING_SETUP_SQPOLL: u32 = 1 << 1;
def IORING_SETUP_SQ_AFF: u32 = 1 << 2;
def IORING_SETUP_SUBMIT_ALL: u32 = 1 << 7;
def IORING_SETUP_TASKRUN_FLAG: u32 = 1 << 9;
def IORING_SQ_CQ_OVERFLOW: u32 = 1 << 1;
def IORING_SQ_NEED_WAKEUP: u32 = 1 << 0;
def IORING_SQ_TASKRUN: u32 = 1 << 2;
def IORING_TIMEOUT_ABS: u32 = 1 << 0;
def IORING_TIMEOUT_BOOTTIME: u32 = 1 << 2;
def IORING_TIMEOUT_ETIME_SUCCESS: u32 = 1 << 5;
def IORING_TIMEOUT_MULTISHOT: u32 = 1 << 6;
def IORING_TIMEOUT_REALTIME: u32 = 1 << 3;
def IORING_TIMEOUT_UPDATE: u32 = 1 << 1;
def IORING_UNREGISTER_BUFFERS: uint = 1;
def IORING_UNREGISTER_EVENTFD: uint = 5;
def IORING_UNREGISTER_FILES: uint = 3;
def IORING_UNREGISTER_IOWQ_AFF: uint = 18;
def IORING_UNREGISTER_PBUF_RING: uint = 23;
def IORING_UNREGISTER_PERSONALITY: uint = 10;
def IORING_UNREGISTER_RING_FDS: uint = 21;
def IORING_URING_CMD_FIXED: u32 = 1 << 0;
def IORING_URING_CMD_POLLED: u32 = 1 << 31;
def IOSQE_ASYNC: u8 = 1 << 4;
def IOSQE_BUFFER_SELECT: u8 = 1 << 5;
def IOSQE_CQE_SKIP_SUCCESS: u8 = 1 << 6;
def IOSQE_FIXED_FILE: u8 = 1 << 0;
def IOSQE_IO_DRAIN: u8 = 1 << 1;
def IOSQE_IO_HARDLINK: u8 = 1 << 3;
def IOSQE_IO_LINK: u8 = 1 << 2;
def IOU_PBUF_RING_MMAP: u16 = 1;
def IO_URING_OP_SUPPORTED: u16 = 1 << 0;
def ITIMER_PROF: int = 2;
def ITIMER_REAL: int = 0;
def ITIMER_VIRTUAL: int = 1;
def LOCK_EX: int = 2;
def LOCK_NB: int = 4;
def LOCK_UN: int = 8;
def MAP_ANON: uint = 32;
def MAP_DENYWRITE: uint = 2048;
def MAP_EXECUTABLE: uint = 4096;
def MAP_FILE: uint = 0;
def MAP_FIXED: uint = 16;
def MAP_FIXED_NOREPLACE: uint = 1048576;
def MAP_GROWSDOWN: uint = 256;
def MAP_HUGETLB: uint = 262144;
def MAP_HUGE_16GB: uint = 34 << 26;
def MAP_HUGE_16MB: uint = 24 << 26;
def MAP_HUGE_1GB: uint = 30 << 26;
def MAP_HUGE_1MB: uint = 20 << 26;
def MAP_HUGE_256MB: uint = 28 << 26;
def MAP_HUGE_2GB: uint = 31 << 26;
def MAP_HUGE_2MB: uint = 21 << 26;
def MAP_HUGE_32MB: uint = 25 << 26;
def MAP_HUGE_512KB: uint = 19 << 26;
def MAP_HUGE_512MB: uint = 29 << 26;
def MAP_HUGE_64KB: uint = 16 << 26;
def MAP_HUGE_8MB: uint = 23 << 26;
def MAP_HUGE_MASK: uint = 63;
def MAP_HUGE_SHIFT: uint = 26;
def MAP_LOCKED: uint = 8192;
def MAP_NONBLOCK: uint = 65536;
def MAP_NORESERVE: uint = 16384;
def MAP_POPULATE: uint = 32768;
def MAP_PRIVATE: uint = 2;
def MAP_SHARED: uint = 1;
def MAP_SHARED_VALIDATE: uint = 3;
def MAP_STACK: uint = 131072;
def MAP_SYNC: uint = 524288;
def MCL_CURRENT: uint = 1;
def MCL_FUTURE: uint = 2;
def MCL_ONFAULT: uint = 4;
def MFD_ALLOW_SEALING: uint = 2;
def MFD_CLOEXEC: uint = 1;
def MFD_HUGETLB: uint = 4;
def MLOCK_ONFAULT: uint = 1;
def MSG_CONFIRM: int = 2048;
def MSG_DONTROUTE: int = 4;
def MSG_DONTWAIT: int = 64;
def MSG_ERRQUEUE: int = 8192;
def MSG_NO_SHARED_FRAGS: int = 524288;
def MSG_PEEK: int = 2;
def MSG_PROBE: int = 16;
def MSG_SYN: int = 1024;
def MSG_TRYHARD: int = 4;
def NAME_MAX: size = 255z;
def NCCS: size = 19;
def NGROUPS_MAX: size = 32;
def NSIG: int = 64;
def O_ACCMODE: int = 3;
def O_APPEND: int = 1024;
def O_CLOEXEC: int = 524288;
def O_CREATE: int = 64;
def O_DIRECT: int = 16384;
def O_DIRECTORY: int = 65536;
def O_DSYNC: int = 4096;
def O_EXCLUSIVE: int = 128;
def O_NOATIME: int = 262144;
def O_NOCTTY: int = 256;
def O_NOFOLLOW: int = 131072;
def O_NONBLOCK: int = 2048;
def O_PATH: int = 2097152;
def O_RDWR: int = 2;
def O_RSYNC: int = 1052672;
def O_SYNC: int = 1052672;
def O_TMPFILE: int = 4194304;
def O_TRUNC: int = 512;
def O_WRONLY: int = 1;
def PATH_MAX: size = 4096z;
def POLLERR: i16 = 8;
def POLLHUP: i16 = 16;
def POLLIN: i16 = 1;
def POLLOUT: i16 = 4;
def POLLPRI: i16 = 2;
def POLLVAL: i16 = 32;
def PRIO_PGRP: int = 1;
def PRIO_PROCESS: int = 0;
def PRIO_USER: int = 2;
def PROT_EXEC: uint = 4;
def PROT_GROWSDOWN: uint = 16777216;
def PROT_GROWSUP: uint = 33554432;
def PROT_NONE: uint = 0;
def PROT_READ: uint = 1;
def PROT_WRITE: uint = 2;
def PR_CAPBSET_DROP = 24;
def PR_CAPBSET_READ = 23;
def PR_CAP_AMBIENT = 47;
def PR_CAP_AMBIENT_CLEAR_ALL = 4;
def PR_CAP_AMBIENT_IS_SET = 1;
def PR_CAP_AMBIENT_LOWER = 3;
def PR_CAP_AMBIENT_RAISE = 2;
def PR_ENDIAN_BIG = 0;
def PR_ENDIAN_LITTLE = 1;
def PR_ENDIAN_PPC_LITTLE = 2;
def PR_FPEMU_NOPRINT = 1;
def PR_FPEMU_SIGFPE = 2;
def PR_FP_EXC_ASYNC = 2;
def PR_FP_EXC_DISABLED = 0;
def PR_FP_EXC_DIV = 65536;
def PR_FP_EXC_INV = 1048576;
def PR_FP_EXC_NONRECOV = 1;
def PR_FP_EXC_OVF = 131072;
def PR_FP_EXC_PRECISE = 3;
def PR_FP_EXC_RES = 524288;
def PR_FP_EXC_SW_ENABLE = 128;
def PR_FP_EXC_UND = 262144;
def PR_FP_MODE_FR = 1 << 0;
def PR_FP_MODE_FRE = 1 << 1;
def PR_GET_CHILD_SUBREAPER = 37;
def PR_GET_DUMPABLE = 3;
def PR_GET_ENDIAN = 19;
def PR_GET_FPEMU = 9;
def PR_GET_FPEXC = 11;
def PR_GET_FP_MODE = 46;
def PR_GET_IO_FLUSHER = 58;
def PR_GET_KEEPCAPS = 7;
def PR_GET_NAME = 16;
def PR_GET_NO_NEW_PRIVS = 39;
def PR_GET_PDEATHSIG = 2;
def PR_GET_SECCOMP = 21;
def PR_GET_SECUREBITS = 27;
def PR_GET_SPECULATION_CTRL = 52;
def PR_GET_TAGGED_ADDR_CTRL = 56;
def PR_GET_THP_DISABLE = 42;
def PR_GET_TID_ADDRESS = 40;
def PR_GET_TIMERSLACK = 30;
def PR_GET_TIMING = 13;
def PR_GET_TSC = 25;
def PR_GET_UNALIGN = 5;
def PR_MCE_KILL = 33;
def PR_MCE_KILL_CLEAR = 0;
def PR_MCE_KILL_DEFAULT = 2;
def PR_MCE_KILL_EARLY = 1;
def PR_MCE_KILL_GET = 34;
def PR_MCE_KILL_LATE = 0;
def PR_MCE_KILL_SET = 1;
def PR_MPX_DISABLE_MANAGEMENT = 44;
def PR_MPX_ENABLE_MANAGEMENT = 43;
def PR_MTE_TAG_MASK = 65535 << 3;
def PR_MTE_TAG_SHIFT = 3;
def PR_MTE_TCF_ASYNC = 2 << 1;
def PR_MTE_TCF_MASK = 3 << 1;
def PR_MTE_TCF_NONE = 0 << 1;
def PR_MTE_TCF_SHIFT = 1;
def PR_MTE_TCF_SYNC = 1 << 1;
def PR_PAC_APDAKEY = 1 << 2;
def PR_PAC_APDBKEY = 1 << 3;
def PR_PAC_APGAKEY = 1 << 4;
def PR_PAC_APIAKEY = 1 << 0;
def PR_PAC_APIBKEY = 1 << 1;
def PR_PAC_RESET_KEYS = 54;
def PR_SET_CHILD_SUBREAPER = 36;
def PR_SET_DUMPABLE = 4;
def PR_SET_ENDIAN = 20;
def PR_SET_FPEMU = 10;
def PR_SET_FPEXC = 12;
def PR_SET_FP_MODE = 45;
def PR_SET_IO_FLUSHER = 57;
def PR_SET_KEEPCAPS = 8;
def PR_SET_MM = 35;
def PR_SET_MM_ARG_END = 9;
def PR_SET_MM_ARG_START = 8;
def PR_SET_MM_AUXV = 12;
def PR_SET_MM_BRK = 7;
def PR_SET_MM_END_CODE = 2;
def PR_SET_MM_END_DATA = 4;
def PR_SET_MM_ENV_END = 11;
def PR_SET_MM_ENV_START = 10;
def PR_SET_MM_EXE_FILE = 13;
def PR_SET_MM_MAP = 14;
def PR_SET_MM_MAP_SIZE = 15;
def PR_SET_MM_START_BRK = 6;
def PR_SET_MM_START_CODE = 1;
def PR_SET_MM_START_DATA = 3;
def PR_SET_MM_START_STACK = 5;
def PR_SET_NAME = 15;
def PR_SET_NO_NEW_PRIVS = 38;
def PR_SET_PDEATHSIG = 1;
def PR_SET_PTRACER = 1499557217;
def PR_SET_PTRACER_ANY = -1;
def PR_SET_SECCOMP = 22;
def PR_SET_SECUREBITS = 28;
def PR_SET_SPECULATION_CTRL = 53;
def PR_SET_SYSCALL_USER_DISPATCH = 59;
def PR_SET_TAGGED_ADDR_CTRL = 55;
def PR_SET_THP_DISABLE = 41;
def PR_SET_TIMERSLACK = 29;
def PR_SET_TIMING = 14;
def PR_SET_TSC = 26;
def PR_SET_UNALIGN = 6;
def PR_SPEC_DISABLE = 1 << 2;
def PR_SPEC_DISABLE_NOEXEC = 1 << 4;
def PR_SPEC_ENABLE = 1 << 1;
def PR_SPEC_FORCE_DISABLE = 1 << 3;
def PR_SPEC_INDIRECT_BRANCH = 1;
def PR_SPEC_NOT_AFFECTED = 0;
def PR_SPEC_PRCTL = 1 << 0;
def PR_SPEC_STORE_BYPASS = 0;
def PR_SVE_GET_VL = 51;
def PR_SVE_SET_VL = 50;
def PR_SVE_SET_VL_ONEXEC = 1 << 18;
def PR_SVE_VL_INHERIT = 1 << 17;
def PR_SVE_VL_LEN_MASK = 65535;
def PR_SYS_DISPATCH_OFF = 0;
def PR_SYS_DISPATCH_ON = 1;
def PR_TAGGED_ADDR_ENABLE = 1 << 0;
def PR_TASK_PERF_EVENTS_DISABLE = 31;
def PR_TASK_PERF_EVENTS_ENABLE = 32;
def PR_TIMING_STATISTICAL = 0;
def PR_TIMING_TIMESTAMP = 1;
def PR_TSC_ENABLE = 1;
def PR_TSC_SIGSEGV = 2;
def PR_UNALIGN_NOPRINT = 1;
def PR_UNALIGN_SIGBUS = 2;
def PTRACE_ATTACH: int = 16;
def PTRACE_CONT: int = 7;
def PTRACE_DETACH: int = 17;
def PTRACE_EVENT_CLONE: int = 3;
def PTRACE_EVENT_EXEC: int = 4;
def PTRACE_EVENT_EXIT: int = 6;
def PTRACE_EVENT_FORK: int = 1;
def PTRACE_EVENT_SECCOMP: int = 7;
def PTRACE_EVENT_STOP: int = 128;
def PTRACE_EVENT_VFORK: int = 2;
def PTRACE_EVENT_VFORK_DONE: int = 5;
def PTRACE_GETEVENTMSG: int = 16897;
def PTRACE_GETFPREGS: int = 14;
def PTRACE_GETFPXREGS: int = 18;
def PTRACE_GETREGS: int = 12;
def PTRACE_GETREGSET: int = 16900;
def PTRACE_GETSIGINFO: int = 16898;
def PTRACE_GETSIGMASK: int = 16906;
def PTRACE_GET_RSEQ_CONFIGURATION: int = 16911;
def PTRACE_GET_SYSCALL_INFO: int = 16910;
def PTRACE_INTERRUPT: int = 16903;
def PTRACE_KILL: int = 8;
def PTRACE_LISTEN: int = 16904;
def PTRACE_O_EXITKILL: u64 = 1048576;
def PTRACE_O_MASK: u64 = 3145983;
def PTRACE_O_SUSPEND_SECCOMP: u64 = 2097152;
def PTRACE_O_TRACECLONE: u64 = 8;
def PTRACE_O_TRACEEXEC: u64 = 16;
def PTRACE_O_TRACEEXIT: u64 = 64;
def PTRACE_O_TRACEFORK: u64 = 2;
def PTRACE_O_TRACESECCOMP: u64 = 128;
def PTRACE_O_TRACESYSGOOD: u64 = 1;
def PTRACE_O_TRACEVFORK: u64 = 4;
def PTRACE_O_TRACEVFORKDONE: u64 = 32;
def PTRACE_PEEKDATA: int = 2;
def PTRACE_PEEKSIGINFO: int = 16905;
def PTRACE_PEEKSIGINFO_SHARED: u32 = 1;
def PTRACE_PEEKTEXT: int = 1;
def PTRACE_PEEKUSER: int = 3;
def PTRACE_POKEDATA: int = 5;
def PTRACE_POKETEXT: int = 4;
def PTRACE_POKEUSER: int = 6;
def PTRACE_SECCOMP_GET_FILTER: int = 16908;
def PTRACE_SECCOMP_GET_METADATA: int = 16909;
def PTRACE_SEIZE: int = 16902;
def PTRACE_SETFPREGS: int = 15;
def PTRACE_SETFPXREGS: int = 19;
def PTRACE_SETOPTIONS: int = 16896;
def PTRACE_SETREGS: int = 13;
def PTRACE_SETREGSET: int = 16901;
def PTRACE_SETSIGINFO: int = 16899;
def PTRACE_SETSIGMASK: int = 16907;
def PTRACE_SINGLESTEP: int = 9;
def PTRACE_SYSCALL: int = 24;
def PTRACE_SYSCALL_INFO_ENTRY: u8 = 1;
def PTRACE_SYSCALL_INFO_EXIT: u8 = 2;
def PTRACE_SYSCALL_INFO_NONE: u8 = 0;
def PTRACE_SYSCALL_INFO_SECCOMP: u8 = 3;
def PTRACE_TRACEME: int = 0;
def RESOLVE_BENEATH: u64 = 8;
def RESOLVE_IN_ROOT: u64 = 16;
def RESOLVE_NO_MAGICLINKS: u64 = 2;
def RESOLVE_NO_SYMLINKS: u64 = 4;
def RESOLVE_NO_XDEV: u64 = 1;
def RLIMIT_AS: int = 9;
def RLIMIT_CORE: int = 4;
def RLIMIT_CPU: int = 0;
def RLIMIT_DATA: int = 2;
def RLIMIT_FSIZE: int = 1;
def RLIMIT_LOCKS: int = 10;
def RLIMIT_MEMLOCK: int = 8;
def RLIMIT_MSGQUEUE: int = 12;
def RLIMIT_NICE: int = 13;
def RLIMIT_NLIMITS: int = 16;
def RLIMIT_NOFILE: int = 7;
def RLIMIT_NPROC: int = 6;
def RLIMIT_RSS: int = 5;
def RLIMIT_RTPRIO: int = 14;
def RLIMIT_RTTIME: int = 15;
def RLIMIT_SIGPENDING: int = 11;
def RLIMIT_STACK: int = 3;
def RLIM_INFINITY: rlim_t = -1;
def R_OK: int = 4;
def SA_NOCLDSTOP: u64 = 1;
def SA_NOCLDWAIT: u64 = 2;
def SA_NODEFER: u64 = 1073741824;
def SA_NOMASK: u64 = SA_NODEFER;
def SA_ONESHOT: u64 = SA_RESETHAND;
def SA_ONSTACK: u64 = 134217728;
def SA_RESETHAND: u64 = 2147483648;
def SA_RESTART: u64 = 268435456;
def SA_RESTORER: u64 = 67108864;
def SA_SIGINFO: u64 = 4;
def SCM_CREDENTIALS: int = 2;
def SCM_RIGHTS: int = 1;
def SEEK_CUR: int = 1;
def SEEK_END: int = 2;
def SEEK_SET: int = 0;
def SFD_CLOEXEC: int = O_CLOEXEC;
def SFD_NONBLOCK: int = O_NONBLOCK;
def SHUT_RD: int = 0;
def SHUT_RDWR: int = 2;
def SHUT_WR: int = 1;
def SIGABRT: int = 6;
def SIGALRM: int = 14;
def SIGBUS: int = 7;
def SIGCHLD: int = 17;
def SIGCONT: int = 18;
def SIGFPE: int = 8;
def SIGHUP: int = 1;
def SIGILL: int = 4;
def SIGINT: int = 2;
def SIGIO: int = 29;
def SIGKILL: int = 9;
def SIGPIPE: int = 13;
def SIGPOLL: int = 29;
def SIGPROF: int = 27;
def SIGPWR: int = 30;
def SIGQUIT: int = 3;
def SIGSEGV: int = 11;
def SIGSTKFLT: int = 16;
def SIGSTOP: int = 19;
def SIGSYS: int = 31;
def SIGTERM: int = 15;
def SIGTRAP: int = 5;
def SIGTSTP: int = 20;
def SIGTTIN: int = 21;
def SIGTTOU: int = 22;
def SIGURG: int = 23;
def SIGUSR1: int = 10;
def SIGUSR2: int = 12;
def SIGVTALRM: int = 26;
def SIGWINCH: int = 28;
def SIGXCPU: int = 24;
def SIGXFSZ: int = 25;
def SIG_BLOCK: int = 0;
def SIG_DFL: uintptr = 0;
def SIG_ERR: uintptr = -1;
def SIG_HOLD: uintptr = 2;
def SIG_IGN: uintptr = 1;
def SIG_SETMASK: int = 2;
def SIG_UNBLOCK: int = 1;
def SOCK_CLOEXEC: int = 524288;
def SOCK_DCCP: int = 6;
def SOCK_DGRAM: int = 2;
def SOCK_NONBLOCK: int = 2048;
def SOCK_PACKET: int = 10;
def SOCK_RAW: int = 3;
def SOCK_RDM: int = 4;
def SOCK_SEQPACKET: int = 5;
def SO_ATTACH_FILTER: int = 26;
def SO_BROADCAST: int = 6;
def SO_BSDCOMPAT: int = 14;
def SO_DETATCH_FILTER: int = 27;
def SO_DONTROUTE: int = 5;
def SO_ERROR: int = 4;
def SO_KEEPALIVE: int = 9;
def SO_LINGER: int = 13;
def SO_LOCK_FILTER: int = 44;
def SO_NO_CHECK: int = 11;
def SO_OOBINLINE: int = 10;
def SO_PEERCRED: int = 17;
def SO_PRIORITY: int = 12;
def SO_RCVBUF: int = 8;
def SO_RCVBUFFORCE: int = 33;
def SO_RCVLOWAT: int = 18;
def SO_RCVTIMEO_OLD: int = 20;
def SO_REUSEADDR: int = 2;
def SO_REUSEPORT: int = 15;
def SO_SNDBUF: int = 7;
def SO_SNDBUFFORCE: int = 32;
def SO_SNDLOWAT: int = 19;
def SO_SNDTIMEO_OLD: int = 21;
def SO_TYPE: int = 3;
def SPLICE_F_FD_IN_FIXED: u32 = 1 << 31;
def SPLICE_F_GIFT: uint = 8;
def SPLICE_F_MORE: uint = 4;
def SPLICE_F_MOVE: uint = 1;
def SPLICE_F_NONBLOCK: uint = 2;
def STDERR_FILENO: int = 2;
def STDIN_FILENO: int = 0;
def STDOUT_FILENO: int = 1;
def SYSCALL_DISPATCH_FILTER_ALLOW = 0;
def SYSCALL_DISPATCH_FILTER_BLOCK = 1;
def SYS__sysctl: u64 = 156;
def SYS_accept: u64 = 43;
def SYS_accept4: u64 = 288;
def SYS_access: u64 = 21;
def SYS_acct: u64 = 163;
def SYS_add_key: u64 = 248;
def SYS_adjtimex: u64 = 159;
def SYS_afs_syscall: u64 = 183;
def SYS_alarm: u64 = 37;
def SYS_arch_prctl: u64 = 158;
def SYS_bind: u64 = 49;
def SYS_bpf: u64 = 321;
def SYS_brk: u64 = 12;
def SYS_capget: u64 = 125;
def SYS_capset: u64 = 126;
def SYS_chdir: u64 = 80;
def SYS_chmod: u64 = 90;
def SYS_chown: u64 = 92;
def SYS_chroot: u64 = 161;
def SYS_clock_adjtime: u64 = 305;
def SYS_clock_getres: u64 = 229;
def SYS_clock_gettime: u64 = 228;
def SYS_clock_nanosleep: u64 = 230;
def SYS_clock_settime: u64 = 227;
def SYS_clone: u64 = 56;
def SYS_close: u64 = 3;
def SYS_connect: u64 = 42;
def SYS_copy_file_range: u64 = 326;
def SYS_creat: u64 = 85;
def SYS_create_module: u64 = 174;
def SYS_delete_module: u64 = 176;
def SYS_dup: u64 = 32;
def SYS_dup2: u64 = 33;
def SYS_dup3: u64 = 292;
def SYS_epoll_create: u64 = 213;
def SYS_epoll_create1: u64 = 291;
def SYS_epoll_ctl: u64 = 233;
def SYS_epoll_ctl_old: u64 = 214;
def SYS_epoll_pwait: u64 = 281;
def SYS_epoll_wait: u64 = 232;
def SYS_epoll_wait_old: u64 = 215;
def SYS_eventfd: u64 = 284;
def SYS_eventfd2: u64 = 290;
def SYS_execve: u64 = 59;
def SYS_execveat: u64 = 322;
def SYS_exit: u64 = 60;
def SYS_exit_group: u64 = 231;
def SYS_faccessat: u64 = 269;
def SYS_faccessat2: u64 = 439;
def SYS_fadvise64: u64 = 221;
def SYS_fallocate: u64 = 285;
def SYS_fanotify_init: u64 = 300;
def SYS_fanotify_mark: u64 = 301;
def SYS_fchdir: u64 = 81;
def SYS_fchmod: u64 = 91;
def SYS_fchmodat: u64 = 268;
def SYS_fchown: u64 = 93;
def SYS_fchownat: u64 = 260;
def SYS_fcntl: u64 = 72;
def SYS_fdatasync: u64 = 75;
def SYS_fgetxattr: u64 = 193;
def SYS_finit_module: u64 = 313;
def SYS_flistxattr: u64 = 196;
def SYS_flock: u64 = 73;
def SYS_fork: u64 = 57;
def SYS_fremovexattr: u64 = 199;
def SYS_fsconfig: u64 = 431;
def SYS_fsetxattr: u64 = 190;
def SYS_fsmount: u64 = 432;
def SYS_fsopen: u64 = 430;
def SYS_fspick: u64 = 433;
def SYS_fstat: u64 = 5;
def SYS_fstatfs: u64 = 138;
def SYS_fsync: u64 = 74;
def SYS_ftruncate: u64 = 77;
def SYS_futex: u64 = 202;
def SYS_futimesat: u64 = 261;
def SYS_get_kernel_syms: u64 = 177;
def SYS_get_mempolicy: u64 = 239;
def SYS_get_robust_list: u64 = 274;
def SYS_get_thread_area: u64 = 211;
def SYS_getcpu: u64 = 309;
def SYS_getcwd: u64 = 79;
def SYS_getdents: u64 = 78;
def SYS_getdents64: u64 = 217;
def SYS_getegid: u64 = 108;
def SYS_geteuid: u64 = 107;
def SYS_getgid: u64 = 104;
def SYS_getgroups: u64 = 115;
def SYS_getitimer: u64 = 36;
def SYS_getpeername: u64 = 52;
def SYS_getpgid: u64 = 121;
def SYS_getpgrp: u64 = 111;
def SYS_getpid: u64 = 39;
def SYS_getpmsg: u64 = 181;
def SYS_getppid: u64 = 110;
def SYS_getpriority: u64 = 140;
def SYS_getrandom: u64 = 318;
def SYS_getresgid: u64 = 120;
def SYS_getresuid: u64 = 118;
def SYS_getrlimit: u64 = 97;
def SYS_getrusage: u64 = 98;
def SYS_getsid: u64 = 124;
def SYS_getsockname: u64 = 51;
def SYS_getsockopt: u64 = 55;
def SYS_gettid: u64 = 186;
def SYS_gettimeofday: u64 = 96;
def SYS_getuid: u64 = 102;
def SYS_getxattr: u64 = 191;
def SYS_init_module: u64 = 175;
def SYS_inotify_add_watch: u64 = 254;
def SYS_inotify_init: u64 = 253;
def SYS_inotify_init1: u64 = 294;
def SYS_inotify_rm_watch: u64 = 255;
def SYS_io_cancel: u64 = 210;
def SYS_io_destroy: u64 = 207;
def SYS_io_getevents: u64 = 208;
def SYS_io_pgetevents: u64 = 333;
def SYS_io_setup: u64 = 206;
def SYS_io_submit: u64 = 209;
def SYS_io_uring_enter: u64 = 426;
def SYS_io_uring_register: u64 = 427;
def SYS_io_uring_setup: u64 = 425;
def SYS_ioctl: u64 = 16;
def SYS_ioperm: u64 = 173;
def SYS_iopl: u64 = 172;
def SYS_ioprio_get: u64 = 252;
def SYS_ioprio_set: u64 = 251;
def SYS_kcmp: u64 = 312;
def SYS_kexec_file_load: u64 = 320;
def SYS_kexec_load: u64 = 246;
def SYS_keyctl: u64 = 250;
def SYS_kill: u64 = 62;
def SYS_lchown: u64 = 94;
def SYS_lgetxattr: u64 = 192;
def SYS_link: u64 = 86;
def SYS_linkat: u64 = 265;
def SYS_listen: u64 = 50;
def SYS_listxattr: u64 = 194;
def SYS_llistxattr: u64 = 195;
def SYS_lookup_dcookie: u64 = 212;
def SYS_lremovexattr: u64 = 198;
def SYS_lseek: u64 = 8;
def SYS_lsetxattr: u64 = 189;
def SYS_lstat: u64 = 6;
def SYS_madvise: u64 = 28;
def SYS_mbind: u64 = 237;
def SYS_membarrier: u64 = 324;
def SYS_memfd_create: u64 = 319;
def SYS_migrate_pages: u64 = 256;
def SYS_mincore: u64 = 27;
def SYS_mkdir: u64 = 83;
def SYS_mkdirat: u64 = 258;
def SYS_mknod: u64 = 133;
def SYS_mknodat: u64 = 259;
def SYS_mlock: u64 = 149;
def SYS_mlock2: u64 = 325;
def SYS_mlockall: u64 = 151;
def SYS_mmap: u64 = 9;
def SYS_modify_ldt: u64 = 154;
def SYS_mount: u64 = 165;
def SYS_move_mount: u64 = 429;
def SYS_move_pages: u64 = 279;
def SYS_mprotect: u64 = 10;
def SYS_mq_getsetattr: u64 = 245;
def SYS_mq_notify: u64 = 244;
def SYS_mq_open: u64 = 240;
def SYS_mq_timedreceive: u64 = 243;
def SYS_mq_timedsend: u64 = 242;
def SYS_mq_unlink: u64 = 241;
def SYS_mremap: u64 = 25;
def SYS_msgctl: u64 = 71;
def SYS_msgget: u64 = 68;
def SYS_msgrcv: u64 = 70;
def SYS_msgsnd: u64 = 69;
def SYS_msync: u64 = 26;
def SYS_munlock: u64 = 150;
def SYS_munlockall: u64 = 152;
def SYS_munmap: u64 = 11;
def SYS_name_to_handle_at: u64 = 303;
def SYS_nanosleep: u64 = 35;
def SYS_newfstatat: u64 = 262;
def SYS_nfsservctl: u64 = 180;
def SYS_open: u64 = 2;
def SYS_open_by_handle_at: u64 = 304;
def SYS_open_tree: u64 = 428;
def SYS_openat: u64 = 257;
def SYS_openat2: u64 = 437;
def SYS_pause: u64 = 34;
def SYS_perf_event_open: u64 = 298;
def SYS_personality: u64 = 135;
def SYS_pidfd_send_signal: u64 = 424;
def SYS_pipe: u64 = 22;
def SYS_pipe2: u64 = 293;
def SYS_pivot_root: u64 = 155;
def SYS_pkey_alloc: u64 = 330;
def SYS_pkey_free: u64 = 331;
def SYS_pkey_mprotect: u64 = 329;
def SYS_poll: u64 = 7;
def SYS_ppoll: u64 = 271;
def SYS_prctl: u64 = 157;
def SYS_pread64: u64 = 17;
def SYS_preadv: u64 = 295;
def SYS_preadv2: u64 = 327;
def SYS_prlimit64: u64 = 302;
def SYS_process_vm_readv: u64 = 310;
def SYS_process_vm_writev: u64 = 311;
def SYS_pselect6: u64 = 270;
def SYS_ptrace: u64 = 101;
def SYS_putpmsg: u64 = 182;
def SYS_pwrite64: u64 = 18;
def SYS_pwritev: u64 = 296;
def SYS_pwritev2: u64 = 328;
def SYS_query_module: u64 = 178;
def SYS_quotactl: u64 = 179;
def SYS_read: u64 = 0;
def SYS_readahead: u64 = 187;
def SYS_readlink: u64 = 89;
def SYS_readlinkat: u64 = 267;
def SYS_readv: u64 = 19;
def SYS_reboot: u64 = 169;
def SYS_recvfrom: u64 = 45;
def SYS_recvmmsg: u64 = 299;
def SYS_recvmsg: u64 = 47;
def SYS_remap_file_pages: u64 = 216;
def SYS_removexattr: u64 = 197;
def SYS_rename: u64 = 82;
def SYS_renameat: u64 = 264;
def SYS_renameat2: u64 = 316;
def SYS_request_key: u64 = 249;
def SYS_restart_syscall: u64 = 219;
def SYS_rmdir: u64 = 84;
def SYS_rseq: u64 = 334;
def SYS_rt_sigaction: u64 = 13;
def SYS_rt_sigpending: u64 = 127;
def SYS_rt_sigprocmask: u64 = 14;
def SYS_rt_sigqueueinfo: u64 = 129;
def SYS_rt_sigreturn: u64 = 15;
def SYS_rt_sigsuspend: u64 = 130;
def SYS_rt_sigtimedwait: u64 = 128;
def SYS_rt_tgsigqueueinfo: u64 = 297;
def SYS_sched_get_priority_max: u64 = 146;
def SYS_sched_get_priority_min: u64 = 147;
def SYS_sched_getaffinity: u64 = 204;
def SYS_sched_getattr: u64 = 315;
def SYS_sched_getparam: u64 = 143;
def SYS_sched_getscheduler: u64 = 145;
def SYS_sched_rr_get_interval: u64 = 148;
def SYS_sched_setaffinity: u64 = 203;
def SYS_sched_setattr: u64 = 314;
def SYS_sched_setparam: u64 = 142;
def SYS_sched_setscheduler: u64 = 144;
def SYS_sched_yield: u64 = 24;
def SYS_seccomp: u64 = 317;
def SYS_security: u64 = 185;
def SYS_select: u64 = 23;
def SYS_semctl: u64 = 66;
def SYS_semget: u64 = 64;
def SYS_semop: u64 = 65;
def SYS_semtimedop: u64 = 220;
def SYS_sendfile: u64 = 40;
def SYS_sendmmsg: u64 = 307;
def SYS_sendmsg: u64 = 46;
def SYS_sendto: u64 = 44;
def SYS_set_mempolicy: u64 = 238;
def SYS_set_robust_list: u64 = 273;
def SYS_set_thread_area: u64 = 205;
def SYS_set_tid_address: u64 = 218;
def SYS_setdomainname: u64 = 171;
def SYS_setfsgid: u64 = 123;
def SYS_setfsuid: u64 = 122;
def SYS_setgid: u64 = 106;
def SYS_setgroups: u64 = 116;
def SYS_sethostname: u64 = 170;
def SYS_setitimer: u64 = 38;
def SYS_setns: u64 = 308;
def SYS_setpgid: u64 = 109;
def SYS_setpriority: u64 = 141;
def SYS_setregid: u64 = 114;
def SYS_setresgid: u64 = 119;
def SYS_setresuid: u64 = 117;
def SYS_setreuid: u64 = 113;
def SYS_setrlimit: u64 = 160;
def SYS_setsid: u64 = 112;
def SYS_setsockopt: u64 = 54;
def SYS_settimeofday: u64 = 164;
def SYS_setuid: u64 = 105;
def SYS_setxattr: u64 = 188;
def SYS_shmat: u64 = 30;
def SYS_shmctl: u64 = 31;
def SYS_shmdt: u64 = 67;
def SYS_shmget: u64 = 29;
def SYS_shutdown: u64 = 48;
def SYS_sigaltstack: u64 = 131;
def SYS_signalfd: u64 = 282;
def SYS_signalfd4: u64 = 289;
def SYS_socket: u64 = 41;
def SYS_socketpair: u64 = 53;
def SYS_splice: u64 = 275;
def SYS_stat: u64 = 4;
def SYS_statfs: u64 = 137;
def SYS_statx: u64 = 332;
def SYS_swapoff: u64 = 168;
def SYS_swapon: u64 = 167;
def SYS_symlink: u64 = 88;
def SYS_symlinkat: u64 = 266;
def SYS_sync: u64 = 162;
def SYS_sync_file_range: u64 = 277;
def SYS_syncfs: u64 = 306;
def SYS_sysfs: u64 = 139;
def SYS_sysinfo: u64 = 99;
def SYS_syslog: u64 = 103;
def SYS_tee: u64 = 276;
def SYS_tgkill: u64 = 234;
def SYS_time: u64 = 201;
def SYS_timer_create: u64 = 222;
def SYS_timer_delete: u64 = 226;
def SYS_timer_getoverrun: u64 = 225;
def SYS_timer_gettime: u64 = 224;
def SYS_timer_settime: u64 = 223;
def SYS_timerfd_create: u64 = 283;
def SYS_timerfd_gettime: u64 = 287;
def SYS_timerfd_settime: u64 = 286;
def SYS_times: u64 = 100;
def SYS_tkill: u64 = 200;
def SYS_truncate: u64 = 76;
def SYS_tuxcall: u64 = 184;
def SYS_umask: u64 = 95;
def SYS_umount2: u64 = 166;
def SYS_uname: u64 = 63;
def SYS_unlink: u64 = 87;
def SYS_unlinkat: u64 = 263;
def SYS_unshare: u64 = 272;
def SYS_uselib: u64 = 134;
def SYS_userfaultfd: u64 = 323;
def SYS_ustat: u64 = 136;
def SYS_utime: u64 = 132;
def SYS_utimensat: u64 = 280;
def SYS_utimes: u64 = 235;
def SYS_vfork: u64 = 58;
def SYS_vhangup: u64 = 153;
def SYS_vmsplice: u64 = 278;
def SYS_vserver: u64 = 236;
def SYS_wait4: u64 = 61;
def SYS_waitid: u64 = 247;
def SYS_write: u64 = 1;
def SYS_writev: u64 = 20;
def S_IFBLK: mode_t = 24576;
def S_IFCHR: mode_t = 8192;
def S_IFDIR: mode_t = 16384;
def S_IFIFO: mode_t = 4096;
def S_IFLNK: mode_t = 40960;
def S_IFREG: mode_t = 32768;
def S_IFSOCK: mode_t = 49152;
def TCGETS: u64 = 21505;
def TCSETS: u64 = 21506;
def TFD_CLOEXEC: int = O_CLOEXEC;
def TFD_NONBLOCK: int = O_NONBLOCK;
def TFD_TIMER_ABSTIME: int = 1;
def TFD_TIMER_CANCEL_ON_SET: int = 2;
def TIOCGPTN: u64 = 2147767344;
def TIOCGPTPEER: u64 = 21569;
def TIOCGWINSZ: u64 = 21523;
def TIOCNOTTY: u64 = 21538;
def TIOCSCTTY: u64 = 21518;
def TIOCSPGRP: u64 = 21520;
def TIOCSPTLCK: u64 = 1074025521;
def TIOCSWINSZ: u64 = 21524;
def UNIX_PATH_MAX: size = 108;
def UTIME_OMIT = 1073741822;
def WCONTINUED: int = 8;
def WEXITED: int = 4;
def WNOHANG: int = 1;
def WNOWAIT: int = 16777216;
def WSTOPPED: int = 2;
def WUNTRACED: int = 2;
def W_OK: int = 2;
def X_OK: int = 1;

Globals

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

Functions

fn access(path: path, mode: int) (bool | errno);
fn clone(stack: nullable *opaque, flags: int, parent_tid: nullable *int, child_tid: nullable *int, tls: u64) (int | void | errno);
fn cpuid_getvendor() (cpuid_vendor | cpuid_unknownvendor);
fn cpuid_hasflags(edx: u32, ecx: u32) bool;
fn errname(err: errno) str;
fn faccessat(dirfd: int, path: path, mode: int, flags: int) (bool | errno);
fn fini() void;
fn fork() (pid_t | void | errno);
@symbol("rt.free") fn free_(p: nullable *opaque) void;
fn getcwd() (*const u8 | errno);
fn getmeta(p: *opaque) *meta;
fn getxattr(path: path, name: str, value: []u8) (u64 | errno);
fn init() void;
fn malloc(n: size) nullable *opaque;
fn onabort(handler: *abort_handler) void;
fn realloc(p: nullable *opaque, n: size) nullable *opaque;
fn removexattr(path: path, name: str) (void | errno);
fn setxattr(path: path, name: str, value: []u8, flags: int = 0) (void | errno);
fn strerror(err: errno) str;

// Undocumented functions:
@symbol("rt.abort") fn _abort(path: *str, line: u64, col: u64, msg: str) never;
fn abort_fixed(path: *str, line: u64, col: u64, i: u64) void;
fn accept(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32) (int | errno);
fn accept4(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32, flags: int) (int | errno);
fn add_key(keytype: *const u8, name: *const u8, payload: *opaque, plen: size, keyring: int) (int | errno);
fn alarm(sec: uint) uint;
fn bind(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);
fn chdir(path: path) (void | errno);
fn chmod(path: path, mode: uint) (void | errno);
fn chown(path: path, uid: uint, gid: uint) (void | errno);
fn chroot(path: path) (void | errno);
fn clock_gettime(clock_id: int, tp: *timespec) (void | errno);
fn clock_settime(clock_id: int, tp: *const timespec) (void | errno);
fn close(fd: int) (void | errno);
fn connect(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);
fn dup(fd: int) (int | errno);
fn dup2(oldfd: int, newfd: int) (int | errno);
fn dup3(oldfd: int, newfd: int, flags: int) (int | errno);
fn ensure(s: *slice, membsz: size) void;
fn epoll_create(size_: int) (int | errno);
fn epoll_create1(flags: int) (int | errno);
fn epoll_ctl(epfd: int, op: int, fd: int, event: nullable *epoll_event) (void | errno);
fn epoll_pwait(epfd: int, events: *epoll_event, maxevents: int, timeout: int, sigmask: nullable *sigset) (int | errno);
fn epoll_wait(epfd: int, events: *epoll_event, maxevents: int, timeout: int) (int | errno);
fn eventfd(initval: uint, flags: int) (int | errno);
fn execve(path: path, argv: *[*]nullable *const u8, envp: *[*]nullable *const u8) errno;
fn execveat(dirfd: int, path: path, argv: *[*]nullable *const u8, envp: *[*]nullable *const u8, flags: int) errno;
fn exit(status: int) never;
fn fallocate(fd: int, mode: int, off: i64, ln: i64) (void | errno);
fn fchdir(fd: int) (void | errno);
fn fchmod(fd: int, mode: uint) (void | errno);
fn fchmodat(dirfd: int, path: path, mode: uint, flags: int) (void | errno);
fn fchown(fd: int, uid: uint, gid: uint) (void | errno);
fn fchownat(dirfd: int, path: path, uid: uint, gid: uint, flags: int) (void | errno);
fn fcntl(fd: int, cmd: int, arg: fcntl_arg) (int | errno);
fn fdatasync(fd: int) (void | errno);
fn feclearexcept(ex: uint) void;
fn fegetround() uint;
fn feraiseexcept(ex: uint) void;
fn fesetround(mode: uint) void;
fn fetestexcept(ex: uint) uint;
fn flock(fd: int, op: int) (void | errno);
fn fstat(fd: int, statbuf: *st) (errno | void);
fn fstatat(dirfd: int, path: path, statbuf: *st, flags: int) (errno | void);
fn fsync(fd: int) (void | errno);
fn ftruncate(fd: int, ln: off_t) (void | errno);
fn futimens(fd: int, ts: *[2]timespec) (void | errno);
fn getdents64(dirfd: int, dirp: *opaque, count: size) (size | errno);
fn getgroups(gids: []gid_t) (uint | errno);
fn getitimer(which: int, cur: *itimerval) (void | errno);
fn getpeername(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32) (int | errno);
fn getpgid(pid: pid_t) (pid_t | errno);
fn getpgrp() pid_t;
fn getpid() pid_t;
fn getppid() pid_t;
fn getpriority(which: int, who: id_t) (int | errno);
fn getrandom(buf: *opaque, bufln: size, flags: uint) (size | errno);
fn getresgid(gid: *gid_t, egid: *gid_t, sgid: *gid_t) (void | errno);
fn getresuid(uid: *uid_t, euid: *uid_t, suid: *uid_t) (void | errno);
fn getrlimit(resource: int, rlim: *rlimit) (void | errno);
fn getsid(pid: pid_t) (pid_t | errno);
fn getsockname(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32) (int | errno);
fn getsockopt(sockfd: int, level: int, optname: int, optval: nullable *opaque, optlen: nullable *u32) (int | errno);
fn inotify_add_watch(fd: int, path: path, mask: u32) (int | errno);
fn inotify_init() (int | errno);
fn inotify_init1(flags: int) (int | errno);
fn inotify_rm_watch(fd: int, wd: int) (int | errno);
fn io_uring_enter(fd: int, to_submit: uint, min_complete: uint, flags: uint, sig: const nullable *sigset) (uint | errno);
fn io_uring_enter2(fd: int, to_submit: uint, min_complete: uint, flags: uint, arg: const nullable *opaque, argsz: size) (uint | errno);
fn io_uring_register(fd: int, opcode: uint, arg: nullable *opaque, nr_args: uint) (int | errno);
fn io_uring_setup(entries: u32, params: *io_uring_params) (int | errno);
fn ioctl(fd: int, req: u64, arg: ioctl_arg) (int | errno);
fn keyctl(operation: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);
fn kill(pid: pid_t, signal: int) (void | errno);
fn linkat(olddirfd: int, oldpath: path, newdirfd: int, newpath: path, flags: int) (void | errno);
fn listen(sockfd: int, backlog: u32) (int | errno);
fn longjmp(buf: *jmp_buf, n: int) never;
fn lseek(fd: int, off: i64, whence: int) (i64 | errno);
fn lstat(path: path, statbuf: *st) (errno | void);
fn memcpy(dest: *opaque, src: *const opaque, n: size) void;
fn memfd_create(name: path, flags: uint) (int | errno);
fn memmove(dest: *opaque, src: *const opaque, n: size) void;
fn memset(dest: *opaque, val: u8, n: size) void;
fn mkdev(major: u32, minor: u32) dev_t;
fn mkdir(path: path, mode: uint) (void | errno);
fn mkdirat(dirfd: int, path: path, mode: uint) (void | errno);
fn mknodat(dirfd: int, path: path, mode: mode_t, dev: dev_t) (void | errno);
fn mlock2(addr: *opaque, length: size, flags: uint) (void | errno);
fn mlockall(flags: uint) (void | errno);
fn mmap(addr: nullable *opaque, length: size, prot: uint, flags: uint, fd: int, offs: size) (*opaque | errno);
fn mount(source: path, target: path, filesystemtype: *const u8, mountflags: u64, data: nullable *opaque) (void | errno);
fn mprotect(addr: *opaque, length: size, prot: uint) (void | errno);
fn mremap(old_addr: *opaque, old_len: size, new_len: size, flags: uint, new_addr: nullable *opaque) (*opaque | errno);
fn munlock(addr: *opaque, length: size) (void | errno);
fn munlockall() (void | errno);
fn munmap(addr: *opaque, length: size) (void | errno);
fn nanosleep(req: *const timespec, rem: *timespec) (void | errno);
fn newheap() memory_heap;
fn open(path: path, flags: int, mode: uint) (int | errno);
fn openat2(dirfd: int, path: path, how: *open_how, how_sz: size) (int | errno);
fn pipe2(pipefd: *[2]int, flags: int) (void | errno);
fn poll(fds: *[*]pollfd, nfds: nfds_t, timeout: int) (int | errno);
fn posix_fallocate(fd: int, off: i64, ln: i64) (void | errno);
fn ppoll(fds: *[*]pollfd, nfds: nfds_t, timeout: const nullable *timespec, sigmask: const nullable *sigset) (int | errno);
fn prctl(option: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);
fn ptrace(request: int, pid: pid_t, addr: uintptr, data: uintptr) (u64 | errno);
fn read(fd: int, buf: *opaque, count: size) (size | errno);
fn readlinkat(dirfd: int, path: path, buf: []u8) (size | errno);
fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);
fn recv(sockfd: int, buf: *opaque, len_: size, flags: int) (size | errno);
fn recvfrom(sockfd: int, buf: *opaque, len_: size, flags: int, src_addr: nullable *sockaddr, addrlen: nullable *u32) (size | errno);
fn recvmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);
fn renameat(olddirfd: int, oldpath: path, newdirfd: int, newpath: path, flags: uint) (void | errno);
fn sched_getaffinity(pid: pid_t, cpusetsize: size, mask: *cpu_set) (void | errno);
fn sched_setaffinity(pid: pid_t, cpusetsize: size, mask: *const cpu_set) (void | errno);
fn send(sockfd: int, buf: *opaque, len_: size, flags: int) (size | errno);
fn sendfile(out: int, in: int, offs: nullable *size, count: size) (size | errno);
fn sendmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);
fn sendto(sockfd: int, buf: *opaque, len_: size, flags: int, dest_addr: nullable *sockaddr, addrlen: u32) (size | errno);
fn setgroups(gids: []gid_t) (void | errno);
fn setitimer(which: int, newval: *itimerval, oldval: nullable *itimerval) (void | errno);
fn setjmp(buf: *jmp_buf) int;
fn setpgid(pid: pid_t, pgid: pid_t) (void | errno);
fn setpriority(which: int, who: id_t, prio: int) (void | errno);
fn setresgid(gid: gid_t, egid: gid_t, sgid: gid_t) (void | errno);
fn setresuid(uid: uid_t, euid: uid_t, suid: uid_t) (void | errno);
fn setrlimit(resource: int, rlim: *const rlimit) (void | errno);
fn setsid() (void | errno);
fn setsockopt(sockfd: int, level: int, optname: int, optval: *opaque, optlen: u32) (int | errno);
fn shmat(id: int, addr: *const opaque, flag: int) *opaque;
fn shutdown(sockfd: int, how: int) (void | errno);
fn sigaction(signum: int, act: *const sigact, old: nullable *sigact) (int | errno);
fn sigaddset(set: *sigset, signum: int) (void | errno);
fn sigaltstack(ss: nullable *stack_t, old_ss: nullable *stack_t) (void | errno);
fn sigdelset(set: *sigset, signum: int) (void | errno);
fn sigemptyset(set: *sigset) void;
fn sigfillset(set: *sigset) void;
fn sigismember(set: *sigset, signum: int) (bool | errno);
fn signalfd(fd: int, mask: *const sigset, flags: int) (int | errno);
fn sigprocmask(how: int, set: nullable *const sigset, old: nullable *sigset) (int | errno);
fn sigqueueinfo(tgid: pid_t, sig: int, info: *siginfo) (void | errno);
fn sigtimedwait(set: *sigset, info: nullable *siginfo, timeout: nullable *timespec) (int | errno);
fn sigwait(set: *sigset, sig: *int) (void | errno);
fn sigwaitinfo(set: *sigset, info: nullable *siginfo) (int | errno);
fn socket(domain: int, type_: int, protocol: int) (int | errno);
fn socketpair(domain: int, type_: int, protocol: int, sv: *[2]int) (int | errno);
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() never;
fn start_linux(iv: *[*]uintptr) never;
fn stat(path: path, statbuf: *st) (errno | void);
fn strcmp(_a: str, _b: str) bool;
fn symlinkat(target: path, newdirfd: int, linkpath: path) (void | errno);
fn sync() void;
fn syscall(num: u64, args: u64...) u64;
fn tee(fd_in: int, fd_out: int, ln: size, flags: uint) (size | errno);
fn timerfd_create(clock_id: int, flags: int) (int | errno);
fn timerfd_gettime(fd: int, curr_value: *itimerspec) (int | errno);
fn timerfd_settime(fd: int, flags: int, new_value: *const itimerspec, old_value: nullable *itimerspec) (int | errno);
fn umask(mode: mode_t) (mode_t | errno);
fn umount2(target: path, flags: int) (void | errno);
fn uname(uts: *utsname) (void | errno);
fn unensure(s: *slice, membsz: size) void;
fn unlink(path: path) (void | errno);
fn unlinkat(dirfd: int, path: path, flags: int) (void | errno);
fn utimensat(dirfd: int, path: str, ts: *[2]timespec, flags: int) (void | errno);
fn wait4(pid: pid_t, wstatus: nullable *int, options: int, rusage: nullable *rusage) (pid_t | errno);
fn wcoredump(s: int) int;
fn wexitstatus(s: int) int;
fn wifcontinued(s: int) bool;
fn wifexited(s: int) bool;
fn wifsignaled(s: int) bool;
fn wifstopped(s: int) bool;
fn write(fd: int, buf: *const opaque, count: size) (size | errno);
fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);
fn wstopsig(s: int) int;
fn wtermsig(s: int) int;

Types

type abort_handler[link]

type abort_handler = fn(path: *str, line: u64, col: u64, msg: str) never;

Signature for abort handler function.

type chunk[link]

type chunk = union {
	// TODO: track number of active allocations here
	padding: size,
	data: [*]u8,
};

A group of blocks that were allocated together.

type meta[link]

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

Metadata for a block.

type st[link]

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

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

type _io_uring_cqe[link]

Show undocumented member
type _io_uring_cqe = struct {
	user_data: u64,
	res: i32,
	flags: u32,
};

type arch_jmp_buf[link]

Show undocumented member
type arch_jmp_buf = [8]u64;

type cc[link]

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

type clock_t[link]

Show undocumented member
type clock_t = i64;

type cmsg[link]

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

type cmsghdr[link]

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

type cpu_set[link]

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

type cpuid_ecxflag[link]

Show undocumented member
type cpuid_ecxflag = enum uint {
	SSE3 = 1 << 0,
	AES = 1 << 25,
	AVX = 1 << 28,
};

type cpuid_edxflag[link]

Show undocumented member
type cpuid_edxflag = enum uint {
	SSE = 1 << 25,
	SSE2 = 1 << 26,
};

type cpuid_vendor[link]

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

type dev_t[link]

Show undocumented member
type dev_t = u64;

type dirent64[link]

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

type epoll_data[link]

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

type epoll_event[link]

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

type f_owner_ex[link]

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

type fcntl_arg[link]

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

type gid_t[link]

Show undocumented member
type gid_t = uint;

type id_t[link]

Show undocumented member
type id_t = uint;

type in6_addr[link]

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

type in_addr[link]

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

type ino_t[link]

Show undocumented member
type ino_t = u64;

type inotify_event[link]

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

type io_cqring_offsets[link]

Show undocumented member
type io_cqring_offsets = struct {
	head: u32,
	tail: u32,
	ring_mask: u32,
	ring_entries: u32,
	overflow: u32,
	cqes: u32,
	flags: u32,
	resv1: u32,
	user_addr: u64,
};

type io_sqring_offsets[link]

Show undocumented member
type io_sqring_offsets = struct {
	head: u32,
	tail: u32,
	ring_mask: u32,
	ring_entries: u32,
	flags: u32,
	dropped: u32,
	array: u32,
	resv1: u32,
	user_addr: u64,
};

type io_uring_buf[link]

Show undocumented member
type io_uring_buf = struct {
	addr: u64,
	length: u32,
	bid: u16,
	resv: u16,
};

type io_uring_buf_reg[link]

Show undocumented member
type io_uring_buf_reg = struct {
	ring_addr: u64,
	ring_entries: u32,
	bgid: u16,
	flags: u16,
	resv: [3]u64,
};

type io_uring_buf_ring[link]

Show undocumented member
type io_uring_buf_ring = struct {
	union {
		struct {
			resv1: u64,
			resv2: u32,
			resv3: u16,
			tail: u16,
		},
		bufs: [*]io_uring_buf,
	},
};

type io_uring_cqe[link]

Show undocumented member
type io_uring_cqe = struct {
	_io_uring_cqe,
	big_cqe: [*]u64,
};

type io_uring_file_index_range[link]

Show undocumented member
type io_uring_file_index_range = struct {
	off: u32,
	length: u32,
	resv: u64,
};

type io_uring_files_update[link]

Show undocumented member
type io_uring_files_update = struct {
	off: u32,
	resv: u32,
	fds: u64,
};

type io_uring_getevents_arg[link]

Show undocumented member
type io_uring_getevents_arg = struct {
	sigmask: u64,
	sigmask_sz: u32,
	pad: u32,
	ts: u64,
};

type io_uring_params[link]

Show undocumented member
type io_uring_params = struct {
	sq_entries: u32,
	cq_entries: u32,
	flags: u32,
	sq_thread_cpu: u32,
	sq_thread_idle: u32,
	features: u32,
	wq_fd: u32,
	resv: [3]u32,
	sq_off: io_sqring_offsets,
	cq_off: io_cqring_offsets,
};

type io_uring_probe[link]

Show undocumented member
type io_uring_probe = struct {
	last_op: u8,
	ops_len: u8,
	resv: u16,
	resv2: [3]u32,
	ops: [*]io_uring_probe_op,
};

type io_uring_probe_op[link]

Show undocumented member
type io_uring_probe_op = struct {
	op: u8,
	resv: u8,
	flags: u16,
	resv2: u32,
};

type io_uring_recvmsg_out[link]

Show undocumented member
type io_uring_recvmsg_out = struct {
	namelen: u32,
	controllen: u32,
	payloadlen: u32,
	flags: u32,
};

type io_uring_restriction[link]

Show undocumented member
type io_uring_restriction = struct {
	opcode: u16,
	union {
		register_op: u8,
		sqe_op: u8,
		sqe_flags: u8,
	},
	resv: u8,
	resv2: [3]u32,
};

type io_uring_rsrc_register[link]

Show undocumented member
type io_uring_rsrc_register = struct {
	nr: u32,
	flags: u32,
	resv2: u64,
	data: u64,
	tags: u64,
};

type io_uring_rsrc_update[link]

Show undocumented member
type io_uring_rsrc_update = struct {
	off: u32,
	resv: u32,
	data: u64,
};

type io_uring_rsrc_update2[link]

Show undocumented member
type io_uring_rsrc_update2 = struct {
	off: u32,
	resv: u32,
	data: u64,
	tags: u64,
	nr: u32,
	resv2: u32,
};

type io_uring_sqe[link]

Show undocumented member
type io_uring_sqe = struct {
	opcode: u8,
	flags: u8,
	ioprio: u16,
	fd: i32,
	union {
		off: u64,
		addr2: u64,
		struct {
			cmd_op: u32,
			__pad1: u32,
		},
	},
	union {
		addr: u64,
		splice_off_in: u64,
	},
	length: u32,
	union {
		rw_flags: int,
		fsync_flags: u32,
		poll_events: u32,
		poll32_events: u32,
		sync_range_flags: u32,
		msg_flags: u32,
		timeout_flags: u32,
		accept_flags: u32,
		cancel_flags: u32,
		open_flags: u32,
		statx_flags: u32,
		fadvise_advice: u32,
		splice_flags: u32,
		rename_flags: u32,
		unlink_flags: u32,
		hardlink_flags: u32,
		xattr_flags: u32,
		msg_ring_flags: u32,
		uring_cmd_flags: u32,
	},
	user_data: u64,
	// TODO: use @packed once size() stop returning different sizes
	union {
		buf_index: u16,
		buf_group: u16,
	},
	personality: u16,
	union {
		splice_fd_in: i32,
		file_index: u32,
		struct {
			addr_len: u16,
			__pad3: [1]u16,
		},
	},
	union {
		struct {
			addr3: u64,
			__pad2: [1]u64,
		},
		cmd: [*]u8,
	},
};

type io_uring_sync_cancel_reg[link]

Show undocumented member
type io_uring_sync_cancel_reg = struct {
	addr: u64,
	fd: i32,
	flags: u32,
	timeout: timespec,
	pad: [4]u64,
};

type ioctl_arg[link]

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

type iovec[link]

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

type itimerspec[link]

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

type itimerval[link]

Show undocumented member
type itimerval = struct {
	it_interval: timeval,
	it_value: timeval,
};

type jmp_buf[link]

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

type memory_heap[link]

Show undocumented member
type memory_heap = struct {
	// Number of allocations currently in flight.
	cur_allocs: size,
	// Freelists for blocks up to 2048 bytes.
	bins: [9]nullable *meta,
	// The chunk to allocate from if there are no blocks available in the
	// right freelist.
	cur_chunk: (*chunk, size),
};

type mode_t[link]

Show undocumented member
type mode_t = uint;

type msghdr[link]

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

type nfds_t[link]

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

type off_t[link]

Show undocumented member
type off_t = i64;

type open_how[link]

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

type path[link]

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

type pid_t[link]

Show undocumented member
type pid_t = int;

type pollfd[link]

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

type prctl_mm_map[link]

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

type ptrace_peeksiginfo_args[link]

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

type ptrace_syscall_info[link]

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

type rlim_t[link]

Show undocumented member
type rlim_t = u64;

type rlimit[link]

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

type rusage[link]

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

type sa_family_t[link]

Show undocumented member
type sa_family_t = u16;

type si_band_t[link]

Show undocumented member
type si_band_t = i64;

type sigact[link]

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

type sigcontext[link]

Show undocumented member
type sigcontext = struct {
	r8: u64,
	r9: u64,
	r10: u64,
	r11: u64,
	r12: u64,
	r13: u64,
	r14: u64,
	r15: u64,
	di: u64,
	si: u64,
	bp: u64,
	bx: u64,
	dx: u64,
	ax: u64,
	cx: u64,
	sp: u64,
	ip: u64,
	flags: u64,
	cs: u16,
	gs: u16,
	fs: u16,
	ss: u16,
	err: u64,
	trapno: u64,
	oldmask: u64,
	cr2: u64,
	fpstate: u64,
	reserved1: [8]u64,
};

type siginfo[link]

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

type signalfd_siginfo[link]

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

type sigset[link]

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

type sigval[link]

Show undocumented member
type sigval = union {
	sival_int: int,
	sival_ptr: *opaque,
};

type slice[link]

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

type sock_filter[link]

Show undocumented member
type sock_filter = struct {
	__code: u16,
	__jt: u8,
	__jf: u8,
	__k: u32,
};

type sock_fprog[link]

Show undocumented member
type sock_fprog = struct {
	__len: u16,
	__filter: *[*]sock_filter,
};

type sockaddr[link]

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

type sockaddr_in[link]

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

type sockaddr_in6[link]

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

type sockaddr_ll[link]

Show undocumented member
type sockaddr_ll = struct {
	sll_family: sa_family_t,
	sll_protocol: u16,
	sll_ifindex: int,
	sll_hatype: u16,
	sll_pkttype: u8,
	sll_halen: u8,
	sll_addr: [8]u8,
};

type sockaddr_nl[link]

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

type sockaddr_un[link]

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

type socklen_t[link]

Show undocumented member
type socklen_t = uint;

type st_flock[link]

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

type stack_t[link]

Show undocumented member
type stack_t = struct {
	ss_sp: *opaque,
	ss_flags: int,
	ss_size: size,
};

type suseconds_t[link]

Show undocumented member
type suseconds_t = i64;

type tcflag[link]

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

type termios[link]

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

type time_t[link]

Show undocumented member
type time_t = i64;

type timer_t[link]

Show undocumented member
type timer_t = *opaque;

type timespec[link]

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

type timeval[link]

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

type ucontext[link]

Show undocumented member
type ucontext = struct {
	uc_flags: u64,
	uc_link: *ucontext,
	uc_stack: stack_t,
	uc_mcontext: sigcontext,
	uc_sigmask: sigset,
};

type uid_t[link]

Show undocumented member
type uid_t = uint;

type utsname[link]

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

type winsize[link]

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

Errors

type errno[link]

type errno = !int;

Represents an error returned from the Linux kernel.

type cpuid_unknownvendor[link]

Show undocumented member
type cpuid_unknownvendor = !void;

Constants

def AF_ALG[link]

def AF_ALG: sa_family_t = 38;

Algorithm sockets

def AF_APPLETALK[link]

def AF_APPLETALK: sa_family_t = 5;

AppleTalk DDP

def AF_ASH[link]

def AF_ASH: sa_family_t = 18;

Ash

def AF_ATMPVC[link]

def AF_ATMPVC: sa_family_t = 8;

ATM PVCs

def AF_ATMSVC[link]

def AF_ATMSVC: sa_family_t = 20;

ATM SVCs

def AF_AX25[link]

def AF_AX25: sa_family_t = 3;

Amateur Radio AX.25

def AF_BLUETOOTH[link]

def AF_BLUETOOTH: sa_family_t = 31;

Bluetooth sockets

def AF_BRIDGE[link]

def AF_BRIDGE: sa_family_t = 7;

Multiprotocol bridge

def AF_CAIF[link]

def AF_CAIF: sa_family_t = 37;

CAIF sockets

def AF_CAN[link]

def AF_CAN: sa_family_t = 29;

Controller Area Network

def AF_DECnet[link]

def AF_DECnet: sa_family_t = 12;

Reserved for DECnet project

def AF_ECONET[link]

def AF_ECONET: sa_family_t = 19;

Acorn Econet

def AF_IB[link]

def AF_IB: sa_family_t = 27;

Native InfiniBand address

def AF_IEEE802154[link]

def AF_IEEE802154: sa_family_t = 36;

IEEE802154 sockets

def AF_INET[link]

def AF_INET: sa_family_t = 2;

Internet IP Protocol

def AF_INET6[link]

def AF_INET6: sa_family_t = 10;

IP version 6

def AF_IPX[link]

def AF_IPX: sa_family_t = 4;

Novell IPX

def AF_IRDA[link]

def AF_IRDA: sa_family_t = 23;

IRDA sockets

def AF_ISDN[link]

def AF_ISDN: sa_family_t = 34;

mISDN sockets

def AF_IUCV[link]

def AF_IUCV: sa_family_t = 32;

IUCV sockets

def AF_KCM[link]

def AF_KCM: sa_family_t = 41;

Kernel Connection Multiplexor

def AF_KEY[link]

def AF_KEY: sa_family_t = 15;

PF_KEY key management API

def AF_LLC[link]

def AF_LLC: sa_family_t = 26;

Linux LLC

def AF_LOCAL[link]

def AF_LOCAL: sa_family_t = 1;

POSIX name for AF_UNIX

def AF_MPLS[link]

def AF_MPLS: sa_family_t = 28;

MPLS

def AF_NETBEUI[link]

def AF_NETBEUI: sa_family_t = 13;

Reserved for 802.2LLC project

def AF_NETLINK: sa_family_t = 16;

Linux netlink API

def AF_NETROM[link]

def AF_NETROM: sa_family_t = 6;

Amateur Radio NET/ROM

def AF_NFC[link]

def AF_NFC: sa_family_t = 39;

NFC sockets

def AF_PACKET[link]

def AF_PACKET: sa_family_t = 17;

Packet family

def AF_PHONET[link]

def AF_PHONET: sa_family_t = 35;

Phonet sockets

def AF_PPPOX[link]

def AF_PPPOX: sa_family_t = 24;

PPPoX sockets

def AF_QIPCRTR[link]

def AF_QIPCRTR: sa_family_t = 42;

Qualcomm IPC Router

def AF_RDS[link]

def AF_RDS: sa_family_t = 21;

RDS sockets

def AF_ROSE[link]

def AF_ROSE: sa_family_t = 11;

Amateur Radio X.25 PLP

def AF_ROUTE[link]

def AF_ROUTE: sa_family_t = AF_NETLINK;

Alias to emulate 4.4BSD

def AF_RXRPC[link]

def AF_RXRPC: sa_family_t = 33;

RxRPC sockets

def AF_SECURITY[link]

def AF_SECURITY: sa_family_t = 14;

Security callback pseudo AF

def AF_SMC[link]

def AF_SMC: sa_family_t = 43;

smc sockets

def AF_SNA[link]

def AF_SNA: sa_family_t = 22;

Linux SNA Project (nutters!)

def AF_TIPC[link]

def AF_TIPC: sa_family_t = 30;

TIPC sockets

def AF_UNIX[link]

def AF_UNIX: sa_family_t = 1;

Unix domain sockets

def AF_UNSPEC[link]

def AF_UNSPEC: sa_family_t = 0;

Unspecified

def AF_VSOCK[link]

def AF_VSOCK: sa_family_t = 40;

vSockets

def AF_WANPIPE[link]

def AF_WANPIPE: sa_family_t = 25;

Wanpipe API Sockets

def AF_X25[link]

def AF_X25: sa_family_t = 9;

Reserved for X.25 project

def AF_XDP[link]

def AF_XDP: sa_family_t = 44;

XDP sockets

def EPOLLIN[link]

def EPOLLIN: u32 = 1;

Epoll event masks

def EPOLL_CTL_ADD[link]

def EPOLL_CTL_ADD: int = 1;

Valid opcodes to issue to sys_epoll_ctl()

def ETH_P_15[link]

def ETH_P_15: int = 35063;

protocol for socket(2)

def INACCESS[link]

def INACCESS: u32 = 1;

Inotify event masks

def IN_NONBLOCK[link]

def IN_NONBLOCK: int = O_NONBLOCK;

Inotify init1 flags

def IPPROTO_AH[link]

def IPPROTO_AH: int = 51;

Authentication Header protocol

def IPPROTO_BEETPH[link]

def IPPROTO_BEETPH: int = 94;

IP option pseudo header for BEET

def IPPROTO_COMP[link]

def IPPROTO_COMP: int = 108;

Compression Header Protocol

def IPPROTO_DCCP[link]

def IPPROTO_DCCP: int = 33;

Datagram Congestion Control Protocol

def IPPROTO_EGP[link]

def IPPROTO_EGP: int = 8;

Exterior Gateway Protocol

def IPPROTO_ENCAP[link]

def IPPROTO_ENCAP: int = 98;

Encapsulation Header

def IPPROTO_ESP[link]

def IPPROTO_ESP: int = 50;

Encapsulation Security Payload protocol

def IPPROTO_ETHERNET[link]

def IPPROTO_ETHERNET: int = 143;

Ethernet-within-IPv6 Encapsulation

def IPPROTO_GRE[link]

def IPPROTO_GRE: int = 47;

Cisco GRE tunnels (rfc 1701,1702)

def IPPROTO_ICMP[link]

def IPPROTO_ICMP: int = 1;

Internet Control Message Protocol

def IPPROTO_ICMPV6[link]

def IPPROTO_ICMPV6: int = 58;

ICMPv6

def IPPROTO_IDP[link]

def IPPROTO_IDP: int = 22;

XNS IDP protocol

def IPPROTO_IGMP[link]

def IPPROTO_IGMP: int = 2;

Internet Group Management Protocol

def IPPROTO_IP[link]

def IPPROTO_IP: int = 0;

Dummy protocol for TCP

def IPPROTO_IPIP[link]

def IPPROTO_IPIP: int = 4;

IPIP tunnels (older KA9Q tunnels use 94)

def IPPROTO_IPV6[link]

def IPPROTO_IPV6: int = 41;

IPv6-in-IPv4 tunnelling

def IPPROTO_MPLS[link]

def IPPROTO_MPLS: int = 137;

MPLS in IP (RFC 4023)

def IPPROTO_MPTCP[link]

def IPPROTO_MPTCP: int = 262;

Multipath TCP connection

def IPPROTO_MTP[link]

def IPPROTO_MTP: int = 92;

Multicast Transport Protocol

def IPPROTO_PIM[link]

def IPPROTO_PIM: int = 103;

Protocol Independent Multicast

def IPPROTO_PUP[link]

def IPPROTO_PUP: int = 12;

PUP protocol

def IPPROTO_RAW[link]

def IPPROTO_RAW: int = 255;

Raw IP packets

def IPPROTO_RSVP[link]

def IPPROTO_RSVP: int = 46;

RSVP Protocol

def IPPROTO_SCTP[link]

def IPPROTO_SCTP: int = 132;

Stream Control Transport Protocol

def IPPROTO_TCP[link]

def IPPROTO_TCP: int = 6;

Transmission Control Protocol

def IPPROTO_TP[link]

def IPPROTO_TP: int = 29;

SO Transport Protocol Class 4

def IPPROTO_UDP[link]

def IPPROTO_UDP: int = 17;

User Datagram Protocol

def IPPROTO_UDPLITE[link]

def IPPROTO_UDPLITE: int = 136;

UDP-Lite (RFC 3828)

def LOCK_SH[link]

def LOCK_SH: int = 1;

Flock operations

def MSG_BATCH[link]

def MSG_BATCH: int = 262144;

sendpage() internal : not the last page

def MSG_CMSG_CLOEXEC[link]

def MSG_CMSG_CLOEXEC: int = 1073741824;

Send data in TCP SYN

def MSG_CTRUNC[link]

def MSG_CTRUNC: int = 8;

Synonym for MSG_DONTROUTE for DECnet

def MSG_EOF[link]

def MSG_EOF: int = MSG_FIN;

sendmmsg(): more messages coming

def MSG_EOR[link]

def MSG_EOR: int = 128;

Nonblocking io

def MSG_FASTOPEN[link]

def MSG_FASTOPEN: int = 536870912;

Use user data in kernel path

def MSG_FIN[link]

def MSG_FIN: int = 512;

Wait for a full request

def MSG_MORE[link]

def MSG_MORE: int = 32768;

Do not generate SIGPIPE

def MSG_NOSIGNAL[link]

def MSG_NOSIGNAL: int = 16384;

Fetch message from error queue

def MSG_OOB[link]

def MSG_OOB: int = 1;

send/rcv flags

def MSG_RST[link]

def MSG_RST: int = 4096;

Confirm path validity

def MSG_SENDPAGE_DECRYPTED[link]

def MSG_SENDPAGE_DECRYPTED: int = 1048576;

sendpage() internal : page frags are not shared

def MSG_SENDPAGE_NOPOLICY[link]

def MSG_SENDPAGE_NOPOLICY: int = 65536;

recvmmsg(): block until 1+ packets avail

def MSG_SENDPAGE_NOTLAST[link]

def MSG_SENDPAGE_NOTLAST: int = 131072;

sendpage() internal : do no apply policy

def MSG_TRUNC[link]

def MSG_TRUNC: int = 32;

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

def MSG_WAITALL[link]

def MSG_WAITALL: int = 256;

End of record

def MSG_WAITFORONE[link]

def MSG_WAITFORONE: int = 65536;

Sender will send more

def MSG_ZEROCOPY[link]

def MSG_ZEROCOPY: int = 67108864;

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

def O_RDONLY[link]

def O_RDONLY: int = 0;

O_DIRECTORY is arch specific

def SOCK_STREAM[link]

def SOCK_STREAM: int = 1;

type for socket(2)

def SOL_SOCKET[link]

def SOL_SOCKET: int = 1;

setsockopt levels

def SO_DEBUG[link]

def SO_DEBUG: int = 1;

setsockopt options

def SO_PASSCRED[link]

def SO_PASSCRED: int = 16;

the following differ on ppc

def AT_EACCESS[link]

Show undocumented member
def AT_EACCESS: int = 512;

def AT_EMPTY_PATH[link]

Show undocumented member
def AT_EMPTY_PATH: int = 4096;

def AT_FDCWD[link]

Show undocumented member
def AT_FDCWD: int = -100;

def AT_NO_AUTOMOUNT[link]

Show undocumented member
def AT_NO_AUTOMOUNT: int = 2048;

def AT_RECURSIVE[link]

Show undocumented member
def AT_RECURSIVE: int = 32768;

def AT_REMOVEDIR[link]

Show undocumented member
def AT_REMOVEDIR: int = 512;

def AT_STATX_DONT_SYNC[link]

Show undocumented member
def AT_STATX_DONT_SYNC: int = 16384;

def AT_STATX_FORCE_SYNC[link]

Show undocumented member
def AT_STATX_FORCE_SYNC: int = 8192;

def AT_STATX_SYNC_AS_STAT[link]

Show undocumented member
def AT_STATX_SYNC_AS_STAT: int = 0;

def AT_STATX_SYNC_TYPE[link]

Show undocumented member
def AT_STATX_SYNC_TYPE: int = 24576;
Show undocumented member
def AT_SYMLINK_FOLLOW: int = 1024;
Show undocumented member
def AT_SYMLINK_NOFOLLOW: int = 256;

def CLOCK_BOOTTIME[link]

Show undocumented member
def CLOCK_BOOTTIME: int = 7;

def CLOCK_BOOTTIME_ALARM[link]

Show undocumented member
def CLOCK_BOOTTIME_ALARM: int = 9;

def CLOCK_MONOTONIC[link]

Show undocumented member
def CLOCK_MONOTONIC: int = 1;

def CLOCK_MONOTONIC_COARSE[link]

Show undocumented member
def CLOCK_MONOTONIC_COARSE: int = 6;

def CLOCK_MONOTONIC_RAW[link]

Show undocumented member
def CLOCK_MONOTONIC_RAW: int = 4;

def CLOCK_PROCESS_CPUTIME_ID[link]

Show undocumented member
def CLOCK_PROCESS_CPUTIME_ID: int = 2;

def CLOCK_REALTIME[link]

Show undocumented member
def CLOCK_REALTIME: int = 0;

def CLOCK_REALTIME_ALARM[link]

Show undocumented member
def CLOCK_REALTIME_ALARM: int = 8;

def CLOCK_REALTIME_COARSE[link]

Show undocumented member
def CLOCK_REALTIME_COARSE: int = 5;

def CLOCK_SGI_CYCLE[link]

Show undocumented member
def CLOCK_SGI_CYCLE: int = 10;

def CLOCK_TAI[link]

Show undocumented member
def CLOCK_TAI: int = 11;

def CLOCK_THREAD_CPUTIME_ID[link]

Show undocumented member
def CLOCK_THREAD_CPUTIME_ID: int = 3;

def DT_BLK[link]

Show undocumented member
def DT_BLK: u8 = 6;

def DT_CHR[link]

Show undocumented member
def DT_CHR: u8 = 2;

def DT_DIR[link]

Show undocumented member
def DT_DIR: u8 = 4;

def DT_FIFO[link]

Show undocumented member
def DT_FIFO: u8 = 1;

def DT_LNK[link]

Show undocumented member
def DT_LNK: u8 = 10;

def DT_REG[link]

Show undocumented member
def DT_REG: u8 = 8;

def DT_SOCK[link]

Show undocumented member
def DT_SOCK: u8 = 12;

def DT_UNKNOWN[link]

Show undocumented member
def DT_UNKNOWN: u8 = 0;

def E2BIG[link]

Show undocumented member
def E2BIG: errno = 7;

def EACCES[link]

Show undocumented member
def EACCES: errno = 13;

def EADDRINUSE[link]

Show undocumented member
def EADDRINUSE: errno = 98;

def EADDRNOTAVAIL[link]

Show undocumented member
def EADDRNOTAVAIL: errno = 99;

def EADV[link]

Show undocumented member
def EADV: errno = 68;

def EAFNOSUPPORT[link]

Show undocumented member
def EAFNOSUPPORT: errno = 97;

def EAGAIN[link]

Show undocumented member
def EAGAIN: errno = 11;

def EALREADY[link]

Show undocumented member
def EALREADY: errno = 114;

def EBADE[link]

Show undocumented member
def EBADE: errno = 52;

def EBADF[link]

Show undocumented member
def EBADF: errno = 9;

def EBADFD[link]

Show undocumented member
def EBADFD: errno = 77;

def EBADMSG[link]

Show undocumented member
def EBADMSG: errno = 74;

def EBADR[link]

Show undocumented member
def EBADR: errno = 53;

def EBADRQC[link]

Show undocumented member
def EBADRQC: errno = 56;

def EBADSLT[link]

Show undocumented member
def EBADSLT: errno = 57;

def EBFONT[link]

Show undocumented member
def EBFONT: errno = 59;

def EBUSY[link]

Show undocumented member
def EBUSY: errno = 16;

def ECANCELED[link]

Show undocumented member
def ECANCELED: errno = 125;

def ECHILD[link]

Show undocumented member
def ECHILD: errno = 10;

def ECHRNG[link]

Show undocumented member
def ECHRNG: errno = 44;

def ECOMM[link]

Show undocumented member
def ECOMM: errno = 70;

def ECONNABORTED[link]

Show undocumented member
def ECONNABORTED: errno = 103;

def ECONNREFUSED[link]

Show undocumented member
def ECONNREFUSED: errno = 111;

def ECONNRESET[link]

Show undocumented member
def ECONNRESET: errno = 104;

def EDEADLK[link]

Show undocumented member
def EDEADLK: errno = 35;

def EDEADLOCK[link]

Show undocumented member
def EDEADLOCK: int = EDEADLK;

def EDESTADDRREQ[link]

Show undocumented member
def EDESTADDRREQ: errno = 89;

def EDOM[link]

Show undocumented member
def EDOM: errno = 33;

def EDOTDOT[link]

Show undocumented member
def EDOTDOT: errno = 73;

def EDQUOT[link]

Show undocumented member
def EDQUOT: errno = 122;

def EEXIST[link]

Show undocumented member
def EEXIST: errno = 17;

def EFAULT[link]

Show undocumented member
def EFAULT: errno = 14;

def EFBIG[link]

Show undocumented member
def EFBIG: errno = 27;

def EFD_CLOEXEC[link]

Show undocumented member
def EFD_CLOEXEC: int = O_CLOEXEC;

def EFD_NONBLOCK[link]

Show undocumented member
def EFD_NONBLOCK: int = O_NONBLOCK;

def EFD_SEMAPHORE[link]

Show undocumented member
def EFD_SEMAPHORE: int = 1;

def EHOSTDOWN[link]

Show undocumented member
def EHOSTDOWN: errno = 112;

def EHOSTUNREACH[link]

Show undocumented member
def EHOSTUNREACH: errno = 113;

def EHWPOISON[link]

Show undocumented member
def EHWPOISON: errno = 133;

def EIDRM[link]

Show undocumented member
def EIDRM: errno = 43;

def EILSEQ[link]

Show undocumented member
def EILSEQ: errno = 84;

def EINPROGRESS[link]

Show undocumented member
def EINPROGRESS: errno = 115;

def EINTR[link]

Show undocumented member
def EINTR: errno = 4;

def EINVAL[link]

Show undocumented member
def EINVAL: errno = 22;

def EIO[link]

Show undocumented member
def EIO: errno = 5;

def EISCONN[link]

Show undocumented member
def EISCONN: errno = 106;

def EISDIR[link]

Show undocumented member
def EISDIR: errno = 21;

def EISNAM[link]

Show undocumented member
def EISNAM: errno = 120;

def EKEYEXPIRED[link]

Show undocumented member
def EKEYEXPIRED: errno = 127;

def EKEYREJECTED[link]

Show undocumented member
def EKEYREJECTED: errno = 129;

def EKEYREVOKED[link]

Show undocumented member
def EKEYREVOKED: errno = 128;

def EL2HLT[link]

Show undocumented member
def EL2HLT: errno = 51;

def EL2NSYNC[link]

Show undocumented member
def EL2NSYNC: errno = 45;

def EL3HLT[link]

Show undocumented member
def EL3HLT: errno = 46;

def EL3RST[link]

Show undocumented member
def EL3RST: errno = 47;

def ELIBACC[link]

Show undocumented member
def ELIBACC: errno = 79;

def ELIBBAD[link]

Show undocumented member
def ELIBBAD: errno = 80;

def ELIBEXEC[link]

Show undocumented member
def ELIBEXEC: errno = 83;

def ELIBMAX[link]

Show undocumented member
def ELIBMAX: errno = 82;

def ELIBSCN[link]

Show undocumented member
def ELIBSCN: errno = 81;

def ELNRNG[link]

Show undocumented member
def ELNRNG: errno = 48;

def ELOOP[link]

Show undocumented member
def ELOOP: errno = 40;

def EMEDIUMTYPE[link]

Show undocumented member
def EMEDIUMTYPE: errno = 124;

def EMFILE[link]

Show undocumented member
def EMFILE: errno = 24;
Show undocumented member
def EMLINK: errno = 31;

def EMSGSIZE[link]

Show undocumented member
def EMSGSIZE: errno = 90;

def EMULTIHOP[link]

Show undocumented member
def EMULTIHOP: errno = 72;

def ENAMETOOLONG[link]

Show undocumented member
def ENAMETOOLONG: errno = 36;

def ENAVAIL[link]

Show undocumented member
def ENAVAIL: errno = 119;

def ENETDOWN[link]

Show undocumented member
def ENETDOWN: errno = 100;

def ENETRESET[link]

Show undocumented member
def ENETRESET: errno = 102;

def ENETUNREACH[link]

Show undocumented member
def ENETUNREACH: errno = 101;

def ENFILE[link]

Show undocumented member
def ENFILE: errno = 23;

def ENOANO[link]

Show undocumented member
def ENOANO: errno = 55;

def ENOBUFS[link]

Show undocumented member
def ENOBUFS: errno = 105;

def ENOCSI[link]

Show undocumented member
def ENOCSI: errno = 50;

def ENODATA[link]

Show undocumented member
def ENODATA: errno = 61;

def ENODEV[link]

Show undocumented member
def ENODEV: errno = 19;

def ENOENT[link]

Show undocumented member
def ENOENT: errno = 2;

def ENOEXEC[link]

Show undocumented member
def ENOEXEC: errno = 8;

def ENOKEY[link]

Show undocumented member
def ENOKEY: errno = 126;

def ENOLCK[link]

Show undocumented member
def ENOLCK: errno = 37;
Show undocumented member
def ENOLINK: errno = 67;

def ENOMEDIUM[link]

Show undocumented member
def ENOMEDIUM: errno = 123;

def ENOMEM[link]

Show undocumented member
def ENOMEM: errno = 12;

def ENOMSG[link]

Show undocumented member
def ENOMSG: errno = 42;

def ENONET[link]

Show undocumented member
def ENONET: errno = 64;

def ENOPKG[link]

Show undocumented member
def ENOPKG: errno = 65;

def ENOPROTOOPT[link]

Show undocumented member
def ENOPROTOOPT: errno = 92;

def ENOSPC[link]

Show undocumented member
def ENOSPC: errno = 28;

def ENOSR[link]

Show undocumented member
def ENOSR: errno = 63;

def ENOSTR[link]

Show undocumented member
def ENOSTR: errno = 60;

def ENOSYS[link]

Show undocumented member
def ENOSYS: errno = 38;

def ENOTBLK[link]

Show undocumented member
def ENOTBLK: errno = 15;

def ENOTCONN[link]

Show undocumented member
def ENOTCONN: errno = 107;

def ENOTDIR[link]

Show undocumented member
def ENOTDIR: errno = 20;

def ENOTEMPTY[link]

Show undocumented member
def ENOTEMPTY: errno = 39;

def ENOTNAM[link]

Show undocumented member
def ENOTNAM: errno = 118;

def ENOTRECOVERABLE[link]

Show undocumented member
def ENOTRECOVERABLE: errno = 131;

def ENOTSOCK[link]

Show undocumented member
def ENOTSOCK: errno = 88;

def ENOTSUP[link]

Show undocumented member
def ENOTSUP: errno = EOPNOTSUPP;

def ENOTTY[link]

Show undocumented member
def ENOTTY: errno = 25;

def ENOTUNIQ[link]

Show undocumented member
def ENOTUNIQ: errno = 76;

def ENXIO[link]

Show undocumented member
def ENXIO: errno = 6;

def EOPNOTSUPP[link]

Show undocumented member
def EOPNOTSUPP: errno = 95;

def EOVERFLOW[link]

Show undocumented member
def EOVERFLOW: errno = 75;

def EOWNERDEAD[link]

Show undocumented member
def EOWNERDEAD: errno = 130;

def EPERM[link]

Show undocumented member
def EPERM: errno = 1;

def EPFNOSUPPORT[link]

Show undocumented member
def EPFNOSUPPORT: errno = 96;

def EPIPE[link]

Show undocumented member
def EPIPE: errno = 32;

def EPOLLERR[link]

Show undocumented member
def EPOLLERR: u32 = 8;

def EPOLLET[link]

Show undocumented member
def EPOLLET: u32 = 1 << 31;

def EPOLLHUP[link]

Show undocumented member
def EPOLLHUP: u32 = 16;

def EPOLLMSG[link]

Show undocumented member
def EPOLLMSG: u32 = 1024;

def EPOLLNVAL[link]

Show undocumented member
def EPOLLNVAL: u32 = 32;

def EPOLLONESHOT[link]

Show undocumented member
def EPOLLONESHOT: u32 = 1 << 30;

def EPOLLOUT[link]

Show undocumented member
def EPOLLOUT: u32 = 4;

def EPOLLPRI[link]

Show undocumented member
def EPOLLPRI: u32 = 2;

def EPOLLRDBAND[link]

Show undocumented member
def EPOLLRDBAND: u32 = 128;

def EPOLLRDHUP[link]

Show undocumented member
def EPOLLRDHUP: u32 = 8192;

def EPOLLRDNORM[link]

Show undocumented member
def EPOLLRDNORM: u32 = 64;

def EPOLLWAKEUP[link]

Show undocumented member
def EPOLLWAKEUP: u32 = 1 << 29;

def EPOLLWRBAND[link]

Show undocumented member
def EPOLLWRBAND: u32 = 512;

def EPOLLWRNORM[link]

Show undocumented member
def EPOLLWRNORM: u32 = 256;

def EPOLL_CLOEXEC[link]

Show undocumented member
def EPOLL_CLOEXEC: int = O_CLOEXEC;

def EPOLL_CTL_DEL[link]

Show undocumented member
def EPOLL_CTL_DEL: int = 2;

def EPOLL_CTL_MOD[link]

Show undocumented member
def EPOLL_CTL_MOD: int = 3;

def EPROTO[link]

Show undocumented member
def EPROTO: errno = 71;

def EPROTONOSUPPORT[link]

Show undocumented member
def EPROTONOSUPPORT: errno = 93;

def EPROTOTYPE[link]

Show undocumented member
def EPROTOTYPE: errno = 91;

def ERANGE[link]

Show undocumented member
def ERANGE: errno = 34;

def EREMCHG[link]

Show undocumented member
def EREMCHG: errno = 78;

def EREMOTE[link]

Show undocumented member
def EREMOTE: errno = 66;

def EREMOTEIO[link]

Show undocumented member
def EREMOTEIO: errno = 121;

def ERESTART[link]

Show undocumented member
def ERESTART: errno = 85;

def ERFKILL[link]

Show undocumented member
def ERFKILL: errno = 132;

def EROFS[link]

Show undocumented member
def EROFS: errno = 30;

def ESHUTDOWN[link]

Show undocumented member
def ESHUTDOWN: errno = 108;

def ESOCKTNOSUPPORT[link]

Show undocumented member
def ESOCKTNOSUPPORT: errno = 94;

def ESPIPE[link]

Show undocumented member
def ESPIPE: errno = 29;

def ESRCH[link]

Show undocumented member
def ESRCH: errno = 3;

def ESRMNT[link]

Show undocumented member
def ESRMNT: errno = 69;

def ESTALE[link]

Show undocumented member
def ESTALE: errno = 116;

def ESTRPIPE[link]

Show undocumented member
def ESTRPIPE: errno = 86;

def ETH_P_8021AD[link]

Show undocumented member
def ETH_P_8021AD: int = 34984;

def ETH_P_8021AH[link]

Show undocumented member
def ETH_P_8021AH: int = 35047;

def ETH_P_8021Q[link]

Show undocumented member
def ETH_P_8021Q: int = 33024;

def ETH_P_80221[link]

Show undocumented member
def ETH_P_80221: int = 35095;

def ETH_P_802_2[link]

Show undocumented member
def ETH_P_802_2: int = 4;

def ETH_P_802_3[link]

Show undocumented member
def ETH_P_802_3: int = 1;

def ETH_P_802_3_MIN[link]

Show undocumented member
def ETH_P_802_3_MIN: int = 1536;

def ETH_P_802_EX1[link]

Show undocumented member
def ETH_P_802_EX1: int = 34997;

def ETH_P_AARP[link]

Show undocumented member
def ETH_P_AARP: int = 33011;

def ETH_P_AF_IUCV[link]

Show undocumented member
def ETH_P_AF_IUCV: int = 64507;

def ETH_P_ALL[link]

Show undocumented member
def ETH_P_ALL: int = 3;

def ETH_P_AOE[link]

Show undocumented member
def ETH_P_AOE: int = 34978;

def ETH_P_ARCNET[link]

Show undocumented member
def ETH_P_ARCNET: int = 26;

def ETH_P_ARP[link]

Show undocumented member
def ETH_P_ARP: int = 2054;

def ETH_P_ATALK[link]

Show undocumented member
def ETH_P_ATALK: int = 32923;

def ETH_P_ATMFATE[link]

Show undocumented member
def ETH_P_ATMFATE: int = 34948;

def ETH_P_ATMMPOA[link]

Show undocumented member
def ETH_P_ATMMPOA: int = 34892;

def ETH_P_AX25[link]

Show undocumented member
def ETH_P_AX25: int = 2;

def ETH_P_BATMAN[link]

Show undocumented member
def ETH_P_BATMAN: int = 17157;

def ETH_P_BPQ[link]

Show undocumented member
def ETH_P_BPQ: int = 2303;

def ETH_P_CAIF[link]

Show undocumented member
def ETH_P_CAIF: int = 247;

def ETH_P_CAN[link]

Show undocumented member
def ETH_P_CAN: int = 12;

def ETH_P_CANFD[link]

Show undocumented member
def ETH_P_CANFD: int = 13;

def ETH_P_CANXL[link]

Show undocumented member
def ETH_P_CANXL: int = 14;

def ETH_P_CFM[link]

Show undocumented member
def ETH_P_CFM: int = 35074;

def ETH_P_CONTROL[link]

Show undocumented member
def ETH_P_CONTROL: int = 22;

def ETH_P_CUST[link]

Show undocumented member
def ETH_P_CUST: int = 24582;

def ETH_P_DDCMP[link]

Show undocumented member
def ETH_P_DDCMP: int = 6;

def ETH_P_DEC[link]

Show undocumented member
def ETH_P_DEC: int = 24576;

def ETH_P_DIAG[link]

Show undocumented member
def ETH_P_DIAG: int = 24581;

def ETH_P_DNA_DL[link]

Show undocumented member
def ETH_P_DNA_DL: int = 24577;

def ETH_P_DNA_RC[link]

Show undocumented member
def ETH_P_DNA_RC: int = 24578;

def ETH_P_DNA_RT[link]

Show undocumented member
def ETH_P_DNA_RT: int = 24579;

def ETH_P_DSA[link]

Show undocumented member
def ETH_P_DSA: int = 27;

def ETH_P_DSA_8021Q[link]

Show undocumented member
def ETH_P_DSA_8021Q: int = 56027;

def ETH_P_DSA_A5PSW[link]

Show undocumented member
def ETH_P_DSA_A5PSW: int = 57345;

def ETH_P_ECONET[link]

Show undocumented member
def ETH_P_ECONET: int = 24;

def ETH_P_EDSA[link]

Show undocumented member
def ETH_P_EDSA: int = 56026;

def ETH_P_ERSPAN[link]

Show undocumented member
def ETH_P_ERSPAN: int = 35006;

def ETH_P_ERSPAN2[link]

Show undocumented member
def ETH_P_ERSPAN2: int = 8939;

def ETH_P_ETHERCAT[link]

Show undocumented member
def ETH_P_ETHERCAT: int = 34980;

def ETH_P_FCOE[link]

Show undocumented member
def ETH_P_FCOE: int = 35078;

def ETH_P_FIP[link]

Show undocumented member
def ETH_P_FIP: int = 35092;

def ETH_P_HDLC[link]

Show undocumented member
def ETH_P_HDLC: int = 25;

def ETH_P_HSR[link]

Show undocumented member
def ETH_P_HSR: int = 35119;

def ETH_P_IBOE[link]

Show undocumented member
def ETH_P_IBOE: int = 35093;

def ETH_P_IEEE802154[link]

Show undocumented member
def ETH_P_IEEE802154: int = 246;

def ETH_P_IEEEPUP[link]

Show undocumented member
def ETH_P_IEEEPUP: int = 2560;

def ETH_P_IEEEPUPAT[link]

Show undocumented member
def ETH_P_IEEEPUPAT: int = 2561;

def ETH_P_IFE[link]

Show undocumented member
def ETH_P_IFE: int = 60734;

def ETH_P_IP[link]

Show undocumented member
def ETH_P_IP: int = 2048;

def ETH_P_IPV6[link]

Show undocumented member
def ETH_P_IPV6: int = 34525;

def ETH_P_IPX[link]

Show undocumented member
def ETH_P_IPX: int = 33079;

def ETH_P_IRDA[link]

Show undocumented member
def ETH_P_IRDA: int = 23;

def ETH_P_LAT[link]

Show undocumented member
def ETH_P_LAT: int = 24580;
Show undocumented member
def ETH_P_LINK_CTL: int = 34924;

def ETH_P_LLDP[link]

Show undocumented member
def ETH_P_LLDP: int = 35020;

def ETH_P_LOCALTALK[link]

Show undocumented member
def ETH_P_LOCALTALK: int = 9;

def ETH_P_LOOP[link]

Show undocumented member
def ETH_P_LOOP: int = 96;

def ETH_P_LOOPBACK[link]

Show undocumented member
def ETH_P_LOOPBACK: int = 36864;

def ETH_P_MACSEC[link]

Show undocumented member
def ETH_P_MACSEC: int = 35045;

def ETH_P_MAP[link]

Show undocumented member
def ETH_P_MAP: int = 249;

def ETH_P_MCTP[link]

Show undocumented member
def ETH_P_MCTP: int = 250;

def ETH_P_MOBITEX[link]

Show undocumented member
def ETH_P_MOBITEX: int = 21;

def ETH_P_MPLS_MC[link]

Show undocumented member
def ETH_P_MPLS_MC: int = 34888;

def ETH_P_MPLS_UC[link]

Show undocumented member
def ETH_P_MPLS_UC: int = 34887;

def ETH_P_MRP[link]

Show undocumented member
def ETH_P_MRP: int = 35043;

def ETH_P_MVRP[link]

Show undocumented member
def ETH_P_MVRP: int = 35061;

def ETH_P_NCSI[link]

Show undocumented member
def ETH_P_NCSI: int = 35064;

def ETH_P_NSH[link]

Show undocumented member
def ETH_P_NSH: int = 35151;

def ETH_P_PAE[link]

Show undocumented member
def ETH_P_PAE: int = 34958;

def ETH_P_PAUSE[link]

Show undocumented member
def ETH_P_PAUSE: int = 34824;

def ETH_P_PHONET[link]

Show undocumented member
def ETH_P_PHONET: int = 245;

def ETH_P_PPPTALK[link]

Show undocumented member
def ETH_P_PPPTALK: int = 16;

def ETH_P_PPP_DISC[link]

Show undocumented member
def ETH_P_PPP_DISC: int = 34915;

def ETH_P_PPP_MP[link]

Show undocumented member
def ETH_P_PPP_MP: int = 8;

def ETH_P_PPP_SES[link]

Show undocumented member
def ETH_P_PPP_SES: int = 34916;

def ETH_P_PREAUTH[link]

Show undocumented member
def ETH_P_PREAUTH: int = 35015;

def ETH_P_PROFINET[link]

Show undocumented member
def ETH_P_PROFINET: int = 34962;

def ETH_P_PRP[link]

Show undocumented member
def ETH_P_PRP: int = 35067;

def ETH_P_PUP[link]

Show undocumented member
def ETH_P_PUP: int = 512;

def ETH_P_PUPAT[link]

Show undocumented member
def ETH_P_PUPAT: int = 513;

def ETH_P_QINQ1[link]

Show undocumented member
def ETH_P_QINQ1: int = 37120;

def ETH_P_QINQ2[link]

Show undocumented member
def ETH_P_QINQ2: int = 37376;

def ETH_P_QINQ3[link]

Show undocumented member
def ETH_P_QINQ3: int = 37632;

def ETH_P_RARP[link]

Show undocumented member
def ETH_P_RARP: int = 32821;

def ETH_P_REALTEK[link]

Show undocumented member
def ETH_P_REALTEK: int = 34969;

def ETH_P_SCA[link]

Show undocumented member
def ETH_P_SCA: int = 24583;

def ETH_P_SLOW[link]

Show undocumented member
def ETH_P_SLOW: int = 34825;

def ETH_P_SNAP[link]

Show undocumented member
def ETH_P_SNAP: int = 5;

def ETH_P_TDLS[link]

Show undocumented member
def ETH_P_TDLS: int = 35085;

def ETH_P_TEB[link]

Show undocumented member
def ETH_P_TEB: int = 25944;

def ETH_P_TIPC[link]

Show undocumented member
def ETH_P_TIPC: int = 35018;

def ETH_P_TRAILER[link]

Show undocumented member
def ETH_P_TRAILER: int = 28;

def ETH_P_TR_802_2[link]

Show undocumented member
def ETH_P_TR_802_2: int = 17;

def ETH_P_TSN[link]

Show undocumented member
def ETH_P_TSN: int = 8944;

def ETH_P_WAN_PPP[link]

Show undocumented member
def ETH_P_WAN_PPP: int = 7;

def ETH_P_WCCP[link]

Show undocumented member
def ETH_P_WCCP: int = 34878;

def ETH_P_X25[link]

Show undocumented member
def ETH_P_X25: int = 2053;

def ETH_P_XDSA[link]

Show undocumented member
def ETH_P_XDSA: int = 248;

def ETIME[link]

Show undocumented member
def ETIME: errno = 62;

def ETIMEDOUT[link]

Show undocumented member
def ETIMEDOUT: errno = 110;

def ETOOMANYREFS[link]

Show undocumented member
def ETOOMANYREFS: errno = 109;

def ETXTBSY[link]

Show undocumented member
def ETXTBSY: errno = 26;

def EUCLEAN[link]

Show undocumented member
def EUCLEAN: errno = 117;

def EUNATCH[link]

Show undocumented member
def EUNATCH: errno = 49;

def EUSERS[link]

Show undocumented member
def EUSERS: errno = 87;

def EWOULDBLOCK[link]

Show undocumented member
def EWOULDBLOCK: errno = EAGAIN;

def EXDEV[link]

Show undocumented member
def EXDEV: errno = 18;

def EXFULL[link]

Show undocumented member
def EXFULL: errno = 54;

def FD_CLOEXEC[link]

Show undocumented member
def FD_CLOEXEC: int = 1;

def F_DUPFD[link]

Show undocumented member
def F_DUPFD: int = 0;

def F_DUPFD_CLOEXEC[link]

Show undocumented member
def F_DUPFD_CLOEXEC: int = 1030;

def F_GETFD[link]

Show undocumented member
def F_GETFD: int = 1;

def F_GETFL[link]

Show undocumented member
def F_GETFL: int = 3;

def F_GETLK[link]

Show undocumented member
def F_GETLK: int = 12;

def F_GETOWN[link]

Show undocumented member
def F_GETOWN: int = 9;

def F_GETOWNER_UIDS[link]

Show undocumented member
def F_GETOWNER_UIDS: int = 17;

def F_GETOWN_EX[link]

Show undocumented member
def F_GETOWN_EX: int = 16;

def F_GETSIG[link]

Show undocumented member
def F_GETSIG: int = 11;

def F_OK[link]

Show undocumented member
def F_OK: int = 0;

def F_RDLCK[link]

Show undocumented member
def F_RDLCK: i16 = 0;

def F_SETFD[link]

Show undocumented member
def F_SETFD: int = 2;

def F_SETFL[link]

Show undocumented member
def F_SETFL: int = 4;

def F_SETLK[link]

Show undocumented member
def F_SETLK: int = 13;

def F_SETLKW[link]

Show undocumented member
def F_SETLKW: int = 14;

def F_SETOWN[link]

Show undocumented member
def F_SETOWN: int = 8;

def F_SETOWN_EX[link]

Show undocumented member
def F_SETOWN_EX: int = 15;

def F_SETSIG[link]

Show undocumented member
def F_SETSIG: int = 10;

def F_UNLCK[link]

Show undocumented member
def F_UNLCK: i16 = 2;

def F_WRLCK[link]

Show undocumented member
def F_WRLCK: i16 = 1;

def INATTRIB[link]

Show undocumented member
def INATTRIB: u32 = 4;

def INCLOSE[link]

Show undocumented member
def INCLOSE: u32 = INCLOSEWRITE | INCLOSENOWRITE;

def INCLOSENOWRITE[link]

Show undocumented member
def INCLOSENOWRITE: u32 = 16;

def INCLOSEWRITE[link]

Show undocumented member
def INCLOSEWRITE: u32 = 8;

def INCREATE[link]

Show undocumented member
def INCREATE: u32 = 256;

def INDELETE[link]

Show undocumented member
def INDELETE: u32 = 512;

def INDELETESELF[link]

Show undocumented member
def INDELETESELF: u32 = 1024;

def INDONTFOLLOW[link]

Show undocumented member
def INDONTFOLLOW: u32 = 33554432;
Show undocumented member
def INEXCLUNLINK: u32 = 67108864;

def INIGNORED[link]

Show undocumented member
def INIGNORED: u32 = 32768;

def INISDIR[link]

Show undocumented member
def INISDIR: u32 = 1073741824;

def INMASKADD[link]

Show undocumented member
def INMASKADD: u32 = 536870912;

def INMASKCREATE[link]

Show undocumented member
def INMASKCREATE: u32 = 268435456;

def INMODIFY[link]

Show undocumented member
def INMODIFY: u32 = 2;

def INMOVE[link]

Show undocumented member
def INMOVE: u32 = INMOVEDFROM | INMOVEDTO;

def INMOVEDFROM[link]

Show undocumented member
def INMOVEDFROM: u32 = 64;

def INMOVEDTO[link]

Show undocumented member
def INMOVEDTO: u32 = 128;

def INMOVESELF[link]

Show undocumented member
def INMOVESELF: u32 = 2048;

def INONESHOT[link]

Show undocumented member
def INONESHOT: u32 = 2147483648;

def INONLYDIR[link]

Show undocumented member
def INONLYDIR: u32 = 16777216;

def INOPEN[link]

Show undocumented member
def INOPEN: u32 = 32;

def INOTIFY_EVENT_MAX_SIZE[link]

Show undocumented member
def INOTIFY_EVENT_MAX_SIZE: size = size(int) + size(u32) * 3 + NAME_MAX + 1z;

def INQOVERFLOW[link]

Show undocumented member
def INQOVERFLOW: u32 = 16384;

def INUNMOUNT[link]

Show undocumented member
def INUNMOUNT: u32 = 8192;

def IN_CLOEXEC[link]

Show undocumented member
def IN_CLOEXEC: int = O_CLOEXEC;

def IORING_ACCEPT_MULTISHOT[link]

Show undocumented member
def IORING_ACCEPT_MULTISHOT: u16 = 1 << 0;

def IORING_ASYNC_CANCEL_ALL[link]

Show undocumented member
def IORING_ASYNC_CANCEL_ALL: u32 = 1 << 0;

def IORING_ASYNC_CANCEL_ANY[link]

Show undocumented member
def IORING_ASYNC_CANCEL_ANY: u32 = 1 << 2;

def IORING_ASYNC_CANCEL_FD[link]

Show undocumented member
def IORING_ASYNC_CANCEL_FD: u32 = 1 << 1;

def IORING_ASYNC_CANCEL_FD_FIXED[link]

Show undocumented member
def IORING_ASYNC_CANCEL_FD_FIXED: u32 = 1 << 3;

def IORING_CQE_BUFFER_SHIFT[link]

Show undocumented member
def IORING_CQE_BUFFER_SHIFT: u32 = 16;

def IORING_CQE_F_BUFFER[link]

Show undocumented member
def IORING_CQE_F_BUFFER: u32 = 1 << 0;

def IORING_CQE_F_MORE[link]

Show undocumented member
def IORING_CQE_F_MORE: u32 = 1 << 1;

def IORING_CQE_F_NOTIF[link]

Show undocumented member
def IORING_CQE_F_NOTIF: u32 = 1 << 3;

def IORING_CQE_F_SOCK_NONEMPTY[link]

Show undocumented member
def IORING_CQE_F_SOCK_NONEMPTY: u32 = 1 << 2;

def IORING_CQ_EVENTFD_DISABLED[link]

Show undocumented member
def IORING_CQ_EVENTFD_DISABLED: u32 = 1 << 0;

def IORING_ENTER_EXT_ARG[link]

Show undocumented member
def IORING_ENTER_EXT_ARG: u32 = 1 << 3;

def IORING_ENTER_GETEVENTS[link]

Show undocumented member
def IORING_ENTER_GETEVENTS: u32 = 1 << 0;

def IORING_ENTER_REGISTERED_RING[link]

Show undocumented member
def IORING_ENTER_REGISTERED_RING: u32 = 1 << 4;

def IORING_ENTER_SQ_WAIT[link]

Show undocumented member
def IORING_ENTER_SQ_WAIT: u32 = 1 << 2;

def IORING_ENTER_SQ_WAKEUP[link]

Show undocumented member
def IORING_ENTER_SQ_WAKEUP: u32 = 1 << 1;

def IORING_FEAT_CQE_SKIP[link]

Show undocumented member
def IORING_FEAT_CQE_SKIP: u32 = 1 << 11;

def IORING_FEAT_CUR_PERSONALITY[link]

Show undocumented member
def IORING_FEAT_CUR_PERSONALITY: u32 = 1 << 4;

def IORING_FEAT_EXT_ARG[link]

Show undocumented member
def IORING_FEAT_EXT_ARG: u32 = 1 << 8;

def IORING_FEAT_FAST_POLL[link]

Show undocumented member
def IORING_FEAT_FAST_POLL: u32 = 1 << 5;

def IORING_FEAT_LINKED_FILE[link]

Show undocumented member
def IORING_FEAT_LINKED_FILE: u32 = 1 << 12;

def IORING_FEAT_NATIVE_WORKERS[link]

Show undocumented member
def IORING_FEAT_NATIVE_WORKERS: u32 = 1 << 9;

def IORING_FEAT_NODROP[link]

Show undocumented member
def IORING_FEAT_NODROP: u32 = 1 << 1;

def IORING_FEAT_POLL_32BITS[link]

Show undocumented member
def IORING_FEAT_POLL_32BITS: u32 = 1 << 6;

def IORING_FEAT_REG_REG_RING[link]

Show undocumented member
def IORING_FEAT_REG_REG_RING: u32 = 1 << 13;

def IORING_FEAT_RSRC_TAGS[link]

Show undocumented member
def IORING_FEAT_RSRC_TAGS: u32 = 1 << 10;

def IORING_FEAT_RW_CUR_POS[link]

Show undocumented member
def IORING_FEAT_RW_CUR_POS: u32 = 1 << 3;

def IORING_FEAT_SINGLE_MMAP[link]

Show undocumented member
def IORING_FEAT_SINGLE_MMAP: u32 = 1 << 0;

def IORING_FEAT_SQPOLL_NONFIXED[link]

Show undocumented member
def IORING_FEAT_SQPOLL_NONFIXED: u32 = 1 << 7;

def IORING_FEAT_SUBMIT_STABLE[link]

Show undocumented member
def IORING_FEAT_SUBMIT_STABLE: u32 = 1 << 2;

def IORING_FILE_INDEX_ALLOC[link]

Show undocumented member
def IORING_FILE_INDEX_ALLOC: u32 = ~0;

def IORING_FSYNC_DATASYNC[link]

Show undocumented member
def IORING_FSYNC_DATASYNC: u32 = 1 << 0;
Show undocumented member
def IORING_LINK_TIMEOUT_UPDATE: u32 = 1 << 4;

def IORING_MSG_DATA[link]

Show undocumented member
def IORING_MSG_DATA: u64 = 0;

def IORING_MSG_RING_CQE_SKIP[link]

Show undocumented member
def IORING_MSG_RING_CQE_SKIP: u32 = 1 << 0;

def IORING_MSG_RING_FLAGS_PASS[link]

Show undocumented member
def IORING_MSG_RING_FLAGS_PASS: u32 = 1 << 1;

def IORING_MSG_SEND_FD[link]

Show undocumented member
def IORING_MSG_SEND_FD: u64 = 1;

def IORING_OFF_CQ_RING[link]

Show undocumented member
def IORING_OFF_CQ_RING: u64 = 134217728;

def IORING_OFF_MMAP_MASK[link]

Show undocumented member
def IORING_OFF_MMAP_MASK: u64 = 4160749568;

def IORING_OFF_PBUF_RING[link]

Show undocumented member
def IORING_OFF_PBUF_RING: u64 = 2147483648;

def IORING_OFF_PBUF_SHIFT[link]

Show undocumented member
def IORING_OFF_PBUF_SHIFT: u64 = 16;

def IORING_OFF_SQES[link]

Show undocumented member
def IORING_OFF_SQES: u64 = 268435456;

def IORING_OFF_SQ_RING[link]

Show undocumented member
def IORING_OFF_SQ_RING: u64 = 0;

def IORING_OP_ACCEPT[link]

Show undocumented member
def IORING_OP_ACCEPT: u8 = 13;

def IORING_OP_ASYNC_CANCEL[link]

Show undocumented member
def IORING_OP_ASYNC_CANCEL: u8 = 14;

def IORING_OP_CLOSE[link]

Show undocumented member
def IORING_OP_CLOSE: u8 = 19;

def IORING_OP_CONNECT[link]

Show undocumented member
def IORING_OP_CONNECT: u8 = 16;

def IORING_OP_EPOLL_CTL[link]

Show undocumented member
def IORING_OP_EPOLL_CTL: u8 = 29;

def IORING_OP_FADVISE[link]

Show undocumented member
def IORING_OP_FADVISE: u8 = 24;

def IORING_OP_FALLOCATE[link]

Show undocumented member
def IORING_OP_FALLOCATE: u8 = 17;

def IORING_OP_FGETXATTR[link]

Show undocumented member
def IORING_OP_FGETXATTR: u8 = 43;

def IORING_OP_FILES_UPDATE[link]

Show undocumented member
def IORING_OP_FILES_UPDATE: u8 = 20;

def IORING_OP_FSETXATTR[link]

Show undocumented member
def IORING_OP_FSETXATTR: u8 = 41;

def IORING_OP_FSYNC[link]

Show undocumented member
def IORING_OP_FSYNC: u8 = 3;

def IORING_OP_GETXATTR[link]

Show undocumented member
def IORING_OP_GETXATTR: u8 = 44;

def IORING_OP_LINKAT[link]

Show undocumented member
def IORING_OP_LINKAT: u8 = 39;
Show undocumented member
def IORING_OP_LINK_TIMEOUT: u8 = 15;

def IORING_OP_MADVISE[link]

Show undocumented member
def IORING_OP_MADVISE: u8 = 25;

def IORING_OP_MKDIRAT[link]

Show undocumented member
def IORING_OP_MKDIRAT: u8 = 37;

def IORING_OP_MSG_RING[link]

Show undocumented member
def IORING_OP_MSG_RING: u8 = 40;

def IORING_OP_NOP[link]

Show undocumented member
def IORING_OP_NOP: u8 = 0;

def IORING_OP_OPENAT[link]

Show undocumented member
def IORING_OP_OPENAT: u8 = 18;

def IORING_OP_OPENAT2[link]

Show undocumented member
def IORING_OP_OPENAT2: u8 = 28;

def IORING_OP_POLL_ADD[link]

Show undocumented member
def IORING_OP_POLL_ADD: u8 = 6;

def IORING_OP_POLL_REMOVE[link]

Show undocumented member
def IORING_OP_POLL_REMOVE: u8 = 7;

def IORING_OP_PROVIDE_BUFFERS[link]

Show undocumented member
def IORING_OP_PROVIDE_BUFFERS: u8 = 31;

def IORING_OP_READ[link]

Show undocumented member
def IORING_OP_READ: u8 = 22;

def IORING_OP_READV[link]

Show undocumented member
def IORING_OP_READV: u8 = 1;

def IORING_OP_READ_FIXED[link]

Show undocumented member
def IORING_OP_READ_FIXED: u8 = 4;

def IORING_OP_RECV[link]

Show undocumented member
def IORING_OP_RECV: u8 = 27;

def IORING_OP_RECVMSG[link]

Show undocumented member
def IORING_OP_RECVMSG: u8 = 10;

def IORING_OP_REMOVE_BUFFERS[link]

Show undocumented member
def IORING_OP_REMOVE_BUFFERS: u8 = 32;

def IORING_OP_RENAMEAT[link]

Show undocumented member
def IORING_OP_RENAMEAT: u8 = 35;

def IORING_OP_SEND[link]

Show undocumented member
def IORING_OP_SEND: u8 = 26;

def IORING_OP_SENDMSG[link]

Show undocumented member
def IORING_OP_SENDMSG: u8 = 9;

def IORING_OP_SENDMSG_ZC[link]

Show undocumented member
def IORING_OP_SENDMSG_ZC: u8 = 48;

def IORING_OP_SEND_ZC[link]

Show undocumented member
def IORING_OP_SEND_ZC: u8 = 47;

def IORING_OP_SETXATTR[link]

Show undocumented member
def IORING_OP_SETXATTR: u8 = 42;

def IORING_OP_SHUTDOWN[link]

Show undocumented member
def IORING_OP_SHUTDOWN: u8 = 34;

def IORING_OP_SOCKET[link]

Show undocumented member
def IORING_OP_SOCKET: u8 = 45;

def IORING_OP_SPLICE[link]

Show undocumented member
def IORING_OP_SPLICE: u8 = 30;

def IORING_OP_STATX[link]

Show undocumented member
def IORING_OP_STATX: u8 = 21;

def IORING_OP_SYMLINKAT[link]

Show undocumented member
def IORING_OP_SYMLINKAT: u8 = 38;

def IORING_OP_SYNC_FILE_RANGE[link]

Show undocumented member
def IORING_OP_SYNC_FILE_RANGE: u8 = 8;

def IORING_OP_TEE[link]

Show undocumented member
def IORING_OP_TEE: u8 = 33;

def IORING_OP_TIMEOUT[link]

Show undocumented member
def IORING_OP_TIMEOUT: u8 = 11;

def IORING_OP_TIMEOUT_REMOVE[link]

Show undocumented member
def IORING_OP_TIMEOUT_REMOVE: u8 = 12;

def IORING_OP_UNLINKAT[link]

Show undocumented member
def IORING_OP_UNLINKAT: u8 = 36;

def IORING_OP_URING_CMD[link]

Show undocumented member
def IORING_OP_URING_CMD: u8 = 46;

def IORING_OP_WRITE[link]

Show undocumented member
def IORING_OP_WRITE: u8 = 23;

def IORING_OP_WRITEV[link]

Show undocumented member
def IORING_OP_WRITEV: u8 = 2;

def IORING_OP_WRITE_FIXED[link]

Show undocumented member
def IORING_OP_WRITE_FIXED: u8 = 5;

def IORING_POLL_ADD_LEVEL[link]

Show undocumented member
def IORING_POLL_ADD_LEVEL: u32 = 1 << 3;

def IORING_POLL_ADD_MULTI[link]

Show undocumented member
def IORING_POLL_ADD_MULTI: u32 = 1 << 0;

def IORING_POLL_UPDATE_EVENTS[link]

Show undocumented member
def IORING_POLL_UPDATE_EVENTS: u32 = 1 << 1;

def IORING_POLL_UPDATE_USER_DATA[link]

Show undocumented member
def IORING_POLL_UPDATE_USER_DATA: u32 = 1 << 2;

def IORING_RECVSEND_FIXED_BUF[link]

Show undocumented member
def IORING_RECVSEND_FIXED_BUF: u16 = 1 << 2;

def IORING_RECVSEND_POLL_FIRST[link]

Show undocumented member
def IORING_RECVSEND_POLL_FIRST: u16 = 1 << 0;

def IORING_RECV_MULTISHOT[link]

Show undocumented member
def IORING_RECV_MULTISHOT: u16 = 1 << 1;

def IORING_REGISTER_BUFFERS[link]

Show undocumented member
def IORING_REGISTER_BUFFERS: uint = 0;

def IORING_REGISTER_BUFFERS2[link]

Show undocumented member
def IORING_REGISTER_BUFFERS2: uint = 15;

def IORING_REGISTER_BUFFERS_UPDATE[link]

Show undocumented member
def IORING_REGISTER_BUFFERS_UPDATE: uint = 16;

def IORING_REGISTER_ENABLE_RINGS[link]

Show undocumented member
def IORING_REGISTER_ENABLE_RINGS: uint = 12;

def IORING_REGISTER_EVENTFD[link]

Show undocumented member
def IORING_REGISTER_EVENTFD: uint = 4;

def IORING_REGISTER_EVENTFD_ASYNC[link]

Show undocumented member
def IORING_REGISTER_EVENTFD_ASYNC: uint = 7;

def IORING_REGISTER_FILES[link]

Show undocumented member
def IORING_REGISTER_FILES: uint = 2;

def IORING_REGISTER_FILES2[link]

Show undocumented member
def IORING_REGISTER_FILES2: uint = 13;

def IORING_REGISTER_FILES_SKIP[link]

Show undocumented member
def IORING_REGISTER_FILES_SKIP: int = -2;

def IORING_REGISTER_FILES_UPDATE[link]

Show undocumented member
def IORING_REGISTER_FILES_UPDATE: uint = 6;

def IORING_REGISTER_FILES_UPDATE2[link]

Show undocumented member
def IORING_REGISTER_FILES_UPDATE2: uint = 14;

def IORING_REGISTER_FILE_ALLOC_RANGE[link]

Show undocumented member
def IORING_REGISTER_FILE_ALLOC_RANGE: uint = 25;

def IORING_REGISTER_IOWQ_AFF[link]

Show undocumented member
def IORING_REGISTER_IOWQ_AFF: uint = 17;

def IORING_REGISTER_IOWQ_MAX_WORKERS[link]

Show undocumented member
def IORING_REGISTER_IOWQ_MAX_WORKERS: uint = 19;

def IORING_REGISTER_PBUF_RING[link]

Show undocumented member
def IORING_REGISTER_PBUF_RING: uint = 22;

def IORING_REGISTER_PERSONALITY[link]

Show undocumented member
def IORING_REGISTER_PERSONALITY: uint = 9;

def IORING_REGISTER_PROBE[link]

Show undocumented member
def IORING_REGISTER_PROBE: uint = 8;

def IORING_REGISTER_RESTRICTIONS[link]

Show undocumented member
def IORING_REGISTER_RESTRICTIONS: uint = 11;

def IORING_REGISTER_RING_FDS[link]

Show undocumented member
def IORING_REGISTER_RING_FDS: uint = 20;

def IORING_REGISTER_SYNC_CANCEL[link]

Show undocumented member
def IORING_REGISTER_SYNC_CANCEL: uint = 24;

def IORING_REGISTER_USE_REGISTERED_RING[link]

Show undocumented member
def IORING_REGISTER_USE_REGISTERED_RING: uint = 1 << 31;

def IORING_RESTRICTION_REGISTER_OP[link]

Show undocumented member
def IORING_RESTRICTION_REGISTER_OP: u16 = 0;

def IORING_RESTRICTION_SQE_FLAGS_ALLOWED[link]

Show undocumented member
def IORING_RESTRICTION_SQE_FLAGS_ALLOWED: u16 = 2;

def IORING_RESTRICTION_SQE_FLAGS_REQUIRED[link]

Show undocumented member
def IORING_RESTRICTION_SQE_FLAGS_REQUIRED: u16 = 3;

def IORING_RESTRICTION_SQE_OP[link]

Show undocumented member
def IORING_RESTRICTION_SQE_OP: u16 = 1;

def IORING_RSRC_REGISTER_SPARSE[link]

Show undocumented member
def IORING_RSRC_REGISTER_SPARSE: u32 = 1 << 0;

def IORING_SEND_ZC_REPORT_USAGE[link]

Show undocumented member
def IORING_SEND_ZC_REPORT_USAGE: u16 = 1 << 3;

def IORING_SETUP_ATTACH_WQ[link]

Show undocumented member
def IORING_SETUP_ATTACH_WQ: u32 = 1 << 5;

def IORING_SETUP_CLAMP[link]

Show undocumented member
def IORING_SETUP_CLAMP: u32 = 1 << 4;

def IORING_SETUP_COOP_TASKRUN[link]

Show undocumented member
def IORING_SETUP_COOP_TASKRUN: u32 = 1 << 8;

def IORING_SETUP_CQE32[link]

Show undocumented member
def IORING_SETUP_CQE32: u32 = 1 << 11;

def IORING_SETUP_CQSIZE[link]

Show undocumented member
def IORING_SETUP_CQSIZE: u32 = 1 << 3;

def IORING_SETUP_DEFER_TASKRUN[link]

Show undocumented member
def IORING_SETUP_DEFER_TASKRUN: u32 = 1 << 13;

def IORING_SETUP_IOPOLL[link]

Show undocumented member
def IORING_SETUP_IOPOLL: u32 = 1 << 0;

def IORING_SETUP_NO_MMAP[link]

Show undocumented member
def IORING_SETUP_NO_MMAP: u32 = 1 << 14;

def IORING_SETUP_REGISTERED_FD_ONLY[link]

Show undocumented member
def IORING_SETUP_REGISTERED_FD_ONLY: u32 = 1 << 15;

def IORING_SETUP_R_DISABLED[link]

Show undocumented member
def IORING_SETUP_R_DISABLED: u32 = 1 << 6;

def IORING_SETUP_SINGLE_ISSUER[link]

Show undocumented member
def IORING_SETUP_SINGLE_ISSUER: u32 = 1 << 12;

def IORING_SETUP_SQE128[link]

Show undocumented member
def IORING_SETUP_SQE128: u32 = 1 << 10;

def IORING_SETUP_SQPOLL[link]

Show undocumented member
def IORING_SETUP_SQPOLL: u32 = 1 << 1;

def IORING_SETUP_SQ_AFF[link]

Show undocumented member
def IORING_SETUP_SQ_AFF: u32 = 1 << 2;

def IORING_SETUP_SUBMIT_ALL[link]

Show undocumented member
def IORING_SETUP_SUBMIT_ALL: u32 = 1 << 7;

def IORING_SETUP_TASKRUN_FLAG[link]

Show undocumented member
def IORING_SETUP_TASKRUN_FLAG: u32 = 1 << 9;

def IORING_SQ_CQ_OVERFLOW[link]

Show undocumented member
def IORING_SQ_CQ_OVERFLOW: u32 = 1 << 1;

def IORING_SQ_NEED_WAKEUP[link]

Show undocumented member
def IORING_SQ_NEED_WAKEUP: u32 = 1 << 0;

def IORING_SQ_TASKRUN[link]

Show undocumented member
def IORING_SQ_TASKRUN: u32 = 1 << 2;

def IORING_TIMEOUT_ABS[link]

Show undocumented member
def IORING_TIMEOUT_ABS: u32 = 1 << 0;

def IORING_TIMEOUT_BOOTTIME[link]

Show undocumented member
def IORING_TIMEOUT_BOOTTIME: u32 = 1 << 2;

def IORING_TIMEOUT_ETIME_SUCCESS[link]

Show undocumented member
def IORING_TIMEOUT_ETIME_SUCCESS: u32 = 1 << 5;

def IORING_TIMEOUT_MULTISHOT[link]

Show undocumented member
def IORING_TIMEOUT_MULTISHOT: u32 = 1 << 6;

def IORING_TIMEOUT_REALTIME[link]

Show undocumented member
def IORING_TIMEOUT_REALTIME: u32 = 1 << 3;

def IORING_TIMEOUT_UPDATE[link]

Show undocumented member
def IORING_TIMEOUT_UPDATE: u32 = 1 << 1;

def IORING_UNREGISTER_BUFFERS[link]

Show undocumented member
def IORING_UNREGISTER_BUFFERS: uint = 1;

def IORING_UNREGISTER_EVENTFD[link]

Show undocumented member
def IORING_UNREGISTER_EVENTFD: uint = 5;

def IORING_UNREGISTER_FILES[link]

Show undocumented member
def IORING_UNREGISTER_FILES: uint = 3;

def IORING_UNREGISTER_IOWQ_AFF[link]

Show undocumented member
def IORING_UNREGISTER_IOWQ_AFF: uint = 18;

def IORING_UNREGISTER_PBUF_RING[link]

Show undocumented member
def IORING_UNREGISTER_PBUF_RING: uint = 23;

def IORING_UNREGISTER_PERSONALITY[link]

Show undocumented member
def IORING_UNREGISTER_PERSONALITY: uint = 10;

def IORING_UNREGISTER_RING_FDS[link]

Show undocumented member
def IORING_UNREGISTER_RING_FDS: uint = 21;

def IORING_URING_CMD_FIXED[link]

Show undocumented member
def IORING_URING_CMD_FIXED: u32 = 1 << 0;

def IORING_URING_CMD_POLLED[link]

Show undocumented member
def IORING_URING_CMD_POLLED: u32 = 1 << 31;

def IOSQE_ASYNC[link]

Show undocumented member
def IOSQE_ASYNC: u8 = 1 << 4;

def IOSQE_BUFFER_SELECT[link]

Show undocumented member
def IOSQE_BUFFER_SELECT: u8 = 1 << 5;

def IOSQE_CQE_SKIP_SUCCESS[link]

Show undocumented member
def IOSQE_CQE_SKIP_SUCCESS: u8 = 1 << 6;

def IOSQE_FIXED_FILE[link]

Show undocumented member
def IOSQE_FIXED_FILE: u8 = 1 << 0;

def IOSQE_IO_DRAIN[link]

Show undocumented member
def IOSQE_IO_DRAIN: u8 = 1 << 1;
Show undocumented member
def IOSQE_IO_HARDLINK: u8 = 1 << 3;
Show undocumented member
def IOSQE_IO_LINK: u8 = 1 << 2;

def IOU_PBUF_RING_MMAP[link]

Show undocumented member
def IOU_PBUF_RING_MMAP: u16 = 1;

def IO_URING_OP_SUPPORTED[link]

Show undocumented member
def IO_URING_OP_SUPPORTED: u16 = 1 << 0;

def ITIMER_PROF[link]

Show undocumented member
def ITIMER_PROF: int = 2;

def ITIMER_REAL[link]

Show undocumented member
def ITIMER_REAL: int = 0;

def ITIMER_VIRTUAL[link]

Show undocumented member
def ITIMER_VIRTUAL: int = 1;

def LOCK_EX[link]

Show undocumented member
def LOCK_EX: int = 2;

def LOCK_NB[link]

Show undocumented member
def LOCK_NB: int = 4;

def LOCK_UN[link]

Show undocumented member
def LOCK_UN: int = 8;

def MAP_ANON[link]

Show undocumented member
def MAP_ANON: uint = 32;

def MAP_DENYWRITE[link]

Show undocumented member
def MAP_DENYWRITE: uint = 2048;

def MAP_EXECUTABLE[link]

Show undocumented member
def MAP_EXECUTABLE: uint = 4096;

def MAP_FILE[link]

Show undocumented member
def MAP_FILE: uint = 0;

def MAP_FIXED[link]

Show undocumented member
def MAP_FIXED: uint = 16;

def MAP_FIXED_NOREPLACE[link]

Show undocumented member
def MAP_FIXED_NOREPLACE: uint = 1048576;

def MAP_GROWSDOWN[link]

Show undocumented member
def MAP_GROWSDOWN: uint = 256;

def MAP_HUGETLB[link]

Show undocumented member
def MAP_HUGETLB: uint = 262144;

def MAP_HUGE_16GB[link]

Show undocumented member
def MAP_HUGE_16GB: uint = 34 << 26;

def MAP_HUGE_16MB[link]

Show undocumented member
def MAP_HUGE_16MB: uint = 24 << 26;

def MAP_HUGE_1GB[link]

Show undocumented member
def MAP_HUGE_1GB: uint = 30 << 26;

def MAP_HUGE_1MB[link]

Show undocumented member
def MAP_HUGE_1MB: uint = 20 << 26;

def MAP_HUGE_256MB[link]

Show undocumented member
def MAP_HUGE_256MB: uint = 28 << 26;

def MAP_HUGE_2GB[link]

Show undocumented member
def MAP_HUGE_2GB: uint = 31 << 26;

def MAP_HUGE_2MB[link]

Show undocumented member
def MAP_HUGE_2MB: uint = 21 << 26;

def MAP_HUGE_32MB[link]

Show undocumented member
def MAP_HUGE_32MB: uint = 25 << 26;

def MAP_HUGE_512KB[link]

Show undocumented member
def MAP_HUGE_512KB: uint = 19 << 26;

def MAP_HUGE_512MB[link]

Show undocumented member
def MAP_HUGE_512MB: uint = 29 << 26;

def MAP_HUGE_64KB[link]

Show undocumented member
def MAP_HUGE_64KB: uint = 16 << 26;

def MAP_HUGE_8MB[link]

Show undocumented member
def MAP_HUGE_8MB: uint = 23 << 26;

def MAP_HUGE_MASK[link]

Show undocumented member
def MAP_HUGE_MASK: uint = 63;

def MAP_HUGE_SHIFT[link]

Show undocumented member
def MAP_HUGE_SHIFT: uint = 26;

def MAP_LOCKED[link]

Show undocumented member
def MAP_LOCKED: uint = 8192;

def MAP_NONBLOCK[link]

Show undocumented member
def MAP_NONBLOCK: uint = 65536;

def MAP_NORESERVE[link]

Show undocumented member
def MAP_NORESERVE: uint = 16384;

def MAP_POPULATE[link]

Show undocumented member
def MAP_POPULATE: uint = 32768;

def MAP_PRIVATE[link]

Show undocumented member
def MAP_PRIVATE: uint = 2;

def MAP_SHARED[link]

Show undocumented member
def MAP_SHARED: uint = 1;

def MAP_SHARED_VALIDATE[link]

Show undocumented member
def MAP_SHARED_VALIDATE: uint = 3;

def MAP_STACK[link]

Show undocumented member
def MAP_STACK: uint = 131072;

def MAP_SYNC[link]

Show undocumented member
def MAP_SYNC: uint = 524288;

def MCL_CURRENT[link]

Show undocumented member
def MCL_CURRENT: uint = 1;

def MCL_FUTURE[link]

Show undocumented member
def MCL_FUTURE: uint = 2;

def MCL_ONFAULT[link]

Show undocumented member
def MCL_ONFAULT: uint = 4;

def MFD_ALLOW_SEALING[link]

Show undocumented member
def MFD_ALLOW_SEALING: uint = 2;

def MFD_CLOEXEC[link]

Show undocumented member
def MFD_CLOEXEC: uint = 1;

def MFD_HUGETLB[link]

Show undocumented member
def MFD_HUGETLB: uint = 4;

def MLOCK_ONFAULT[link]

Show undocumented member
def MLOCK_ONFAULT: uint = 1;

def MSG_CONFIRM[link]

Show undocumented member
def MSG_CONFIRM: int = 2048;

def MSG_DONTROUTE[link]

Show undocumented member
def MSG_DONTROUTE: int = 4;

def MSG_DONTWAIT[link]

Show undocumented member
def MSG_DONTWAIT: int = 64;

def MSG_ERRQUEUE[link]

Show undocumented member
def MSG_ERRQUEUE: int = 8192;

def MSG_NO_SHARED_FRAGS[link]

Show undocumented member
def MSG_NO_SHARED_FRAGS: int = 524288;

def MSG_PEEK[link]

Show undocumented member
def MSG_PEEK: int = 2;

def MSG_PROBE[link]

Show undocumented member
def MSG_PROBE: int = 16;

def MSG_SYN[link]

Show undocumented member
def MSG_SYN: int = 1024;

def MSG_TRYHARD[link]

Show undocumented member
def MSG_TRYHARD: int = 4;

def NAME_MAX[link]

Show undocumented member
def NAME_MAX: size = 255z;

def NCCS[link]

Show undocumented member
def NCCS: size = 19;

def NGROUPS_MAX[link]

Show undocumented member
def NGROUPS_MAX: size = 32;

def NSIG[link]

Show undocumented member
def NSIG: int = 64;

def O_ACCMODE[link]

Show undocumented member
def O_ACCMODE: int = 3;

def O_APPEND[link]

Show undocumented member
def O_APPEND: int = 1024;

def O_CLOEXEC[link]

Show undocumented member
def O_CLOEXEC: int = 524288;

def O_CREATE[link]

Show undocumented member
def O_CREATE: int = 64;

def O_DIRECT[link]

Show undocumented member
def O_DIRECT: int = 16384;

def O_DIRECTORY[link]

Show undocumented member
def O_DIRECTORY: int = 65536;

def O_DSYNC[link]

Show undocumented member
def O_DSYNC: int = 4096;

def O_EXCLUSIVE[link]

Show undocumented member
def O_EXCLUSIVE: int = 128;

def O_NOATIME[link]

Show undocumented member
def O_NOATIME: int = 262144;

def O_NOCTTY[link]

Show undocumented member
def O_NOCTTY: int = 256;

def O_NOFOLLOW[link]

Show undocumented member
def O_NOFOLLOW: int = 131072;

def O_NONBLOCK[link]

Show undocumented member
def O_NONBLOCK: int = 2048;

def O_PATH[link]

Show undocumented member
def O_PATH: int = 2097152;

def O_RDWR[link]

Show undocumented member
def O_RDWR: int = 2;

def O_RSYNC[link]

Show undocumented member
def O_RSYNC: int = 1052672;

def O_SYNC[link]

Show undocumented member
def O_SYNC: int = 1052672;

def O_TMPFILE[link]

Show undocumented member
def O_TMPFILE: int = 4194304;

def O_TRUNC[link]

Show undocumented member
def O_TRUNC: int = 512;

def O_WRONLY[link]

Show undocumented member
def O_WRONLY: int = 1;

def PATH_MAX[link]

Show undocumented member
def PATH_MAX: size = 4096z;

def POLLERR[link]

Show undocumented member
def POLLERR: i16 = 8;

def POLLHUP[link]

Show undocumented member
def POLLHUP: i16 = 16;

def POLLIN[link]

Show undocumented member
def POLLIN: i16 = 1;

def POLLOUT[link]

Show undocumented member
def POLLOUT: i16 = 4;

def POLLPRI[link]

Show undocumented member
def POLLPRI: i16 = 2;

def POLLVAL[link]

Show undocumented member
def POLLVAL: i16 = 32;

def PRIO_PGRP[link]

Show undocumented member
def PRIO_PGRP: int = 1;

def PRIO_PROCESS[link]

Show undocumented member
def PRIO_PROCESS: int = 0;

def PRIO_USER[link]

Show undocumented member
def PRIO_USER: int = 2;

def PROT_EXEC[link]

Show undocumented member
def PROT_EXEC: uint = 4;

def PROT_GROWSDOWN[link]

Show undocumented member
def PROT_GROWSDOWN: uint = 16777216;

def PROT_GROWSUP[link]

Show undocumented member
def PROT_GROWSUP: uint = 33554432;

def PROT_NONE[link]

Show undocumented member
def PROT_NONE: uint = 0;

def PROT_READ[link]

Show undocumented member
def PROT_READ: uint = 1;

def PROT_WRITE[link]

Show undocumented member
def PROT_WRITE: uint = 2;

def PR_CAPBSET_DROP[link]

Show undocumented member
def PR_CAPBSET_DROP = 24;

def PR_CAPBSET_READ[link]

Show undocumented member
def PR_CAPBSET_READ = 23;

def PR_CAP_AMBIENT[link]

Show undocumented member
def PR_CAP_AMBIENT = 47;

def PR_CAP_AMBIENT_CLEAR_ALL[link]

Show undocumented member
def PR_CAP_AMBIENT_CLEAR_ALL = 4;

def PR_CAP_AMBIENT_IS_SET[link]

Show undocumented member
def PR_CAP_AMBIENT_IS_SET = 1;

def PR_CAP_AMBIENT_LOWER[link]

Show undocumented member
def PR_CAP_AMBIENT_LOWER = 3;

def PR_CAP_AMBIENT_RAISE[link]

Show undocumented member
def PR_CAP_AMBIENT_RAISE = 2;

def PR_ENDIAN_BIG[link]

Show undocumented member
def PR_ENDIAN_BIG = 0;

def PR_ENDIAN_LITTLE[link]

Show undocumented member
def PR_ENDIAN_LITTLE = 1;

def PR_ENDIAN_PPC_LITTLE[link]

Show undocumented member
def PR_ENDIAN_PPC_LITTLE = 2;

def PR_FPEMU_NOPRINT[link]

Show undocumented member
def PR_FPEMU_NOPRINT = 1;

def PR_FPEMU_SIGFPE[link]

Show undocumented member
def PR_FPEMU_SIGFPE = 2;

def PR_FP_EXC_ASYNC[link]

Show undocumented member
def PR_FP_EXC_ASYNC = 2;

def PR_FP_EXC_DISABLED[link]

Show undocumented member
def PR_FP_EXC_DISABLED = 0;

def PR_FP_EXC_DIV[link]

Show undocumented member
def PR_FP_EXC_DIV = 65536;

def PR_FP_EXC_INV[link]

Show undocumented member
def PR_FP_EXC_INV = 1048576;

def PR_FP_EXC_NONRECOV[link]

Show undocumented member
def PR_FP_EXC_NONRECOV = 1;

def PR_FP_EXC_OVF[link]

Show undocumented member
def PR_FP_EXC_OVF = 131072;

def PR_FP_EXC_PRECISE[link]

Show undocumented member
def PR_FP_EXC_PRECISE = 3;

def PR_FP_EXC_RES[link]

Show undocumented member
def PR_FP_EXC_RES = 524288;

def PR_FP_EXC_SW_ENABLE[link]

Show undocumented member
def PR_FP_EXC_SW_ENABLE = 128;

def PR_FP_EXC_UND[link]

Show undocumented member
def PR_FP_EXC_UND = 262144;

def PR_FP_MODE_FR[link]

Show undocumented member
def PR_FP_MODE_FR = 1 << 0;

def PR_FP_MODE_FRE[link]

Show undocumented member
def PR_FP_MODE_FRE = 1 << 1;

def PR_GET_CHILD_SUBREAPER[link]

Show undocumented member
def PR_GET_CHILD_SUBREAPER = 37;

def PR_GET_DUMPABLE[link]

Show undocumented member
def PR_GET_DUMPABLE = 3;

def PR_GET_ENDIAN[link]

Show undocumented member
def PR_GET_ENDIAN = 19;

def PR_GET_FPEMU[link]

Show undocumented member
def PR_GET_FPEMU = 9;

def PR_GET_FPEXC[link]

Show undocumented member
def PR_GET_FPEXC = 11;

def PR_GET_FP_MODE[link]

Show undocumented member
def PR_GET_FP_MODE = 46;

def PR_GET_IO_FLUSHER[link]

Show undocumented member
def PR_GET_IO_FLUSHER = 58;

def PR_GET_KEEPCAPS[link]

Show undocumented member
def PR_GET_KEEPCAPS = 7;

def PR_GET_NAME[link]

Show undocumented member
def PR_GET_NAME = 16;

def PR_GET_NO_NEW_PRIVS[link]

Show undocumented member
def PR_GET_NO_NEW_PRIVS = 39;

def PR_GET_PDEATHSIG[link]

Show undocumented member
def PR_GET_PDEATHSIG = 2;

def PR_GET_SECCOMP[link]

Show undocumented member
def PR_GET_SECCOMP = 21;

def PR_GET_SECUREBITS[link]

Show undocumented member
def PR_GET_SECUREBITS = 27;

def PR_GET_SPECULATION_CTRL[link]

Show undocumented member
def PR_GET_SPECULATION_CTRL = 52;

def PR_GET_TAGGED_ADDR_CTRL[link]

Show undocumented member
def PR_GET_TAGGED_ADDR_CTRL = 56;

def PR_GET_THP_DISABLE[link]

Show undocumented member
def PR_GET_THP_DISABLE = 42;

def PR_GET_TID_ADDRESS[link]

Show undocumented member
def PR_GET_TID_ADDRESS = 40;

def PR_GET_TIMERSLACK[link]

Show undocumented member
def PR_GET_TIMERSLACK = 30;

def PR_GET_TIMING[link]

Show undocumented member
def PR_GET_TIMING = 13;

def PR_GET_TSC[link]

Show undocumented member
def PR_GET_TSC = 25;

def PR_GET_UNALIGN[link]

Show undocumented member
def PR_GET_UNALIGN = 5;

def PR_MCE_KILL[link]

Show undocumented member
def PR_MCE_KILL = 33;

def PR_MCE_KILL_CLEAR[link]

Show undocumented member
def PR_MCE_KILL_CLEAR = 0;

def PR_MCE_KILL_DEFAULT[link]

Show undocumented member
def PR_MCE_KILL_DEFAULT = 2;

def PR_MCE_KILL_EARLY[link]

Show undocumented member
def PR_MCE_KILL_EARLY = 1;

def PR_MCE_KILL_GET[link]

Show undocumented member
def PR_MCE_KILL_GET = 34;

def PR_MCE_KILL_LATE[link]

Show undocumented member
def PR_MCE_KILL_LATE = 0;

def PR_MCE_KILL_SET[link]

Show undocumented member
def PR_MCE_KILL_SET = 1;

def PR_MPX_DISABLE_MANAGEMENT[link]

Show undocumented member
def PR_MPX_DISABLE_MANAGEMENT = 44;

def PR_MPX_ENABLE_MANAGEMENT[link]

Show undocumented member
def PR_MPX_ENABLE_MANAGEMENT = 43;

def PR_MTE_TAG_MASK[link]

Show undocumented member
def PR_MTE_TAG_MASK = 65535 << 3;

def PR_MTE_TAG_SHIFT[link]

Show undocumented member
def PR_MTE_TAG_SHIFT = 3;

def PR_MTE_TCF_ASYNC[link]

Show undocumented member
def PR_MTE_TCF_ASYNC = 2 << 1;

def PR_MTE_TCF_MASK[link]

Show undocumented member
def PR_MTE_TCF_MASK = 3 << 1;

def PR_MTE_TCF_NONE[link]

Show undocumented member
def PR_MTE_TCF_NONE = 0 << 1;

def PR_MTE_TCF_SHIFT[link]

Show undocumented member
def PR_MTE_TCF_SHIFT = 1;

def PR_MTE_TCF_SYNC[link]

Show undocumented member
def PR_MTE_TCF_SYNC = 1 << 1;

def PR_PAC_APDAKEY[link]

Show undocumented member
def PR_PAC_APDAKEY = 1 << 2;

def PR_PAC_APDBKEY[link]

Show undocumented member
def PR_PAC_APDBKEY = 1 << 3;

def PR_PAC_APGAKEY[link]

Show undocumented member
def PR_PAC_APGAKEY = 1 << 4;

def PR_PAC_APIAKEY[link]

Show undocumented member
def PR_PAC_APIAKEY = 1 << 0;

def PR_PAC_APIBKEY[link]

Show undocumented member
def PR_PAC_APIBKEY = 1 << 1;

def PR_PAC_RESET_KEYS[link]

Show undocumented member
def PR_PAC_RESET_KEYS = 54;

def PR_SET_CHILD_SUBREAPER[link]

Show undocumented member
def PR_SET_CHILD_SUBREAPER = 36;

def PR_SET_DUMPABLE[link]

Show undocumented member
def PR_SET_DUMPABLE = 4;

def PR_SET_ENDIAN[link]

Show undocumented member
def PR_SET_ENDIAN = 20;

def PR_SET_FPEMU[link]

Show undocumented member
def PR_SET_FPEMU = 10;

def PR_SET_FPEXC[link]

Show undocumented member
def PR_SET_FPEXC = 12;

def PR_SET_FP_MODE[link]

Show undocumented member
def PR_SET_FP_MODE = 45;

def PR_SET_IO_FLUSHER[link]

Show undocumented member
def PR_SET_IO_FLUSHER = 57;

def PR_SET_KEEPCAPS[link]

Show undocumented member
def PR_SET_KEEPCAPS = 8;

def PR_SET_MM[link]

Show undocumented member
def PR_SET_MM = 35;

def PR_SET_MM_ARG_END[link]

Show undocumented member
def PR_SET_MM_ARG_END = 9;

def PR_SET_MM_ARG_START[link]

Show undocumented member
def PR_SET_MM_ARG_START = 8;

def PR_SET_MM_AUXV[link]

Show undocumented member
def PR_SET_MM_AUXV = 12;

def PR_SET_MM_BRK[link]

Show undocumented member
def PR_SET_MM_BRK = 7;

def PR_SET_MM_END_CODE[link]

Show undocumented member
def PR_SET_MM_END_CODE = 2;

def PR_SET_MM_END_DATA[link]

Show undocumented member
def PR_SET_MM_END_DATA = 4;

def PR_SET_MM_ENV_END[link]

Show undocumented member
def PR_SET_MM_ENV_END = 11;

def PR_SET_MM_ENV_START[link]

Show undocumented member
def PR_SET_MM_ENV_START = 10;

def PR_SET_MM_EXE_FILE[link]

Show undocumented member
def PR_SET_MM_EXE_FILE = 13;

def PR_SET_MM_MAP[link]

Show undocumented member
def PR_SET_MM_MAP = 14;

def PR_SET_MM_MAP_SIZE[link]

Show undocumented member
def PR_SET_MM_MAP_SIZE = 15;

def PR_SET_MM_START_BRK[link]

Show undocumented member
def PR_SET_MM_START_BRK = 6;

def PR_SET_MM_START_CODE[link]

Show undocumented member
def PR_SET_MM_START_CODE = 1;

def PR_SET_MM_START_DATA[link]

Show undocumented member
def PR_SET_MM_START_DATA = 3;

def PR_SET_MM_START_STACK[link]

Show undocumented member
def PR_SET_MM_START_STACK = 5;

def PR_SET_NAME[link]

Show undocumented member
def PR_SET_NAME = 15;

def PR_SET_NO_NEW_PRIVS[link]

Show undocumented member
def PR_SET_NO_NEW_PRIVS = 38;

def PR_SET_PDEATHSIG[link]

Show undocumented member
def PR_SET_PDEATHSIG = 1;

def PR_SET_PTRACER[link]

Show undocumented member
def PR_SET_PTRACER = 1499557217;

def PR_SET_PTRACER_ANY[link]

Show undocumented member
def PR_SET_PTRACER_ANY = -1;

def PR_SET_SECCOMP[link]

Show undocumented member
def PR_SET_SECCOMP = 22;

def PR_SET_SECUREBITS[link]

Show undocumented member
def PR_SET_SECUREBITS = 28;

def PR_SET_SPECULATION_CTRL[link]

Show undocumented member
def PR_SET_SPECULATION_CTRL = 53;

def PR_SET_SYSCALL_USER_DISPATCH[link]

Show undocumented member
def PR_SET_SYSCALL_USER_DISPATCH = 59;

def PR_SET_TAGGED_ADDR_CTRL[link]

Show undocumented member
def PR_SET_TAGGED_ADDR_CTRL = 55;

def PR_SET_THP_DISABLE[link]

Show undocumented member
def PR_SET_THP_DISABLE = 41;

def PR_SET_TIMERSLACK[link]

Show undocumented member
def PR_SET_TIMERSLACK = 29;

def PR_SET_TIMING[link]

Show undocumented member
def PR_SET_TIMING = 14;

def PR_SET_TSC[link]

Show undocumented member
def PR_SET_TSC = 26;

def PR_SET_UNALIGN[link]

Show undocumented member
def PR_SET_UNALIGN = 6;

def PR_SPEC_DISABLE[link]

Show undocumented member
def PR_SPEC_DISABLE = 1 << 2;

def PR_SPEC_DISABLE_NOEXEC[link]

Show undocumented member
def PR_SPEC_DISABLE_NOEXEC = 1 << 4;

def PR_SPEC_ENABLE[link]

Show undocumented member
def PR_SPEC_ENABLE = 1 << 1;

def PR_SPEC_FORCE_DISABLE[link]

Show undocumented member
def PR_SPEC_FORCE_DISABLE = 1 << 3;

def PR_SPEC_INDIRECT_BRANCH[link]

Show undocumented member
def PR_SPEC_INDIRECT_BRANCH = 1;

def PR_SPEC_NOT_AFFECTED[link]

Show undocumented member
def PR_SPEC_NOT_AFFECTED = 0;

def PR_SPEC_PRCTL[link]

Show undocumented member
def PR_SPEC_PRCTL = 1 << 0;

def PR_SPEC_STORE_BYPASS[link]

Show undocumented member
def PR_SPEC_STORE_BYPASS = 0;

def PR_SVE_GET_VL[link]

Show undocumented member
def PR_SVE_GET_VL = 51;

def PR_SVE_SET_VL[link]

Show undocumented member
def PR_SVE_SET_VL = 50;

def PR_SVE_SET_VL_ONEXEC[link]

Show undocumented member
def PR_SVE_SET_VL_ONEXEC = 1 << 18;

def PR_SVE_VL_INHERIT[link]

Show undocumented member
def PR_SVE_VL_INHERIT = 1 << 17;

def PR_SVE_VL_LEN_MASK[link]

Show undocumented member
def PR_SVE_VL_LEN_MASK = 65535;

def PR_SYS_DISPATCH_OFF[link]

Show undocumented member
def PR_SYS_DISPATCH_OFF = 0;

def PR_SYS_DISPATCH_ON[link]

Show undocumented member
def PR_SYS_DISPATCH_ON = 1;

def PR_TAGGED_ADDR_ENABLE[link]

Show undocumented member
def PR_TAGGED_ADDR_ENABLE = 1 << 0;

def PR_TASK_PERF_EVENTS_DISABLE[link]

Show undocumented member
def PR_TASK_PERF_EVENTS_DISABLE = 31;

def PR_TASK_PERF_EVENTS_ENABLE[link]

Show undocumented member
def PR_TASK_PERF_EVENTS_ENABLE = 32;

def PR_TIMING_STATISTICAL[link]

Show undocumented member
def PR_TIMING_STATISTICAL = 0;

def PR_TIMING_TIMESTAMP[link]

Show undocumented member
def PR_TIMING_TIMESTAMP = 1;

def PR_TSC_ENABLE[link]

Show undocumented member
def PR_TSC_ENABLE = 1;

def PR_TSC_SIGSEGV[link]

Show undocumented member
def PR_TSC_SIGSEGV = 2;

def PR_UNALIGN_NOPRINT[link]

Show undocumented member
def PR_UNALIGN_NOPRINT = 1;

def PR_UNALIGN_SIGBUS[link]

Show undocumented member
def PR_UNALIGN_SIGBUS = 2;

def PTRACE_ATTACH[link]

Show undocumented member
def PTRACE_ATTACH: int = 16;

def PTRACE_CONT[link]

Show undocumented member
def PTRACE_CONT: int = 7;

def PTRACE_DETACH[link]

Show undocumented member
def PTRACE_DETACH: int = 17;

def PTRACE_EVENT_CLONE[link]

Show undocumented member
def PTRACE_EVENT_CLONE: int = 3;

def PTRACE_EVENT_EXEC[link]

Show undocumented member
def PTRACE_EVENT_EXEC: int = 4;

def PTRACE_EVENT_EXIT[link]

Show undocumented member
def PTRACE_EVENT_EXIT: int = 6;

def PTRACE_EVENT_FORK[link]

Show undocumented member
def PTRACE_EVENT_FORK: int = 1;

def PTRACE_EVENT_SECCOMP[link]

Show undocumented member
def PTRACE_EVENT_SECCOMP: int = 7;

def PTRACE_EVENT_STOP[link]

Show undocumented member
def PTRACE_EVENT_STOP: int = 128;

def PTRACE_EVENT_VFORK[link]

Show undocumented member
def PTRACE_EVENT_VFORK: int = 2;

def PTRACE_EVENT_VFORK_DONE[link]

Show undocumented member
def PTRACE_EVENT_VFORK_DONE: int = 5;

def PTRACE_GETEVENTMSG[link]

Show undocumented member
def PTRACE_GETEVENTMSG: int = 16897;

def PTRACE_GETFPREGS[link]

Show undocumented member
def PTRACE_GETFPREGS: int = 14;

def PTRACE_GETFPXREGS[link]

Show undocumented member
def PTRACE_GETFPXREGS: int = 18;

def PTRACE_GETREGS[link]

Show undocumented member
def PTRACE_GETREGS: int = 12;

def PTRACE_GETREGSET[link]

Show undocumented member
def PTRACE_GETREGSET: int = 16900;

def PTRACE_GETSIGINFO[link]

Show undocumented member
def PTRACE_GETSIGINFO: int = 16898;

def PTRACE_GETSIGMASK[link]

Show undocumented member
def PTRACE_GETSIGMASK: int = 16906;

def PTRACE_GET_RSEQ_CONFIGURATION[link]

Show undocumented member
def PTRACE_GET_RSEQ_CONFIGURATION: int = 16911;

def PTRACE_GET_SYSCALL_INFO[link]

Show undocumented member
def PTRACE_GET_SYSCALL_INFO: int = 16910;

def PTRACE_INTERRUPT[link]

Show undocumented member
def PTRACE_INTERRUPT: int = 16903;

def PTRACE_KILL[link]

Show undocumented member
def PTRACE_KILL: int = 8;

def PTRACE_LISTEN[link]

Show undocumented member
def PTRACE_LISTEN: int = 16904;

def PTRACE_O_EXITKILL[link]

Show undocumented member
def PTRACE_O_EXITKILL: u64 = 1048576;

def PTRACE_O_MASK[link]

Show undocumented member
def PTRACE_O_MASK: u64 = 3145983;

def PTRACE_O_SUSPEND_SECCOMP[link]

Show undocumented member
def PTRACE_O_SUSPEND_SECCOMP: u64 = 2097152;

def PTRACE_O_TRACECLONE[link]

Show undocumented member
def PTRACE_O_TRACECLONE: u64 = 8;

def PTRACE_O_TRACEEXEC[link]

Show undocumented member
def PTRACE_O_TRACEEXEC: u64 = 16;

def PTRACE_O_TRACEEXIT[link]

Show undocumented member
def PTRACE_O_TRACEEXIT: u64 = 64;

def PTRACE_O_TRACEFORK[link]

Show undocumented member
def PTRACE_O_TRACEFORK: u64 = 2;

def PTRACE_O_TRACESECCOMP[link]

Show undocumented member
def PTRACE_O_TRACESECCOMP: u64 = 128;

def PTRACE_O_TRACESYSGOOD[link]

Show undocumented member
def PTRACE_O_TRACESYSGOOD: u64 = 1;

def PTRACE_O_TRACEVFORK[link]

Show undocumented member
def PTRACE_O_TRACEVFORK: u64 = 4;

def PTRACE_O_TRACEVFORKDONE[link]

Show undocumented member
def PTRACE_O_TRACEVFORKDONE: u64 = 32;

def PTRACE_PEEKDATA[link]

Show undocumented member
def PTRACE_PEEKDATA: int = 2;

def PTRACE_PEEKSIGINFO[link]

Show undocumented member
def PTRACE_PEEKSIGINFO: int = 16905;

def PTRACE_PEEKSIGINFO_SHARED[link]

Show undocumented member
def PTRACE_PEEKSIGINFO_SHARED: u32 = 1;

def PTRACE_PEEKTEXT[link]

Show undocumented member
def PTRACE_PEEKTEXT: int = 1;

def PTRACE_PEEKUSER[link]

Show undocumented member
def PTRACE_PEEKUSER: int = 3;

def PTRACE_POKEDATA[link]

Show undocumented member
def PTRACE_POKEDATA: int = 5;

def PTRACE_POKETEXT[link]

Show undocumented member
def PTRACE_POKETEXT: int = 4;

def PTRACE_POKEUSER[link]

Show undocumented member
def PTRACE_POKEUSER: int = 6;

def PTRACE_SECCOMP_GET_FILTER[link]

Show undocumented member
def PTRACE_SECCOMP_GET_FILTER: int = 16908;

def PTRACE_SECCOMP_GET_METADATA[link]

Show undocumented member
def PTRACE_SECCOMP_GET_METADATA: int = 16909;

def PTRACE_SEIZE[link]

Show undocumented member
def PTRACE_SEIZE: int = 16902;

def PTRACE_SETFPREGS[link]

Show undocumented member
def PTRACE_SETFPREGS: int = 15;

def PTRACE_SETFPXREGS[link]

Show undocumented member
def PTRACE_SETFPXREGS: int = 19;

def PTRACE_SETOPTIONS[link]

Show undocumented member
def PTRACE_SETOPTIONS: int = 16896;

def PTRACE_SETREGS[link]

Show undocumented member
def PTRACE_SETREGS: int = 13;

def PTRACE_SETREGSET[link]

Show undocumented member
def PTRACE_SETREGSET: int = 16901;

def PTRACE_SETSIGINFO[link]

Show undocumented member
def PTRACE_SETSIGINFO: int = 16899;

def PTRACE_SETSIGMASK[link]

Show undocumented member
def PTRACE_SETSIGMASK: int = 16907;

def PTRACE_SINGLESTEP[link]

Show undocumented member
def PTRACE_SINGLESTEP: int = 9;

def PTRACE_SYSCALL[link]

Show undocumented member
def PTRACE_SYSCALL: int = 24;

def PTRACE_SYSCALL_INFO_ENTRY[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_ENTRY: u8 = 1;

def PTRACE_SYSCALL_INFO_EXIT[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_EXIT: u8 = 2;

def PTRACE_SYSCALL_INFO_NONE[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_NONE: u8 = 0;

def PTRACE_SYSCALL_INFO_SECCOMP[link]

Show undocumented member
def PTRACE_SYSCALL_INFO_SECCOMP: u8 = 3;

def PTRACE_TRACEME[link]

Show undocumented member
def PTRACE_TRACEME: int = 0;

def RESOLVE_BENEATH[link]

Show undocumented member
def RESOLVE_BENEATH: u64 = 8;

def RESOLVE_IN_ROOT[link]

Show undocumented member
def RESOLVE_IN_ROOT: u64 = 16;
Show undocumented member
def RESOLVE_NO_MAGICLINKS: u64 = 2;
Show undocumented member
def RESOLVE_NO_SYMLINKS: u64 = 4;

def RESOLVE_NO_XDEV[link]

Show undocumented member
def RESOLVE_NO_XDEV: u64 = 1;

def RLIMIT_AS[link]

Show undocumented member
def RLIMIT_AS: int = 9;

def RLIMIT_CORE[link]

Show undocumented member
def RLIMIT_CORE: int = 4;

def RLIMIT_CPU[link]

Show undocumented member
def RLIMIT_CPU: int = 0;

def RLIMIT_DATA[link]

Show undocumented member
def RLIMIT_DATA: int = 2;

def RLIMIT_FSIZE[link]

Show undocumented member
def RLIMIT_FSIZE: int = 1;

def RLIMIT_LOCKS[link]

Show undocumented member
def RLIMIT_LOCKS: int = 10;

def RLIMIT_MEMLOCK[link]

Show undocumented member
def RLIMIT_MEMLOCK: int = 8;

def RLIMIT_MSGQUEUE[link]

Show undocumented member
def RLIMIT_MSGQUEUE: int = 12;

def RLIMIT_NICE[link]

Show undocumented member
def RLIMIT_NICE: int = 13;

def RLIMIT_NLIMITS[link]

Show undocumented member
def RLIMIT_NLIMITS: int = 16;

def RLIMIT_NOFILE[link]

Show undocumented member
def RLIMIT_NOFILE: int = 7;

def RLIMIT_NPROC[link]

Show undocumented member
def RLIMIT_NPROC: int = 6;

def RLIMIT_RSS[link]

Show undocumented member
def RLIMIT_RSS: int = 5;

def RLIMIT_RTPRIO[link]

Show undocumented member
def RLIMIT_RTPRIO: int = 14;

def RLIMIT_RTTIME[link]

Show undocumented member
def RLIMIT_RTTIME: int = 15;

def RLIMIT_SIGPENDING[link]

Show undocumented member
def RLIMIT_SIGPENDING: int = 11;

def RLIMIT_STACK[link]

Show undocumented member
def RLIMIT_STACK: int = 3;

def RLIM_INFINITY[link]

Show undocumented member
def RLIM_INFINITY: rlim_t = -1;

def R_OK[link]

Show undocumented member
def R_OK: int = 4;

def SA_NOCLDSTOP[link]

Show undocumented member
def SA_NOCLDSTOP: u64 = 1;

def SA_NOCLDWAIT[link]

Show undocumented member
def SA_NOCLDWAIT: u64 = 2;

def SA_NODEFER[link]

Show undocumented member
def SA_NODEFER: u64 = 1073741824;

def SA_NOMASK[link]

Show undocumented member
def SA_NOMASK: u64 = SA_NODEFER;

def SA_ONESHOT[link]

Show undocumented member
def SA_ONESHOT: u64 = SA_RESETHAND;

def SA_ONSTACK[link]

Show undocumented member
def SA_ONSTACK: u64 = 134217728;

def SA_RESETHAND[link]

Show undocumented member
def SA_RESETHAND: u64 = 2147483648;

def SA_RESTART[link]

Show undocumented member
def SA_RESTART: u64 = 268435456;

def SA_RESTORER[link]

Show undocumented member
def SA_RESTORER: u64 = 67108864;

def SA_SIGINFO[link]

Show undocumented member
def SA_SIGINFO: u64 = 4;

def SCM_CREDENTIALS[link]

Show undocumented member
def SCM_CREDENTIALS: int = 2;

def SCM_RIGHTS[link]

Show undocumented member
def SCM_RIGHTS: int = 1;

def SEEK_CUR[link]

Show undocumented member
def SEEK_CUR: int = 1;

def SEEK_END[link]

Show undocumented member
def SEEK_END: int = 2;

def SEEK_SET[link]

Show undocumented member
def SEEK_SET: int = 0;

def SFD_CLOEXEC[link]

Show undocumented member
def SFD_CLOEXEC: int = O_CLOEXEC;

def SFD_NONBLOCK[link]

Show undocumented member
def SFD_NONBLOCK: int = O_NONBLOCK;

def SHUT_RD[link]

Show undocumented member
def SHUT_RD: int = 0;

def SHUT_RDWR[link]

Show undocumented member
def SHUT_RDWR: int = 2;

def SHUT_WR[link]

Show undocumented member
def SHUT_WR: int = 1;

def SIGABRT[link]

Show undocumented member
def SIGABRT: int = 6;

def SIGALRM[link]

Show undocumented member
def SIGALRM: int = 14;

def SIGBUS[link]

Show undocumented member
def SIGBUS: int = 7;

def SIGCHLD[link]

Show undocumented member
def SIGCHLD: int = 17;

def SIGCONT[link]

Show undocumented member
def SIGCONT: int = 18;

def SIGFPE[link]

Show undocumented member
def SIGFPE: int = 8;

def SIGHUP[link]

Show undocumented member
def SIGHUP: int = 1;

def SIGILL[link]

Show undocumented member
def SIGILL: int = 4;

def SIGINT[link]

Show undocumented member
def SIGINT: int = 2;

def SIGIO[link]

Show undocumented member
def SIGIO: int = 29;

def SIGKILL[link]

Show undocumented member
def SIGKILL: int = 9;

def SIGPIPE[link]

Show undocumented member
def SIGPIPE: int = 13;

def SIGPOLL[link]

Show undocumented member
def SIGPOLL: int = 29;

def SIGPROF[link]

Show undocumented member
def SIGPROF: int = 27;

def SIGPWR[link]

Show undocumented member
def SIGPWR: int = 30;

def SIGQUIT[link]

Show undocumented member
def SIGQUIT: int = 3;

def SIGSEGV[link]

Show undocumented member
def SIGSEGV: int = 11;

def SIGSTKFLT[link]

Show undocumented member
def SIGSTKFLT: int = 16;

def SIGSTOP[link]

Show undocumented member
def SIGSTOP: int = 19;

def SIGSYS[link]

Show undocumented member
def SIGSYS: int = 31;

def SIGTERM[link]

Show undocumented member
def SIGTERM: int = 15;

def SIGTRAP[link]

Show undocumented member
def SIGTRAP: int = 5;

def SIGTSTP[link]

Show undocumented member
def SIGTSTP: int = 20;

def SIGTTIN[link]

Show undocumented member
def SIGTTIN: int = 21;

def SIGTTOU[link]

Show undocumented member
def SIGTTOU: int = 22;

def SIGURG[link]

Show undocumented member
def SIGURG: int = 23;

def SIGUSR1[link]

Show undocumented member
def SIGUSR1: int = 10;

def SIGUSR2[link]

Show undocumented member
def SIGUSR2: int = 12;

def SIGVTALRM[link]

Show undocumented member
def SIGVTALRM: int = 26;

def SIGWINCH[link]

Show undocumented member
def SIGWINCH: int = 28;

def SIGXCPU[link]

Show undocumented member
def SIGXCPU: int = 24;

def SIGXFSZ[link]

Show undocumented member
def SIGXFSZ: int = 25;

def SIG_BLOCK[link]

Show undocumented member
def SIG_BLOCK: int = 0;

def SIG_DFL[link]

Show undocumented member
def SIG_DFL: uintptr = 0;

def SIG_ERR[link]

Show undocumented member
def SIG_ERR: uintptr = -1;

def SIG_HOLD[link]

Show undocumented member
def SIG_HOLD: uintptr = 2;

def SIG_IGN[link]

Show undocumented member
def SIG_IGN: uintptr = 1;

def SIG_SETMASK[link]

Show undocumented member
def SIG_SETMASK: int = 2;

def SIG_UNBLOCK[link]

Show undocumented member
def SIG_UNBLOCK: int = 1;

def SOCK_CLOEXEC[link]

Show undocumented member
def SOCK_CLOEXEC: int = 524288;

def SOCK_DCCP[link]

Show undocumented member
def SOCK_DCCP: int = 6;

def SOCK_DGRAM[link]

Show undocumented member
def SOCK_DGRAM: int = 2;

def SOCK_NONBLOCK[link]

Show undocumented member
def SOCK_NONBLOCK: int = 2048;

def SOCK_PACKET[link]

Show undocumented member
def SOCK_PACKET: int = 10;

def SOCK_RAW[link]

Show undocumented member
def SOCK_RAW: int = 3;

def SOCK_RDM[link]

Show undocumented member
def SOCK_RDM: int = 4;

def SOCK_SEQPACKET[link]

Show undocumented member
def SOCK_SEQPACKET: int = 5;

def SO_ATTACH_FILTER[link]

Show undocumented member
def SO_ATTACH_FILTER: int = 26;

def SO_BROADCAST[link]

Show undocumented member
def SO_BROADCAST: int = 6;

def SO_BSDCOMPAT[link]

Show undocumented member
def SO_BSDCOMPAT: int = 14;

def SO_DETATCH_FILTER[link]

Show undocumented member
def SO_DETATCH_FILTER: int = 27;

def SO_DONTROUTE[link]

Show undocumented member
def SO_DONTROUTE: int = 5;

def SO_ERROR[link]

Show undocumented member
def SO_ERROR: int = 4;

def SO_KEEPALIVE[link]

Show undocumented member
def SO_KEEPALIVE: int = 9;

def SO_LINGER[link]

Show undocumented member
def SO_LINGER: int = 13;

def SO_LOCK_FILTER[link]

Show undocumented member
def SO_LOCK_FILTER: int = 44;

def SO_NO_CHECK[link]

Show undocumented member
def SO_NO_CHECK: int = 11;

def SO_OOBINLINE[link]

Show undocumented member
def SO_OOBINLINE: int = 10;

def SO_PEERCRED[link]

Show undocumented member
def SO_PEERCRED: int = 17;

def SO_PRIORITY[link]

Show undocumented member
def SO_PRIORITY: int = 12;

def SO_RCVBUF[link]

Show undocumented member
def SO_RCVBUF: int = 8;

def SO_RCVBUFFORCE[link]

Show undocumented member
def SO_RCVBUFFORCE: int = 33;

def SO_RCVLOWAT[link]

Show undocumented member
def SO_RCVLOWAT: int = 18;

def SO_RCVTIMEO_OLD[link]

Show undocumented member
def SO_RCVTIMEO_OLD: int = 20;

def SO_REUSEADDR[link]

Show undocumented member
def SO_REUSEADDR: int = 2;

def SO_REUSEPORT[link]

Show undocumented member
def SO_REUSEPORT: int = 15;

def SO_SNDBUF[link]

Show undocumented member
def SO_SNDBUF: int = 7;

def SO_SNDBUFFORCE[link]

Show undocumented member
def SO_SNDBUFFORCE: int = 32;

def SO_SNDLOWAT[link]

Show undocumented member
def SO_SNDLOWAT: int = 19;

def SO_SNDTIMEO_OLD[link]

Show undocumented member
def SO_SNDTIMEO_OLD: int = 21;

def SO_TYPE[link]

Show undocumented member
def SO_TYPE: int = 3;

def SPLICE_F_FD_IN_FIXED[link]

Show undocumented member
def SPLICE_F_FD_IN_FIXED: u32 = 1 << 31;

def SPLICE_F_GIFT[link]

Show undocumented member
def SPLICE_F_GIFT: uint = 8;

def SPLICE_F_MORE[link]

Show undocumented member
def SPLICE_F_MORE: uint = 4;

def SPLICE_F_MOVE[link]

Show undocumented member
def SPLICE_F_MOVE: uint = 1;

def SPLICE_F_NONBLOCK[link]

Show undocumented member
def SPLICE_F_NONBLOCK: uint = 2;

def STDERR_FILENO[link]

Show undocumented member
def STDERR_FILENO: int = 2;

def STDIN_FILENO[link]

Show undocumented member
def STDIN_FILENO: int = 0;

def STDOUT_FILENO[link]

Show undocumented member
def STDOUT_FILENO: int = 1;

def SYSCALL_DISPATCH_FILTER_ALLOW[link]

Show undocumented member
def SYSCALL_DISPATCH_FILTER_ALLOW = 0;

def SYSCALL_DISPATCH_FILTER_BLOCK[link]

Show undocumented member
def SYSCALL_DISPATCH_FILTER_BLOCK = 1;

def SYS__sysctl[link]

Show undocumented member
def SYS__sysctl: u64 = 156;

def SYS_accept[link]

Show undocumented member
def SYS_accept: u64 = 43;

def SYS_accept4[link]

Show undocumented member
def SYS_accept4: u64 = 288;

def SYS_access[link]

Show undocumented member
def SYS_access: u64 = 21;

def SYS_acct[link]

Show undocumented member
def SYS_acct: u64 = 163;

def SYS_add_key[link]

Show undocumented member
def SYS_add_key: u64 = 248;

def SYS_adjtimex[link]

Show undocumented member
def SYS_adjtimex: u64 = 159;

def SYS_afs_syscall[link]

Show undocumented member
def SYS_afs_syscall: u64 = 183;

def SYS_alarm[link]

Show undocumented member
def SYS_alarm: u64 = 37;

def SYS_arch_prctl[link]

Show undocumented member
def SYS_arch_prctl: u64 = 158;

def SYS_bind[link]

Show undocumented member
def SYS_bind: u64 = 49;

def SYS_bpf[link]

Show undocumented member
def SYS_bpf: u64 = 321;

def SYS_brk[link]

Show undocumented member
def SYS_brk: u64 = 12;

def SYS_capget[link]

Show undocumented member
def SYS_capget: u64 = 125;

def SYS_capset[link]

Show undocumented member
def SYS_capset: u64 = 126;

def SYS_chdir[link]

Show undocumented member
def SYS_chdir: u64 = 80;

def SYS_chmod[link]

Show undocumented member
def SYS_chmod: u64 = 90;

def SYS_chown[link]

Show undocumented member
def SYS_chown: u64 = 92;

def SYS_chroot[link]

Show undocumented member
def SYS_chroot: u64 = 161;

def SYS_clock_adjtime[link]

Show undocumented member
def SYS_clock_adjtime: u64 = 305;

def SYS_clock_getres[link]

Show undocumented member
def SYS_clock_getres: u64 = 229;

def SYS_clock_gettime[link]

Show undocumented member
def SYS_clock_gettime: u64 = 228;

def SYS_clock_nanosleep[link]

Show undocumented member
def SYS_clock_nanosleep: u64 = 230;

def SYS_clock_settime[link]

Show undocumented member
def SYS_clock_settime: u64 = 227;

def SYS_clone[link]

Show undocumented member
def SYS_clone: u64 = 56;

def SYS_close[link]

Show undocumented member
def SYS_close: u64 = 3;

def SYS_connect[link]

Show undocumented member
def SYS_connect: u64 = 42;

def SYS_copy_file_range[link]

Show undocumented member
def SYS_copy_file_range: u64 = 326;

def SYS_creat[link]

Show undocumented member
def SYS_creat: u64 = 85;

def SYS_create_module[link]

Show undocumented member
def SYS_create_module: u64 = 174;

def SYS_delete_module[link]

Show undocumented member
def SYS_delete_module: u64 = 176;

def SYS_dup[link]

Show undocumented member
def SYS_dup: u64 = 32;

def SYS_dup2[link]

Show undocumented member
def SYS_dup2: u64 = 33;

def SYS_dup3[link]

Show undocumented member
def SYS_dup3: u64 = 292;

def SYS_epoll_create[link]

Show undocumented member
def SYS_epoll_create: u64 = 213;

def SYS_epoll_create1[link]

Show undocumented member
def SYS_epoll_create1: u64 = 291;

def SYS_epoll_ctl[link]

Show undocumented member
def SYS_epoll_ctl: u64 = 233;

def SYS_epoll_ctl_old[link]

Show undocumented member
def SYS_epoll_ctl_old: u64 = 214;

def SYS_epoll_pwait[link]

Show undocumented member
def SYS_epoll_pwait: u64 = 281;

def SYS_epoll_wait[link]

Show undocumented member
def SYS_epoll_wait: u64 = 232;

def SYS_epoll_wait_old[link]

Show undocumented member
def SYS_epoll_wait_old: u64 = 215;

def SYS_eventfd[link]

Show undocumented member
def SYS_eventfd: u64 = 284;

def SYS_eventfd2[link]

Show undocumented member
def SYS_eventfd2: u64 = 290;

def SYS_execve[link]

Show undocumented member
def SYS_execve: u64 = 59;

def SYS_execveat[link]

Show undocumented member
def SYS_execveat: u64 = 322;

def SYS_exit[link]

Show undocumented member
def SYS_exit: u64 = 60;

def SYS_exit_group[link]

Show undocumented member
def SYS_exit_group: u64 = 231;

def SYS_faccessat[link]

Show undocumented member
def SYS_faccessat: u64 = 269;

def SYS_faccessat2[link]

Show undocumented member
def SYS_faccessat2: u64 = 439;

def SYS_fadvise64[link]

Show undocumented member
def SYS_fadvise64: u64 = 221;

def SYS_fallocate[link]

Show undocumented member
def SYS_fallocate: u64 = 285;

def SYS_fanotify_init[link]

Show undocumented member
def SYS_fanotify_init: u64 = 300;

def SYS_fanotify_mark[link]

Show undocumented member
def SYS_fanotify_mark: u64 = 301;

def SYS_fchdir[link]

Show undocumented member
def SYS_fchdir: u64 = 81;

def SYS_fchmod[link]

Show undocumented member
def SYS_fchmod: u64 = 91;

def SYS_fchmodat[link]

Show undocumented member
def SYS_fchmodat: u64 = 268;

def SYS_fchown[link]

Show undocumented member
def SYS_fchown: u64 = 93;

def SYS_fchownat[link]

Show undocumented member
def SYS_fchownat: u64 = 260;

def SYS_fcntl[link]

Show undocumented member
def SYS_fcntl: u64 = 72;

def SYS_fdatasync[link]

Show undocumented member
def SYS_fdatasync: u64 = 75;

def SYS_fgetxattr[link]

Show undocumented member
def SYS_fgetxattr: u64 = 193;

def SYS_finit_module[link]

Show undocumented member
def SYS_finit_module: u64 = 313;

def SYS_flistxattr[link]

Show undocumented member
def SYS_flistxattr: u64 = 196;

def SYS_flock[link]

Show undocumented member
def SYS_flock: u64 = 73;

def SYS_fork[link]

Show undocumented member
def SYS_fork: u64 = 57;

def SYS_fremovexattr[link]

Show undocumented member
def SYS_fremovexattr: u64 = 199;

def SYS_fsconfig[link]

Show undocumented member
def SYS_fsconfig: u64 = 431;

def SYS_fsetxattr[link]

Show undocumented member
def SYS_fsetxattr: u64 = 190;

def SYS_fsmount[link]

Show undocumented member
def SYS_fsmount: u64 = 432;

def SYS_fsopen[link]

Show undocumented member
def SYS_fsopen: u64 = 430;

def SYS_fspick[link]

Show undocumented member
def SYS_fspick: u64 = 433;

def SYS_fstat[link]

Show undocumented member
def SYS_fstat: u64 = 5;

def SYS_fstatfs[link]

Show undocumented member
def SYS_fstatfs: u64 = 138;

def SYS_fsync[link]

Show undocumented member
def SYS_fsync: u64 = 74;

def SYS_ftruncate[link]

Show undocumented member
def SYS_ftruncate: u64 = 77;

def SYS_futex[link]

Show undocumented member
def SYS_futex: u64 = 202;

def SYS_futimesat[link]

Show undocumented member
def SYS_futimesat: u64 = 261;

def SYS_get_kernel_syms[link]

Show undocumented member
def SYS_get_kernel_syms: u64 = 177;

def SYS_get_mempolicy[link]

Show undocumented member
def SYS_get_mempolicy: u64 = 239;

def SYS_get_robust_list[link]

Show undocumented member
def SYS_get_robust_list: u64 = 274;

def SYS_get_thread_area[link]

Show undocumented member
def SYS_get_thread_area: u64 = 211;

def SYS_getcpu[link]

Show undocumented member
def SYS_getcpu: u64 = 309;

def SYS_getcwd[link]

Show undocumented member
def SYS_getcwd: u64 = 79;

def SYS_getdents[link]

Show undocumented member
def SYS_getdents: u64 = 78;

def SYS_getdents64[link]

Show undocumented member
def SYS_getdents64: u64 = 217;

def SYS_getegid[link]

Show undocumented member
def SYS_getegid: u64 = 108;

def SYS_geteuid[link]

Show undocumented member
def SYS_geteuid: u64 = 107;

def SYS_getgid[link]

Show undocumented member
def SYS_getgid: u64 = 104;

def SYS_getgroups[link]

Show undocumented member
def SYS_getgroups: u64 = 115;

def SYS_getitimer[link]

Show undocumented member
def SYS_getitimer: u64 = 36;

def SYS_getpeername[link]

Show undocumented member
def SYS_getpeername: u64 = 52;

def SYS_getpgid[link]

Show undocumented member
def SYS_getpgid: u64 = 121;

def SYS_getpgrp[link]

Show undocumented member
def SYS_getpgrp: u64 = 111;

def SYS_getpid[link]

Show undocumented member
def SYS_getpid: u64 = 39;

def SYS_getpmsg[link]

Show undocumented member
def SYS_getpmsg: u64 = 181;

def SYS_getppid[link]

Show undocumented member
def SYS_getppid: u64 = 110;

def SYS_getpriority[link]

Show undocumented member
def SYS_getpriority: u64 = 140;

def SYS_getrandom[link]

Show undocumented member
def SYS_getrandom: u64 = 318;

def SYS_getresgid[link]

Show undocumented member
def SYS_getresgid: u64 = 120;

def SYS_getresuid[link]

Show undocumented member
def SYS_getresuid: u64 = 118;

def SYS_getrlimit[link]

Show undocumented member
def SYS_getrlimit: u64 = 97;

def SYS_getrusage[link]

Show undocumented member
def SYS_getrusage: u64 = 98;

def SYS_getsid[link]

Show undocumented member
def SYS_getsid: u64 = 124;

def SYS_getsockname[link]

Show undocumented member
def SYS_getsockname: u64 = 51;

def SYS_getsockopt[link]

Show undocumented member
def SYS_getsockopt: u64 = 55;

def SYS_gettid[link]

Show undocumented member
def SYS_gettid: u64 = 186;

def SYS_gettimeofday[link]

Show undocumented member
def SYS_gettimeofday: u64 = 96;

def SYS_getuid[link]

Show undocumented member
def SYS_getuid: u64 = 102;

def SYS_getxattr[link]

Show undocumented member
def SYS_getxattr: u64 = 191;

def SYS_init_module[link]

Show undocumented member
def SYS_init_module: u64 = 175;

def SYS_inotify_add_watch[link]

Show undocumented member
def SYS_inotify_add_watch: u64 = 254;

def SYS_inotify_init[link]

Show undocumented member
def SYS_inotify_init: u64 = 253;

def SYS_inotify_init1[link]

Show undocumented member
def SYS_inotify_init1: u64 = 294;

def SYS_inotify_rm_watch[link]

Show undocumented member
def SYS_inotify_rm_watch: u64 = 255;

def SYS_io_cancel[link]

Show undocumented member
def SYS_io_cancel: u64 = 210;

def SYS_io_destroy[link]

Show undocumented member
def SYS_io_destroy: u64 = 207;

def SYS_io_getevents[link]

Show undocumented member
def SYS_io_getevents: u64 = 208;

def SYS_io_pgetevents[link]

Show undocumented member
def SYS_io_pgetevents: u64 = 333;

def SYS_io_setup[link]

Show undocumented member
def SYS_io_setup: u64 = 206;

def SYS_io_submit[link]

Show undocumented member
def SYS_io_submit: u64 = 209;

def SYS_io_uring_enter[link]

Show undocumented member
def SYS_io_uring_enter: u64 = 426;

def SYS_io_uring_register[link]

Show undocumented member
def SYS_io_uring_register: u64 = 427;

def SYS_io_uring_setup[link]

Show undocumented member
def SYS_io_uring_setup: u64 = 425;

def SYS_ioctl[link]

Show undocumented member
def SYS_ioctl: u64 = 16;

def SYS_ioperm[link]

Show undocumented member
def SYS_ioperm: u64 = 173;

def SYS_iopl[link]

Show undocumented member
def SYS_iopl: u64 = 172;

def SYS_ioprio_get[link]

Show undocumented member
def SYS_ioprio_get: u64 = 252;

def SYS_ioprio_set[link]

Show undocumented member
def SYS_ioprio_set: u64 = 251;

def SYS_kcmp[link]

Show undocumented member
def SYS_kcmp: u64 = 312;

def SYS_kexec_file_load[link]

Show undocumented member
def SYS_kexec_file_load: u64 = 320;

def SYS_kexec_load[link]

Show undocumented member
def SYS_kexec_load: u64 = 246;

def SYS_keyctl[link]

Show undocumented member
def SYS_keyctl: u64 = 250;

def SYS_kill[link]

Show undocumented member
def SYS_kill: u64 = 62;

def SYS_lchown[link]

Show undocumented member
def SYS_lchown: u64 = 94;

def SYS_lgetxattr[link]

Show undocumented member
def SYS_lgetxattr: u64 = 192;
Show undocumented member
def SYS_link: u64 = 86;

def SYS_linkat[link]

Show undocumented member
def SYS_linkat: u64 = 265;

def SYS_listen[link]

Show undocumented member
def SYS_listen: u64 = 50;

def SYS_listxattr[link]

Show undocumented member
def SYS_listxattr: u64 = 194;

def SYS_llistxattr[link]

Show undocumented member
def SYS_llistxattr: u64 = 195;

def SYS_lookup_dcookie[link]

Show undocumented member
def SYS_lookup_dcookie: u64 = 212;

def SYS_lremovexattr[link]

Show undocumented member
def SYS_lremovexattr: u64 = 198;

def SYS_lseek[link]

Show undocumented member
def SYS_lseek: u64 = 8;

def SYS_lsetxattr[link]

Show undocumented member
def SYS_lsetxattr: u64 = 189;

def SYS_lstat[link]

Show undocumented member
def SYS_lstat: u64 = 6;

def SYS_madvise[link]

Show undocumented member
def SYS_madvise: u64 = 28;

def SYS_mbind[link]

Show undocumented member
def SYS_mbind: u64 = 237;

def SYS_membarrier[link]

Show undocumented member
def SYS_membarrier: u64 = 324;

def SYS_memfd_create[link]

Show undocumented member
def SYS_memfd_create: u64 = 319;

def SYS_migrate_pages[link]

Show undocumented member
def SYS_migrate_pages: u64 = 256;

def SYS_mincore[link]

Show undocumented member
def SYS_mincore: u64 = 27;

def SYS_mkdir[link]

Show undocumented member
def SYS_mkdir: u64 = 83;

def SYS_mkdirat[link]

Show undocumented member
def SYS_mkdirat: u64 = 258;

def SYS_mknod[link]

Show undocumented member
def SYS_mknod: u64 = 133;

def SYS_mknodat[link]

Show undocumented member
def SYS_mknodat: u64 = 259;

def SYS_mlock[link]

Show undocumented member
def SYS_mlock: u64 = 149;

def SYS_mlock2[link]

Show undocumented member
def SYS_mlock2: u64 = 325;

def SYS_mlockall[link]

Show undocumented member
def SYS_mlockall: u64 = 151;

def SYS_mmap[link]

Show undocumented member
def SYS_mmap: u64 = 9;

def SYS_modify_ldt[link]

Show undocumented member
def SYS_modify_ldt: u64 = 154;

def SYS_mount[link]

Show undocumented member
def SYS_mount: u64 = 165;

def SYS_move_mount[link]

Show undocumented member
def SYS_move_mount: u64 = 429;

def SYS_move_pages[link]

Show undocumented member
def SYS_move_pages: u64 = 279;

def SYS_mprotect[link]

Show undocumented member
def SYS_mprotect: u64 = 10;

def SYS_mq_getsetattr[link]

Show undocumented member
def SYS_mq_getsetattr: u64 = 245;

def SYS_mq_notify[link]

Show undocumented member
def SYS_mq_notify: u64 = 244;

def SYS_mq_open[link]

Show undocumented member
def SYS_mq_open: u64 = 240;

def SYS_mq_timedreceive[link]

Show undocumented member
def SYS_mq_timedreceive: u64 = 243;

def SYS_mq_timedsend[link]

Show undocumented member
def SYS_mq_timedsend: u64 = 242;
Show undocumented member
def SYS_mq_unlink: u64 = 241;

def SYS_mremap[link]

Show undocumented member
def SYS_mremap: u64 = 25;

def SYS_msgctl[link]

Show undocumented member
def SYS_msgctl: u64 = 71;

def SYS_msgget[link]

Show undocumented member
def SYS_msgget: u64 = 68;

def SYS_msgrcv[link]

Show undocumented member
def SYS_msgrcv: u64 = 70;

def SYS_msgsnd[link]

Show undocumented member
def SYS_msgsnd: u64 = 69;

def SYS_msync[link]

Show undocumented member
def SYS_msync: u64 = 26;

def SYS_munlock[link]

Show undocumented member
def SYS_munlock: u64 = 150;

def SYS_munlockall[link]

Show undocumented member
def SYS_munlockall: u64 = 152;

def SYS_munmap[link]

Show undocumented member
def SYS_munmap: u64 = 11;

def SYS_name_to_handle_at[link]

Show undocumented member
def SYS_name_to_handle_at: u64 = 303;

def SYS_nanosleep[link]

Show undocumented member
def SYS_nanosleep: u64 = 35;

def SYS_newfstatat[link]

Show undocumented member
def SYS_newfstatat: u64 = 262;

def SYS_nfsservctl[link]

Show undocumented member
def SYS_nfsservctl: u64 = 180;

def SYS_open[link]

Show undocumented member
def SYS_open: u64 = 2;

def SYS_open_by_handle_at[link]

Show undocumented member
def SYS_open_by_handle_at: u64 = 304;

def SYS_open_tree[link]

Show undocumented member
def SYS_open_tree: u64 = 428;

def SYS_openat[link]

Show undocumented member
def SYS_openat: u64 = 257;

def SYS_openat2[link]

Show undocumented member
def SYS_openat2: u64 = 437;

def SYS_pause[link]

Show undocumented member
def SYS_pause: u64 = 34;

def SYS_perf_event_open[link]

Show undocumented member
def SYS_perf_event_open: u64 = 298;

def SYS_personality[link]

Show undocumented member
def SYS_personality: u64 = 135;

def SYS_pidfd_send_signal[link]

Show undocumented member
def SYS_pidfd_send_signal: u64 = 424;

def SYS_pipe[link]

Show undocumented member
def SYS_pipe: u64 = 22;

def SYS_pipe2[link]

Show undocumented member
def SYS_pipe2: u64 = 293;

def SYS_pivot_root[link]

Show undocumented member
def SYS_pivot_root: u64 = 155;

def SYS_pkey_alloc[link]

Show undocumented member
def SYS_pkey_alloc: u64 = 330;

def SYS_pkey_free[link]

Show undocumented member
def SYS_pkey_free: u64 = 331;

def SYS_pkey_mprotect[link]

Show undocumented member
def SYS_pkey_mprotect: u64 = 329;

def SYS_poll[link]

Show undocumented member
def SYS_poll: u64 = 7;

def SYS_ppoll[link]

Show undocumented member
def SYS_ppoll: u64 = 271;

def SYS_prctl[link]

Show undocumented member
def SYS_prctl: u64 = 157;

def SYS_pread64[link]

Show undocumented member
def SYS_pread64: u64 = 17;

def SYS_preadv[link]

Show undocumented member
def SYS_preadv: u64 = 295;

def SYS_preadv2[link]

Show undocumented member
def SYS_preadv2: u64 = 327;

def SYS_prlimit64[link]

Show undocumented member
def SYS_prlimit64: u64 = 302;

def SYS_process_vm_readv[link]

Show undocumented member
def SYS_process_vm_readv: u64 = 310;

def SYS_process_vm_writev[link]

Show undocumented member
def SYS_process_vm_writev: u64 = 311;

def SYS_pselect6[link]

Show undocumented member
def SYS_pselect6: u64 = 270;

def SYS_ptrace[link]

Show undocumented member
def SYS_ptrace: u64 = 101;

def SYS_putpmsg[link]

Show undocumented member
def SYS_putpmsg: u64 = 182;

def SYS_pwrite64[link]

Show undocumented member
def SYS_pwrite64: u64 = 18;

def SYS_pwritev[link]

Show undocumented member
def SYS_pwritev: u64 = 296;

def SYS_pwritev2[link]

Show undocumented member
def SYS_pwritev2: u64 = 328;

def SYS_query_module[link]

Show undocumented member
def SYS_query_module: u64 = 178;

def SYS_quotactl[link]

Show undocumented member
def SYS_quotactl: u64 = 179;

def SYS_read[link]

Show undocumented member
def SYS_read: u64 = 0;

def SYS_readahead[link]

Show undocumented member
def SYS_readahead: u64 = 187;
Show undocumented member
def SYS_readlink: u64 = 89;

def SYS_readlinkat[link]

Show undocumented member
def SYS_readlinkat: u64 = 267;

def SYS_readv[link]

Show undocumented member
def SYS_readv: u64 = 19;

def SYS_reboot[link]

Show undocumented member
def SYS_reboot: u64 = 169;

def SYS_recvfrom[link]

Show undocumented member
def SYS_recvfrom: u64 = 45;

def SYS_recvmmsg[link]

Show undocumented member
def SYS_recvmmsg: u64 = 299;

def SYS_recvmsg[link]

Show undocumented member
def SYS_recvmsg: u64 = 47;

def SYS_remap_file_pages[link]

Show undocumented member
def SYS_remap_file_pages: u64 = 216;

def SYS_removexattr[link]

Show undocumented member
def SYS_removexattr: u64 = 197;

def SYS_rename[link]

Show undocumented member
def SYS_rename: u64 = 82;

def SYS_renameat[link]

Show undocumented member
def SYS_renameat: u64 = 264;

def SYS_renameat2[link]

Show undocumented member
def SYS_renameat2: u64 = 316;

def SYS_request_key[link]

Show undocumented member
def SYS_request_key: u64 = 249;

def SYS_restart_syscall[link]

Show undocumented member
def SYS_restart_syscall: u64 = 219;

def SYS_rmdir[link]

Show undocumented member
def SYS_rmdir: u64 = 84;

def SYS_rseq[link]

Show undocumented member
def SYS_rseq: u64 = 334;

def SYS_rt_sigaction[link]

Show undocumented member
def SYS_rt_sigaction: u64 = 13;

def SYS_rt_sigpending[link]

Show undocumented member
def SYS_rt_sigpending: u64 = 127;

def SYS_rt_sigprocmask[link]

Show undocumented member
def SYS_rt_sigprocmask: u64 = 14;

def SYS_rt_sigqueueinfo[link]

Show undocumented member
def SYS_rt_sigqueueinfo: u64 = 129;

def SYS_rt_sigreturn[link]

Show undocumented member
def SYS_rt_sigreturn: u64 = 15;

def SYS_rt_sigsuspend[link]

Show undocumented member
def SYS_rt_sigsuspend: u64 = 130;

def SYS_rt_sigtimedwait[link]

Show undocumented member
def SYS_rt_sigtimedwait: u64 = 128;

def SYS_rt_tgsigqueueinfo[link]

Show undocumented member
def SYS_rt_tgsigqueueinfo: u64 = 297;

def SYS_sched_get_priority_max[link]

Show undocumented member
def SYS_sched_get_priority_max: u64 = 146;

def SYS_sched_get_priority_min[link]

Show undocumented member
def SYS_sched_get_priority_min: u64 = 147;

def SYS_sched_getaffinity[link]

Show undocumented member
def SYS_sched_getaffinity: u64 = 204;

def SYS_sched_getattr[link]

Show undocumented member
def SYS_sched_getattr: u64 = 315;

def SYS_sched_getparam[link]

Show undocumented member
def SYS_sched_getparam: u64 = 143;

def SYS_sched_getscheduler[link]

Show undocumented member
def SYS_sched_getscheduler: u64 = 145;

def SYS_sched_rr_get_interval[link]

Show undocumented member
def SYS_sched_rr_get_interval: u64 = 148;

def SYS_sched_setaffinity[link]

Show undocumented member
def SYS_sched_setaffinity: u64 = 203;

def SYS_sched_setattr[link]

Show undocumented member
def SYS_sched_setattr: u64 = 314;

def SYS_sched_setparam[link]

Show undocumented member
def SYS_sched_setparam: u64 = 142;

def SYS_sched_setscheduler[link]

Show undocumented member
def SYS_sched_setscheduler: u64 = 144;

def SYS_sched_yield[link]

Show undocumented member
def SYS_sched_yield: u64 = 24;

def SYS_seccomp[link]

Show undocumented member
def SYS_seccomp: u64 = 317;

def SYS_security[link]

Show undocumented member
def SYS_security: u64 = 185;

def SYS_select[link]

Show undocumented member
def SYS_select: u64 = 23;

def SYS_semctl[link]

Show undocumented member
def SYS_semctl: u64 = 66;

def SYS_semget[link]

Show undocumented member
def SYS_semget: u64 = 64;

def SYS_semop[link]

Show undocumented member
def SYS_semop: u64 = 65;

def SYS_semtimedop[link]

Show undocumented member
def SYS_semtimedop: u64 = 220;

def SYS_sendfile[link]

Show undocumented member
def SYS_sendfile: u64 = 40;

def SYS_sendmmsg[link]

Show undocumented member
def SYS_sendmmsg: u64 = 307;

def SYS_sendmsg[link]

Show undocumented member
def SYS_sendmsg: u64 = 46;

def SYS_sendto[link]

Show undocumented member
def SYS_sendto: u64 = 44;

def SYS_set_mempolicy[link]

Show undocumented member
def SYS_set_mempolicy: u64 = 238;

def SYS_set_robust_list[link]

Show undocumented member
def SYS_set_robust_list: u64 = 273;

def SYS_set_thread_area[link]

Show undocumented member
def SYS_set_thread_area: u64 = 205;

def SYS_set_tid_address[link]

Show undocumented member
def SYS_set_tid_address: u64 = 218;

def SYS_setdomainname[link]

Show undocumented member
def SYS_setdomainname: u64 = 171;

def SYS_setfsgid[link]

Show undocumented member
def SYS_setfsgid: u64 = 123;

def SYS_setfsuid[link]

Show undocumented member
def SYS_setfsuid: u64 = 122;

def SYS_setgid[link]

Show undocumented member
def SYS_setgid: u64 = 106;

def SYS_setgroups[link]

Show undocumented member
def SYS_setgroups: u64 = 116;

def SYS_sethostname[link]

Show undocumented member
def SYS_sethostname: u64 = 170;

def SYS_setitimer[link]

Show undocumented member
def SYS_setitimer: u64 = 38;

def SYS_setns[link]

Show undocumented member
def SYS_setns: u64 = 308;

def SYS_setpgid[link]

Show undocumented member
def SYS_setpgid: u64 = 109;

def SYS_setpriority[link]

Show undocumented member
def SYS_setpriority: u64 = 141;

def SYS_setregid[link]

Show undocumented member
def SYS_setregid: u64 = 114;

def SYS_setresgid[link]

Show undocumented member
def SYS_setresgid: u64 = 119;

def SYS_setresuid[link]

Show undocumented member
def SYS_setresuid: u64 = 117;

def SYS_setreuid[link]

Show undocumented member
def SYS_setreuid: u64 = 113;

def SYS_setrlimit[link]

Show undocumented member
def SYS_setrlimit: u64 = 160;

def SYS_setsid[link]

Show undocumented member
def SYS_setsid: u64 = 112;

def SYS_setsockopt[link]

Show undocumented member
def SYS_setsockopt: u64 = 54;

def SYS_settimeofday[link]

Show undocumented member
def SYS_settimeofday: u64 = 164;

def SYS_setuid[link]

Show undocumented member
def SYS_setuid: u64 = 105;

def SYS_setxattr[link]

Show undocumented member
def SYS_setxattr: u64 = 188;

def SYS_shmat[link]

Show undocumented member
def SYS_shmat: u64 = 30;

def SYS_shmctl[link]

Show undocumented member
def SYS_shmctl: u64 = 31;

def SYS_shmdt[link]

Show undocumented member
def SYS_shmdt: u64 = 67;

def SYS_shmget[link]

Show undocumented member
def SYS_shmget: u64 = 29;

def SYS_shutdown[link]

Show undocumented member
def SYS_shutdown: u64 = 48;

def SYS_sigaltstack[link]

Show undocumented member
def SYS_sigaltstack: u64 = 131;

def SYS_signalfd[link]

Show undocumented member
def SYS_signalfd: u64 = 282;

def SYS_signalfd4[link]

Show undocumented member
def SYS_signalfd4: u64 = 289;

def SYS_socket[link]

Show undocumented member
def SYS_socket: u64 = 41;

def SYS_socketpair[link]

Show undocumented member
def SYS_socketpair: u64 = 53;

def SYS_splice[link]

Show undocumented member
def SYS_splice: u64 = 275;

def SYS_stat[link]

Show undocumented member
def SYS_stat: u64 = 4;

def SYS_statfs[link]

Show undocumented member
def SYS_statfs: u64 = 137;

def SYS_statx[link]

Show undocumented member
def SYS_statx: u64 = 332;

def SYS_swapoff[link]

Show undocumented member
def SYS_swapoff: u64 = 168;

def SYS_swapon[link]

Show undocumented member
def SYS_swapon: u64 = 167;
Show undocumented member
def SYS_symlink: u64 = 88;

def SYS_symlinkat[link]

Show undocumented member
def SYS_symlinkat: u64 = 266;

def SYS_sync[link]

Show undocumented member
def SYS_sync: u64 = 162;

def SYS_sync_file_range[link]

Show undocumented member
def SYS_sync_file_range: u64 = 277;

def SYS_syncfs[link]

Show undocumented member
def SYS_syncfs: u64 = 306;

def SYS_sysfs[link]

Show undocumented member
def SYS_sysfs: u64 = 139;

def SYS_sysinfo[link]

Show undocumented member
def SYS_sysinfo: u64 = 99;

def SYS_syslog[link]

Show undocumented member
def SYS_syslog: u64 = 103;

def SYS_tee[link]

Show undocumented member
def SYS_tee: u64 = 276;

def SYS_tgkill[link]

Show undocumented member
def SYS_tgkill: u64 = 234;

def SYS_time[link]

Show undocumented member
def SYS_time: u64 = 201;

def SYS_timer_create[link]

Show undocumented member
def SYS_timer_create: u64 = 222;

def SYS_timer_delete[link]

Show undocumented member
def SYS_timer_delete: u64 = 226;

def SYS_timer_getoverrun[link]

Show undocumented member
def SYS_timer_getoverrun: u64 = 225;

def SYS_timer_gettime[link]

Show undocumented member
def SYS_timer_gettime: u64 = 224;

def SYS_timer_settime[link]

Show undocumented member
def SYS_timer_settime: u64 = 223;

def SYS_timerfd_create[link]

Show undocumented member
def SYS_timerfd_create: u64 = 283;

def SYS_timerfd_gettime[link]

Show undocumented member
def SYS_timerfd_gettime: u64 = 287;

def SYS_timerfd_settime[link]

Show undocumented member
def SYS_timerfd_settime: u64 = 286;

def SYS_times[link]

Show undocumented member
def SYS_times: u64 = 100;

def SYS_tkill[link]

Show undocumented member
def SYS_tkill: u64 = 200;

def SYS_truncate[link]

Show undocumented member
def SYS_truncate: u64 = 76;

def SYS_tuxcall[link]

Show undocumented member
def SYS_tuxcall: u64 = 184;

def SYS_umask[link]

Show undocumented member
def SYS_umask: u64 = 95;

def SYS_umount2[link]

Show undocumented member
def SYS_umount2: u64 = 166;

def SYS_uname[link]

Show undocumented member
def SYS_uname: u64 = 63;
Show undocumented member
def SYS_unlink: u64 = 87;

def SYS_unlinkat[link]

Show undocumented member
def SYS_unlinkat: u64 = 263;

def SYS_unshare[link]

Show undocumented member
def SYS_unshare: u64 = 272;

def SYS_uselib[link]

Show undocumented member
def SYS_uselib: u64 = 134;

def SYS_userfaultfd[link]

Show undocumented member
def SYS_userfaultfd: u64 = 323;

def SYS_ustat[link]

Show undocumented member
def SYS_ustat: u64 = 136;

def SYS_utime[link]

Show undocumented member
def SYS_utime: u64 = 132;

def SYS_utimensat[link]

Show undocumented member
def SYS_utimensat: u64 = 280;

def SYS_utimes[link]

Show undocumented member
def SYS_utimes: u64 = 235;

def SYS_vfork[link]

Show undocumented member
def SYS_vfork: u64 = 58;

def SYS_vhangup[link]

Show undocumented member
def SYS_vhangup: u64 = 153;

def SYS_vmsplice[link]

Show undocumented member
def SYS_vmsplice: u64 = 278;

def SYS_vserver[link]

Show undocumented member
def SYS_vserver: u64 = 236;

def SYS_wait4[link]

Show undocumented member
def SYS_wait4: u64 = 61;

def SYS_waitid[link]

Show undocumented member
def SYS_waitid: u64 = 247;

def SYS_write[link]

Show undocumented member
def SYS_write: u64 = 1;

def SYS_writev[link]

Show undocumented member
def SYS_writev: u64 = 20;

def S_IFBLK[link]

Show undocumented member
def S_IFBLK: mode_t = 24576;

def S_IFCHR[link]

Show undocumented member
def S_IFCHR: mode_t = 8192;

def S_IFDIR[link]

Show undocumented member
def S_IFDIR: mode_t = 16384;

def S_IFIFO[link]

Show undocumented member
def S_IFIFO: mode_t = 4096;

def S_IFLNK[link]

Show undocumented member
def S_IFLNK: mode_t = 40960;

def S_IFREG[link]

Show undocumented member
def S_IFREG: mode_t = 32768;

def S_IFSOCK[link]

Show undocumented member
def S_IFSOCK: mode_t = 49152;

def TCGETS[link]

Show undocumented member
def TCGETS: u64 = 21505;

def TCSETS[link]

Show undocumented member
def TCSETS: u64 = 21506;

def TFD_CLOEXEC[link]

Show undocumented member
def TFD_CLOEXEC: int = O_CLOEXEC;

def TFD_NONBLOCK[link]

Show undocumented member
def TFD_NONBLOCK: int = O_NONBLOCK;

def TFD_TIMER_ABSTIME[link]

Show undocumented member
def TFD_TIMER_ABSTIME: int = 1;

def TFD_TIMER_CANCEL_ON_SET[link]

Show undocumented member
def TFD_TIMER_CANCEL_ON_SET: int = 2;

def TIOCGPTN[link]

Show undocumented member
def TIOCGPTN: u64 = 2147767344;

def TIOCGPTPEER[link]

Show undocumented member
def TIOCGPTPEER: u64 = 21569;

def TIOCGWINSZ[link]

Show undocumented member
def TIOCGWINSZ: u64 = 21523;

def TIOCNOTTY[link]

Show undocumented member
def TIOCNOTTY: u64 = 21538;

def TIOCSCTTY[link]

Show undocumented member
def TIOCSCTTY: u64 = 21518;

def TIOCSPGRP[link]

Show undocumented member
def TIOCSPGRP: u64 = 21520;

def TIOCSPTLCK[link]

Show undocumented member
def TIOCSPTLCK: u64 = 1074025521;

def TIOCSWINSZ[link]

Show undocumented member
def TIOCSWINSZ: u64 = 21524;

def UNIX_PATH_MAX[link]

Show undocumented member
def UNIX_PATH_MAX: size = 108;

def UTIME_OMIT[link]

Show undocumented member
def UTIME_OMIT = 1073741822;

def WCONTINUED[link]

Show undocumented member
def WCONTINUED: int = 8;

def WEXITED[link]

Show undocumented member
def WEXITED: int = 4;

def WNOHANG[link]

Show undocumented member
def WNOHANG: int = 1;

def WNOWAIT[link]

Show undocumented member
def WNOWAIT: int = 16777216;

def WSTOPPED[link]

Show undocumented member
def WSTOPPED: int = 2;

def WUNTRACED[link]

Show undocumented member
def WUNTRACED: int = 2;

def W_OK[link]

Show undocumented member
def W_OK: int = 2;

def X_OK[link]

Show undocumented member
def X_OK: int = 1;

Globals

let argc[link]

Show undocumented member
let argc: size;

let argv[link]

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

let envp[link]

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

Functions

fn access[link]

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

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

fn clone[link]

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

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

fn cpuid_getvendor[link]

fn cpuid_getvendor() (cpuid_vendor | cpuid_unknownvendor);

Figures out cpu vendor using cpuid

fn cpuid_hasflags[link]

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

Checks if cpu has given features. See cpuid_edxflag and cpuid_ecxflag for available options.

fn errname[link]

fn errname(err: errno) str;

Gets the programmer-friendly name for an errno (e.g. EPERM). The return value may be statically allocated.

fn faccessat[link]

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

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

fn fini[link]

fn fini() void;

Run all global finalization functions.

fn fork[link]

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

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

fn free_[link]

@symbol("rt.free") fn free_(p: nullable *opaque) void;

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

fn getcwd[link]

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

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

fn getmeta[link]

fn getmeta(p: *opaque) *meta;

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

fn getxattr[link]

fn getxattr(path: path, name: str, value: []u8) (u64 | errno);

Gets an extended file attribute.

fn init[link]

fn init() void;

Run all global initialization functions.

fn malloc[link]

fn malloc(n: size) nullable *opaque;

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

fn onabort[link]

fn onabort(handler: *abort_handler) void;

Sets a new global runtime abort handler.

fn realloc[link]

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

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 removexattr[link]

fn removexattr(path: path, name: str) (void | errno);

Removes an extended file attribute.

fn setxattr[link]

fn setxattr(path: path, name: str, value: []u8, flags: int = 0) (void | errno);

Sets an extended file attribute.

fn strerror[link]

fn strerror(err: errno) str;

Obtains a human-friendly reading of an errno (e.g. "Operation not permitted"). The return value may be statically allocated.

fn _abort[link]

Show undocumented member
@symbol("rt.abort") fn _abort(path: *str, line: u64, col: u64, msg: str) never;

fn abort_fixed[link]

Show undocumented member
fn abort_fixed(path: *str, line: u64, col: u64, i: u64) void;

fn accept[link]

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

fn accept4[link]

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

fn add_key[link]

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

fn alarm[link]

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

fn bind[link]

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

fn chdir[link]

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

fn chmod[link]

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

fn chown[link]

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

fn chroot[link]

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

fn clock_gettime[link]

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

fn clock_settime[link]

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

fn close[link]

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

fn connect[link]

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

fn dup[link]

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

fn dup2[link]

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

fn dup3[link]

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

fn ensure[link]

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

fn epoll_create[link]

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

fn epoll_create1[link]

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

fn epoll_ctl[link]

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

fn epoll_pwait[link]

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

fn epoll_wait[link]

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

fn eventfd[link]

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

fn execve[link]

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

fn execveat[link]

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

fn exit[link]

Show undocumented member
fn exit(status: int) never;

fn fallocate[link]

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

fn fchdir[link]

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

fn fchmod[link]

Show undocumented member
fn fchmod(fd: int, mode: uint) (void | errno);

fn fchmodat[link]

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

fn fchown[link]

Show undocumented member
fn fchown(fd: int, uid: uint, gid: uint) (void | errno);

fn fchownat[link]

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

fn fcntl[link]

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

fn fdatasync[link]

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

fn feclearexcept[link]

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

fn fegetround[link]

Show undocumented member
fn fegetround() uint;

fn feraiseexcept[link]

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

fn fesetround[link]

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

fn fetestexcept[link]

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

fn flock[link]

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

fn fstat[link]

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

fn fstatat[link]

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

fn fsync[link]

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

fn ftruncate[link]

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

fn futimens[link]

Show undocumented member
fn futimens(fd: int, ts: *[2]timespec) (void | errno);

fn getdents64[link]

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

fn getgroups[link]

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

fn getitimer[link]

Show undocumented member
fn getitimer(which: int, cur: *itimerval) (void | errno);

fn getpeername[link]

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

fn getpgid[link]

Show undocumented member
fn getpgid(pid: pid_t) (pid_t | errno);

fn getpgrp[link]

Show undocumented member
fn getpgrp() pid_t;

fn getpid[link]

Show undocumented member
fn getpid() pid_t;

fn getppid[link]

Show undocumented member
fn getppid() pid_t;

fn getpriority[link]

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

fn getrandom[link]

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

fn getresgid[link]

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

fn getresuid[link]

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

fn getrlimit[link]

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

fn getsid[link]

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

fn getsockname[link]

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

fn getsockopt[link]

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

fn inotify_add_watch[link]

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

fn inotify_init[link]

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

fn inotify_init1[link]

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

fn inotify_rm_watch[link]

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

fn io_uring_enter[link]

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

fn io_uring_enter2[link]

Show undocumented member
fn io_uring_enter2(fd: int, to_submit: uint, min_complete: uint, flags: uint, arg: const nullable *opaque, argsz: size) (uint | errno);

fn io_uring_register[link]

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

fn io_uring_setup[link]

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

fn ioctl[link]

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

fn keyctl[link]

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

fn kill[link]

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

fn linkat[link]

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

fn listen[link]

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

fn longjmp[link]

Show undocumented member
fn longjmp(buf: *jmp_buf, n: int) never;

fn lseek[link]

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

fn lstat[link]

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

fn memcpy[link]

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

fn memfd_create[link]

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

fn memmove[link]

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

fn memset[link]

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

fn mkdev[link]

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

fn mkdir[link]

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

fn mkdirat[link]

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

fn mknodat[link]

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

fn mlock2[link]

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

fn mlockall[link]

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

fn mmap[link]

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

fn mount[link]

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

fn mprotect[link]

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

fn mremap[link]

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

fn munlock[link]

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

fn munlockall[link]

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

fn munmap[link]

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

fn nanosleep[link]

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

fn newheap[link]

Show undocumented member
fn newheap() memory_heap;

fn open[link]

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

fn openat2[link]

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

fn pipe2[link]

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

fn poll[link]

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

fn posix_fallocate[link]

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

fn ppoll[link]

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

fn prctl[link]

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

fn ptrace[link]

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

fn read[link]

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

fn readlinkat[link]

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

fn readv[link]

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

fn recv[link]

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

fn recvfrom[link]

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

fn recvmsg[link]

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

fn renameat[link]

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

fn sched_getaffinity[link]

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

fn sched_setaffinity[link]

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

fn send[link]

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

fn sendfile[link]

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

fn sendmsg[link]

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

fn sendto[link]

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

fn setgroups[link]

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

fn setitimer[link]

Show undocumented member
fn setitimer(which: int, newval: *itimerval, oldval: nullable *itimerval) (void | errno);

fn setjmp[link]

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

fn setpgid[link]

Show undocumented member
fn setpgid(pid: pid_t, pgid: pid_t) (void | errno);

fn setpriority[link]

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

fn setresgid[link]

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

fn setresuid[link]

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

fn setrlimit[link]

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

fn setsid[link]

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

fn setsockopt[link]

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

fn shmat[link]

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

fn shutdown[link]

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

fn sigaction[link]

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

fn sigaddset[link]

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

fn sigaltstack[link]

Show undocumented member
fn sigaltstack(ss: nullable *stack_t, old_ss: nullable *stack_t) (void | errno);

fn sigdelset[link]

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

fn sigemptyset[link]

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

fn sigfillset[link]

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

fn sigismember[link]

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

fn signalfd[link]

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

fn sigprocmask[link]

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

fn sigqueueinfo[link]

Show undocumented member
fn sigqueueinfo(tgid: pid_t, sig: int, info: *siginfo) (void | errno);

fn sigtimedwait[link]

Show undocumented member
fn sigtimedwait(set: *sigset, info: nullable *siginfo, timeout: nullable *timespec) (int | errno);

fn sigwait[link]

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

fn sigwaitinfo[link]

Show undocumented member
fn sigwaitinfo(set: *sigset, info: nullable *siginfo) (int | errno);

fn socket[link]

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

fn socketpair[link]

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

fn splice[link]

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

fn start_ha[link]

Show undocumented member
fn start_ha() never;

fn start_linux[link]

Show undocumented member
fn start_linux(iv: *[*]uintptr) never;

fn stat[link]

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

fn strcmp[link]

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

fn symlinkat[link]

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

fn sync[link]

Show undocumented member
fn sync() void;

fn syscall[link]

Show undocumented member
fn syscall(num: u64, args: u64...) u64;

fn tee[link]

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

fn timerfd_create[link]

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

fn timerfd_gettime[link]

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

fn timerfd_settime[link]

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

fn umask[link]

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

fn umount2[link]

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

fn uname[link]

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

fn unensure[link]

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

fn unlinkat[link]

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

fn utimensat[link]

Show undocumented member
fn utimensat(dirfd: int, path: str, ts: *[2]timespec, flags: int) (void | errno);

fn wait4[link]

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

fn wcoredump[link]

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

fn wexitstatus[link]

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

fn wifcontinued[link]

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

fn wifexited[link]

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

fn wifsignaled[link]

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

fn wifstopped[link]

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

fn write[link]

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

fn writev[link]

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

fn wstopsig[link]

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

fn wtermsig[link]

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