rt
The rt (runtime) module provides low-level, non-portable access to the host, and support code for the Hare compiler and standard library. The use of this module is not recommended for most user programs, and any program which uses rt is unlikely to be portable. However, any program which needs to make syscalls directly will have to use rt to do so.
Documentation for most interfaces is not provided; refer to the host documentation (e.g. Linux man pages) instead.
Index
Types
type abort_handler = fn(path: *str, line: u64, col: u64, msg: str) never;
type chunk = union {
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,
};
type _io_uring_cqe = struct {
user_data: u64,
res: i32,
flags: u32,
};
type arch_jmpbuf = [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, 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 {
events: u32,
data: epoll_data,
};
type f_owner_ex = struct {
_type: int,
pid: int,
};
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,
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 jmpbuf = struct {
__jb: arch_jmpbuf,
__fl: size,
__ss: [128 / size(size)]size,
};
type memory_heap = struct {
cur_allocs: size,
bins: [9]nullable *meta,
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: *fn(int) void,
sa_sigaction: *fn(int, *siginfo, *opaque) void,
},
sa_flags: u64,
sa_restorer: *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 {
struct {
si_pid: pid_t,
si_uid: u32,
},
struct {
si_tid: timer_t,
si_overrun: int,
_sigval: sigval,
si_sys_private: int,
},
struct {
_sig_pid: pid_t,
_sig_uid: u32,
union {
si_value: sigval,
si_int: int,
si_ptr: *opaque,
},
},
struct {
_chld_pid: pid_t,
_chld_uid: u32,
si_status: int,
si_utime: clock_t,
si_stime: clock_t,
},
struct {
si_addr: *opaque,
union {
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,
},
},
},
struct {
si_band: si_band_t,
si_fd: int,
},
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: [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: int,
};
type stack_t = struct {
ss_sp: *opaque,
ss_flags: int,
ss_size: size,
};
type suseconds_t = i64;
type tcflag = enum uint {
IGNBRK = 1, BRKINT = 2,
IGNPAR = 4,
PARMRK = 8,
INPCK = 16,
ISTRIP = 32,
INLCR = 64,
IGNCR = 128,
ICRNL = 256,
IUCLC = 512,
IXON = 1024,
IXANY = 2048,
IXOFF = 4096,
IMAXBEL = 8192,
IUTF8 = 16384,
OPOST = 1, OLCUC = 2,
ONLCR = 4,
OCRNL = 8,
ONOCR = 16,
ONLRET = 32,
OFILL = 64,
OFDEL = 128,
NLDLY = 256,
NL0 = 0,
NL1 = 256,
CRDLY = 1536,
CR0 = 0,
CR1 = 512,
CR2 = 1024,
CR3 = 1536,
TABDLY = 6144,
TAB0 = 0,
TAB1 = 2048,
TAB2 = 4096,
TAB3 = 6144,
XTABS = 6144,
BSDLY = 8192,
BS0 = 0,
BS1 = 8192,
VTDLY = 16384,
VT0 = 0,
VT1 = 16384,
FFDLY = 32768,
FF0 = 0,
FF1 = 32768,
CBAUD = 4111, B0 = 0,
B50 = 1,
B75 = 2,
B110 = 3,
B134 = 4,
B150 = 5,
B200 = 6,
B300 = 7,
B600 = 8,
B1200 = 9,
B1800 = 10,
B2400 = 11,
B4800 = 12,
B9600 = 13,
B19200 = 14,
B38400 = 15,
EXTA = B19200,
EXTB = B38400,
CSIZE = 48,
CS5 = 0,
CS6 = 16,
CS7 = 32,
CS8 = 48,
CSTOPB = 64,
CREAD = 128,
PARENB = 256,
PARODD = 512,
HUPCL = 1024,
CLOCAL = 2048,
CBAUDEX = 4096,
BOTHER = 4096,
B57600 = 4097,
B115200 = 4098,
B230400 = 4099,
B460800 = 4100,
B500000 = 4101,
B576000 = 4102,
B921600 = 4103,
B1000000 = 4104,
B1152000 = 4105,
B1500000 = 4106,
B2000000 = 4107,
B2500000 = 4108,
B3000000 = 4109,
B3500000 = 4110,
B4000000 = 4111,
CIBAUD = 269418496,
CMSPAR = 1073741824,
CRTSCTS = 2147483648,
ISIG = 1, ICANON = 2,
XCASE = 4,
ECHO = 8,
ECHOE = 16,
ECHOK = 32,
ECHONL = 64,
NOFLSH = 128,
TOSTOP = 256,
ECHOCTL = 512,
ECHOPRT = 1024,
ECHOKE = 2048,
FLUSHO = 4096,
PENDIN = 16384,
IEXTEN = 32768,
EXTPROC = 65536,
};
type termios = 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;
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;
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
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;
@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: *jmpbuf, 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: *jmpbuf) 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: int, 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
type abort_handler = fn(path: *str, line: u64, col: u64, msg: str) never;
Signature for abort handler function.
type chunk
type chunk = union {
padding: size,
data: [*]u8,
};
A group of blocks that were allocated together.
type meta = struct {
union {
sz: size,
next: uintptr,
},
user: [*]u8,
};
Metadata for a block.
type st
type st = struct {
dev: dev_t,
ino: ino_t,
mode: mode_t,
nlink: nlink_t,
uid: uid_t,
gid: gid_t,
rdev: dev_t,
sz: u64,
blksz: u64,
blocks: u64,
atime: timespec,
mtime: timespec,
ctime: timespec,
};
Note: the st type does not match the kernel API. The kernel API has a stat buffer which varies from arch to arch, but because we always use statx(2) and copy the data from the stx type, we don't have to deal with that nonsense.
type _io_uring_cqe
Show undocumented member
type _io_uring_cqe = struct {
user_data: u64,
res: i32,
flags: u32,
};
type arch_jmpbuf
Show undocumented member
type arch_jmpbuf = [8]u64;
type cc
Show undocumented member
type cc = enum u8 {
VINTR = 0,
VQUIT = 1,
VERASE = 2,
VKILL = 3,
VEOF = 4,
VTIME = 5,
VMIN = 6,
VSWTC = 7,
VSTART = 8,
VSTOP = 9,
VSUSP = 10,
VEOL = 11,
VREPRINT = 12,
VDISCARD = 13,
VWERASE = 14,
VLNEXT = 15,
VEOL2 = 16,
};
type clock_t
Show undocumented member
type clock_t = i64;
type cmsg
Show undocumented member
type cmsg = struct {
hdr: cmsghdr,
cmsg_data: [*]u8,
};
type cmsghdr
Show undocumented member
type cmsghdr = struct {
cmsg_len: socklen_t,
_padding: int,
cmsg_level: int,
cmsg_type: int,
};
type cpu_set
Show undocumented member
type cpu_set = struct {
__bits: [16]u64,
};
type cpuid_ecxflag
Show undocumented member
type cpuid_ecxflag = enum uint {
SSE3 = 1 << 0,
AES = 1 << 25,
AVX = 1 << 28,
};
type cpuid_edxflag
Show undocumented member
type cpuid_edxflag = enum uint {
SSE = 1 << 25,
SSE2 = 1 << 26,
};
type cpuid_vendor
Show undocumented member
type cpuid_vendor = enum {
AMD,
INTEL,
WINCHIP,
TRANSMETA,
CYRIX,
CENTAUR,
NEXGEN,
UMC,
SIS,
NSC,
RISE,
VORTEX,
VIA,
ZHAOXIN,
HYGON,
MCST_ELBRUS,
VMWARE, XENHVM,
MICROSOFT_HV,
PARALLELS,
};
type dev_t
Show undocumented member
type dev_t = u64;
type dirent64
Show undocumented member
type dirent64 = struct {
d_ino: ino_t,
d_off: off_t,
d_reclen: u16,
d_type: u8,
d_name: [*]u8,
};
type epoll_data
Show undocumented member
type epoll_data = union {
ptr: *opaque,
fd: int,
u32_: u32,
u64_: u64,
};
type epoll_event
Show undocumented member
type epoll_event = struct @packed {
events: u32,
data: epoll_data,
};
type f_owner_ex
Show undocumented member
type f_owner_ex = struct {
_type: int,
pid: int,
};
type fcntl_arg
Show undocumented member
type fcntl_arg = (void | int | *st_flock | *f_owner_ex | *u64);
type gid_t
Show undocumented member
type gid_t = uint;
type id_t
Show undocumented member
type id_t = uint;
type in6_addr
Show undocumented member
type in6_addr = struct {
union {
s6_addr: [16]u8,
s6_addr16: [8]u16,
s6_addr32: [4]u32,
},
};
type in_addr
Show undocumented member
type in_addr = struct {
s_addr: u32,
};
type ino_t
Show undocumented member
type ino_t = u64;
type inotify_event
Show undocumented member
type inotify_event = struct {
wd: int,
mask: u32,
cookie: u32,
length: u32,
name: [*]u8,
};
type io_cqring_offsets
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
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
Show undocumented member
type io_uring_buf = struct {
addr: u64,
length: u32,
bid: u16,
resv: u16,
};
type io_uring_buf_reg
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
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
Show undocumented member
type io_uring_cqe = struct {
_io_uring_cqe,
big_cqe: [*]u64,
};
type io_uring_file_index_range
Show undocumented member
type io_uring_file_index_range = struct {
off: u32,
length: u32,
resv: u64,
};
type io_uring_files_update
Show undocumented member
type io_uring_files_update = struct {
off: u32,
resv: u32,
fds: u64,
};
type io_uring_getevents_arg
Show undocumented member
type io_uring_getevents_arg = struct {
sigmask: u64,
sigmask_sz: u32,
pad: u32,
ts: u64,
};
type io_uring_params
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
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
Show undocumented member
type io_uring_probe_op = struct {
op: u8,
resv: u8,
flags: u16,
resv2: u32,
};
type io_uring_recvmsg_out
Show undocumented member
type io_uring_recvmsg_out = struct {
namelen: u32,
controllen: u32,
payloadlen: u32,
flags: u32,
};
type io_uring_restriction
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
Show undocumented member
type io_uring_rsrc_register = struct {
nr: u32,
flags: u32,
resv2: u64,
data: u64,
tags: u64,
};
type io_uring_rsrc_update
Show undocumented member
type io_uring_rsrc_update = struct {
off: u32,
resv: u32,
data: u64,
};
type io_uring_rsrc_update2
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
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,
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
Show undocumented member
type io_uring_sync_cancel_reg = struct {
addr: u64,
fd: i32,
flags: u32,
timeout: timespec,
pad: [4]u64,
};
type ioctl_arg
Show undocumented member
type ioctl_arg = (nullable *opaque | u64);
type iovec
Show undocumented member
type iovec = struct {
iov_base: *opaque,
iov_len: size,
};
type itimerspec
Show undocumented member
type itimerspec = struct {
it_interval: timespec,
it_value: timespec,
};
type itimerval
Show undocumented member
type itimerval = struct {
it_interval: timeval,
it_value: timeval,
};
type jmpbuf
Show undocumented member
type jmpbuf = struct {
__jb: arch_jmpbuf,
__fl: size,
__ss: [128 / size(size)]size,
};
type memory_heap
Show undocumented member
type memory_heap = struct {
cur_allocs: size,
bins: [9]nullable *meta,
cur_chunk: (*chunk, size),
};
type mode_t
Show undocumented member
type mode_t = uint;
type msghdr
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
Show undocumented member
type nfds_t = u64;
type nlink_t
Show undocumented member
type nlink_t = u64;
type off_t
Show undocumented member
type off_t = i64;
type open_how
Show undocumented member
type open_how = struct {
flags: u64,
mode: u64,
resolve: u64,
};
type path
Show undocumented member
type path = (str | []u8 | *const u8);
type pid_t
Show undocumented member
type pid_t = int;
type pollfd
Show undocumented member
type pollfd = struct {
fd: int,
events: i16,
revents: i16,
};
type prctl_mm_map
Show undocumented member
type prctl_mm_map = struct {
start_code: u64,
end_code: u64,
start_data: u64,
end_data: u64,
start_brk: u64,
brk: u64,
start_stack: u64,
arg_start: u64,
arg_end: u64,
env_start: u64,
env_end: u64,
auxv: *u64,
auxv_size: u32,
exe_fd: u32,
};
type ptrace_peeksiginfo_args
Show undocumented member
type ptrace_peeksiginfo_args = struct {
off: u64,
flags: u32,
nr: i32,
};
type ptrace_syscall_info
Show undocumented member
type ptrace_syscall_info = struct {
op: u8,
arch: u32,
instruction_pointer: u64,
stack_pointer: u64,
union {
entry: struct {
nr: u64,
args: [6]u64,
},
exit: struct {
rval: i64,
is_error: u8,
},
seccomp: struct {
nr: u64,
args: [6]u64,
ret_data: u64,
},
},
};
type rlim_t
Show undocumented member
type rlim_t = u64;
type rlimit
Show undocumented member
type rlimit = struct {
rlim_cur: rlim_t,
rlim_max: rlim_t,
};
type rusage
Show undocumented member
type rusage = struct {
ru_utime: timeval,
ru_stime: timeval,
ru_maxrss: u64,
ru_ixrss: u64,
ru_idrss: u64,
ru_isrss: u64,
ru_minflt: u64,
ru_majflt: u64,
ru_nswap: u64,
ru_inblock: u64,
ru_oublock: u64,
ru_msgsnd: u64,
ru_msgrcv: u64,
ru_nsignals: u64,
ru_nvcsw: u64,
ru_nivcsw: u64,
__reserved: [16]u64,
};
type sa_family_t
Show undocumented member
type sa_family_t = u16;
type si_band_t
Show undocumented member
type si_band_t = i64;
type sigact
Show undocumented member
type sigact = struct {
union {
sa_handler: *fn(int) void,
sa_sigaction: *fn(int, *siginfo, *opaque) void,
},
sa_flags: u64,
sa_restorer: *fn() void,
sa_mask: sigset,
};
type sigcontext
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
Show undocumented member
type siginfo = union {
struct {
si_signo: int,
si_errno: int,
si_code: int,
union {
struct {
si_pid: pid_t,
si_uid: u32,
},
struct {
si_tid: timer_t,
si_overrun: int,
_sigval: sigval,
si_sys_private: int,
},
struct {
_sig_pid: pid_t,
_sig_uid: u32,
union {
si_value: sigval,
si_int: int,
si_ptr: *opaque,
},
},
struct {
_chld_pid: pid_t,
_chld_uid: u32,
si_status: int,
si_utime: clock_t,
si_stime: clock_t,
},
struct {
si_addr: *opaque,
union {
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,
},
},
},
struct {
si_band: si_band_t,
si_fd: int,
},
struct {
si_call_addr: *opaque,
si_syscall: int,
si_arch: uint,
},
},
},
_si_pad: [SI_MAX_SIZE - 3 * size(int)]u8,
};
type signalfd_siginfo
Show undocumented member
type signalfd_siginfo = struct {
ssi_signo: u32,
ssi_errno: i32,
ssi_code: i32,
ssi_pid: u32,
ssi_uid: u32,
ssi_fd: i32,
ssi_tid: u32,
ssi_band: u32,
ssi_overrun: u32,
ssi_trapno: u32,
ssi_status: i32,
ssi_int: i32,
ssi_ptr: u64,
ssi_utime: u64,
ssi_stime: u64,
ssi_addr: u64,
ssi_addr_lsb: u16,
__pad2: u16,
ssi_syscall: i32,
ssi_call_addr: u64,
ssi_arch: u32,
__pad: [28]u8,
};
type sigset
Show undocumented member
type sigset = struct {
__val: [1]u64,
};
type sigval
Show undocumented member
type sigval = union {
sival_int: int,
sival_ptr: *opaque,
};
type slice
Show undocumented member
type slice = struct {
data: nullable *opaque,
length: size,
capacity: size,
};
type sock_filter
Show undocumented member
type sock_filter = struct {
__code: u16,
__jt: u8,
__jf: u8,
__k: u32,
};
type sock_fprog
Show undocumented member
type sock_fprog = struct {
__len: u16,
__filter: *[*]sock_filter,
};
type sockaddr
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
Show undocumented member
type sockaddr_in = struct {
sin_family: sa_family_t,
sin_port: u16,
sin_addr: in_addr,
__pad: [16]u8,
};
type sockaddr_in6
Show undocumented member
type sockaddr_in6 = struct {
sin6_family: sa_family_t,
sin6_port: u16,
sin6_flowinfo: u32,
sin6_addr: in6_addr,
sin6_scope_id: u32,
};
type sockaddr_ll
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
Show undocumented member
type sockaddr_nl = struct {
nl_family: sa_family_t,
nl_pad: u16,
nl_pid: u32,
nl_groups: u32,
};
type sockaddr_un
Show undocumented member
type sockaddr_un = struct {
sun_family: sa_family_t,
sun_path: [UNIX_PATH_MAX]u8,
};
type socklen_t
Show undocumented member
type socklen_t = uint;
type st_flock
Show undocumented member
type st_flock = struct {
l_type: i16,
l_whence: i16,
l_start: i64,
l_len: i64,
l_pid: int,
};
type stack_t
Show undocumented member
type stack_t = struct {
ss_sp: *opaque,
ss_flags: int,
ss_size: size,
};
type suseconds_t
Show undocumented member
type suseconds_t = i64;
type tcflag
Show undocumented member
type tcflag = enum uint {
IGNBRK = 1, BRKINT = 2,
IGNPAR = 4,
PARMRK = 8,
INPCK = 16,
ISTRIP = 32,
INLCR = 64,
IGNCR = 128,
ICRNL = 256,
IUCLC = 512,
IXON = 1024,
IXANY = 2048,
IXOFF = 4096,
IMAXBEL = 8192,
IUTF8 = 16384,
OPOST = 1, OLCUC = 2,
ONLCR = 4,
OCRNL = 8,
ONOCR = 16,
ONLRET = 32,
OFILL = 64,
OFDEL = 128,
NLDLY = 256,
NL0 = 0,
NL1 = 256,
CRDLY = 1536,
CR0 = 0,
CR1 = 512,
CR2 = 1024,
CR3 = 1536,
TABDLY = 6144,
TAB0 = 0,
TAB1 = 2048,
TAB2 = 4096,
TAB3 = 6144,
XTABS = 6144,
BSDLY = 8192,
BS0 = 0,
BS1 = 8192,
VTDLY = 16384,
VT0 = 0,
VT1 = 16384,
FFDLY = 32768,
FF0 = 0,
FF1 = 32768,
CBAUD = 4111, B0 = 0,
B50 = 1,
B75 = 2,
B110 = 3,
B134 = 4,
B150 = 5,
B200 = 6,
B300 = 7,
B600 = 8,
B1200 = 9,
B1800 = 10,
B2400 = 11,
B4800 = 12,
B9600 = 13,
B19200 = 14,
B38400 = 15,
EXTA = B19200,
EXTB = B38400,
CSIZE = 48,
CS5 = 0,
CS6 = 16,
CS7 = 32,
CS8 = 48,
CSTOPB = 64,
CREAD = 128,
PARENB = 256,
PARODD = 512,
HUPCL = 1024,
CLOCAL = 2048,
CBAUDEX = 4096,
BOTHER = 4096,
B57600 = 4097,
B115200 = 4098,
B230400 = 4099,
B460800 = 4100,
B500000 = 4101,
B576000 = 4102,
B921600 = 4103,
B1000000 = 4104,
B1152000 = 4105,
B1500000 = 4106,
B2000000 = 4107,
B2500000 = 4108,
B3000000 = 4109,
B3500000 = 4110,
B4000000 = 4111,
CIBAUD = 269418496,
CMSPAR = 1073741824,
CRTSCTS = 2147483648,
ISIG = 1, ICANON = 2,
XCASE = 4,
ECHO = 8,
ECHOE = 16,
ECHOK = 32,
ECHONL = 64,
NOFLSH = 128,
TOSTOP = 256,
ECHOCTL = 512,
ECHOPRT = 1024,
ECHOKE = 2048,
FLUSHO = 4096,
PENDIN = 16384,
IEXTEN = 32768,
EXTPROC = 65536,
};
type termios
Show undocumented member
type termios = struct {
c_iflag: tcflag,
c_oflag: tcflag,
c_cflag: tcflag,
c_lflag: tcflag,
c_line: cc,
c_cc: [NCCS]cc,
};
type time_t
Show undocumented member
type time_t = i64;
type timer_t
Show undocumented member
type timer_t = *opaque;
type timespec
Show undocumented member
type timespec = struct {
tv_sec: time_t,
tv_nsec: i64,
};
type timeval
Show undocumented member
type timeval = struct {
tv_sec: time_t,
tv_usec: suseconds_t,
};
type ucontext
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
Show undocumented member
type uid_t = uint;
type utsname
Show undocumented member
type utsname = struct {
sysname: [65]u8,
nodename: [65]u8,
release: [65]u8,
version: [65]u8,
machine: [65]u8,
domainname: [65]u8,
};
type winsize
Show undocumented member
type winsize = struct {
ws_row: u16,
ws_col: u16,
ws_xpixel: u16,
ws_ypixel: u16,
};
Errors
type errno
type errno = !int;
Represents an error returned from the Linux kernel.
type cpuid_unknownvendor
Show undocumented member
type cpuid_unknownvendor = !void;
Constants
def AF_ALG
def AF_ALG: sa_family_t = 38;
Algorithm sockets
def AF_APPLETALK
def AF_APPLETALK: sa_family_t = 5;
AppleTalk DDP
def AF_ASH
def AF_ASH: sa_family_t = 18;
Ash
def AF_ATMPVC
def AF_ATMPVC: sa_family_t = 8;
ATM PVCs
def AF_ATMSVC
def AF_ATMSVC: sa_family_t = 20;
ATM SVCs
def AF_AX25
def AF_AX25: sa_family_t = 3;
Amateur Radio AX.25
def AF_BLUETOOTH
def AF_BLUETOOTH: sa_family_t = 31;
Bluetooth sockets
def AF_BRIDGE
def AF_BRIDGE: sa_family_t = 7;
Multiprotocol bridge
def AF_CAIF
def AF_CAIF: sa_family_t = 37;
CAIF sockets
def AF_CAN
def AF_CAN: sa_family_t = 29;
Controller Area Network
def AF_DECnet
def AF_DECnet: sa_family_t = 12;
Reserved for DECnet project
def AF_ECONET
def AF_ECONET: sa_family_t = 19;
Acorn Econet
def AF_IB
def AF_IB: sa_family_t = 27;
Native InfiniBand address
def AF_IEEE802154
def AF_IEEE802154: sa_family_t = 36;
IEEE802154 sockets
def AF_INET
def AF_INET: sa_family_t = 2;
Internet IP Protocol
def AF_INET6
def AF_INET6: sa_family_t = 10;
IP version 6
def AF_IPX
def AF_IPX: sa_family_t = 4;
Novell IPX
def AF_IRDA
def AF_IRDA: sa_family_t = 23;
IRDA sockets
def AF_ISDN
def AF_ISDN: sa_family_t = 34;
mISDN sockets
def AF_IUCV
def AF_IUCV: sa_family_t = 32;
IUCV sockets
def AF_KCM
def AF_KCM: sa_family_t = 41;
Kernel Connection Multiplexor
def AF_KEY
def AF_KEY: sa_family_t = 15;
PF_KEY key management API
def AF_LLC
def AF_LLC: sa_family_t = 26;
Linux LLC
def AF_LOCAL
def AF_LOCAL: sa_family_t = 1;
POSIX name for AF_UNIX
def AF_MPLS
def AF_MPLS: sa_family_t = 28;
MPLS
def AF_NETBEUI
def AF_NETBEUI: sa_family_t = 13;
Reserved for 802.2LLC project
def AF_NETLINK
def AF_NETLINK: sa_family_t = 16;
Linux netlink API
def AF_NETROM
def AF_NETROM: sa_family_t = 6;
Amateur Radio NET/ROM
def AF_NFC
def AF_NFC: sa_family_t = 39;
NFC sockets
def AF_PACKET
def AF_PACKET: sa_family_t = 17;
Packet family
def AF_PHONET
def AF_PHONET: sa_family_t = 35;
Phonet sockets
def AF_PPPOX
def AF_PPPOX: sa_family_t = 24;
PPPoX sockets
def AF_QIPCRTR
def AF_QIPCRTR: sa_family_t = 42;
Qualcomm IPC Router
def AF_RDS
def AF_RDS: sa_family_t = 21;
RDS sockets
def AF_ROSE
def AF_ROSE: sa_family_t = 11;
Amateur Radio X.25 PLP
def AF_ROUTE
def AF_ROUTE: sa_family_t = AF_NETLINK;
Alias to emulate 4.4BSD
def AF_RXRPC
def AF_RXRPC: sa_family_t = 33;
RxRPC sockets
def AF_SECURITY
def AF_SECURITY: sa_family_t = 14;
Security callback pseudo AF
def AF_SMC
def AF_SMC: sa_family_t = 43;
smc sockets
def AF_SNA
def AF_SNA: sa_family_t = 22;
Linux SNA Project (nutters!)
def AF_TIPC
def AF_TIPC: sa_family_t = 30;
TIPC sockets
def AF_UNIX
def AF_UNIX: sa_family_t = 1;
Unix domain sockets
def AF_UNSPEC
def AF_UNSPEC: sa_family_t = 0;
Unspecified
def AF_VSOCK
def AF_VSOCK: sa_family_t = 40;
vSockets
def AF_WANPIPE
def AF_WANPIPE: sa_family_t = 25;
Wanpipe API Sockets
def AF_X25
def AF_X25: sa_family_t = 9;
Reserved for X.25 project
def AF_XDP
def AF_XDP: sa_family_t = 44;
XDP sockets
def EPOLLIN
def EPOLLIN: u32 = 1;
Epoll event masks
def EPOLL_CTL_ADD
def EPOLL_CTL_ADD: int = 1;
Valid opcodes to issue to sys_epoll_ctl()
def ETH_P_15
def ETH_P_15: int = 35063;
protocol for socket(2)
def INACCESS
def INACCESS: u32 = 1;
Inotify event masks
def IN_NONBLOCK
def IN_NONBLOCK: int = O_NONBLOCK;
Inotify init1 flags
def IPPROTO_AH
def IPPROTO_AH: int = 51;
Authentication Header protocol
def IPPROTO_BEETPH
def IPPROTO_BEETPH: int = 94;
IP option pseudo header for BEET
def IPPROTO_COMP
def IPPROTO_COMP: int = 108;
Compression Header Protocol
def IPPROTO_DCCP
def IPPROTO_DCCP: int = 33;
Datagram Congestion Control Protocol
def IPPROTO_EGP
def IPPROTO_EGP: int = 8;
Exterior Gateway Protocol
def IPPROTO_ENCAP
def IPPROTO_ENCAP: int = 98;
Encapsulation Header
def IPPROTO_ESP
def IPPROTO_ESP: int = 50;
Encapsulation Security Payload protocol
def IPPROTO_ETHERNET
def IPPROTO_ETHERNET: int = 143;
Ethernet-within-IPv6 Encapsulation
def IPPROTO_GRE
def IPPROTO_GRE: int = 47;
Cisco GRE tunnels (rfc 1701,1702)
def IPPROTO_ICMP
def IPPROTO_ICMP: int = 1;
Internet Control Message Protocol
def IPPROTO_ICMPV6
def IPPROTO_ICMPV6: int = 58;
ICMPv6
def IPPROTO_IDP
def IPPROTO_IDP: int = 22;
XNS IDP protocol
def IPPROTO_IGMP
def IPPROTO_IGMP: int = 2;
Internet Group Management Protocol
def IPPROTO_IP
def IPPROTO_IP: int = 0;
Dummy protocol for TCP
def IPPROTO_IPIP
def IPPROTO_IPIP: int = 4;
IPIP tunnels (older KA9Q tunnels use 94)
def IPPROTO_IPV6
def IPPROTO_IPV6: int = 41;
IPv6-in-IPv4 tunnelling
def IPPROTO_MPLS
def IPPROTO_MPLS: int = 137;
MPLS in IP (RFC 4023)
def IPPROTO_MPTCP
def IPPROTO_MPTCP: int = 262;
Multipath TCP connection
def IPPROTO_MTP
def IPPROTO_MTP: int = 92;
Multicast Transport Protocol
def IPPROTO_PIM
def IPPROTO_PIM: int = 103;
Protocol Independent Multicast
def IPPROTO_PUP
def IPPROTO_PUP: int = 12;
PUP protocol
def IPPROTO_RAW
def IPPROTO_RAW: int = 255;
Raw IP packets
def IPPROTO_RSVP
def IPPROTO_RSVP: int = 46;
RSVP Protocol
def IPPROTO_SCTP
def IPPROTO_SCTP: int = 132;
Stream Control Transport Protocol
def IPPROTO_TCP
def IPPROTO_TCP: int = 6;
Transmission Control Protocol
def IPPROTO_TP
def IPPROTO_TP: int = 29;
SO Transport Protocol Class 4
def IPPROTO_UDP
def IPPROTO_UDP: int = 17;
User Datagram Protocol
def IPPROTO_UDPLITE
def IPPROTO_UDPLITE: int = 136;
UDP-Lite (RFC 3828)
def LOCK_SH
def LOCK_SH: int = 1;
Flock operations
def MSG_BATCH
def MSG_BATCH: int = 262144;
sendpage() internal : not the last page
def MSG_CMSG_CLOEXEC
def MSG_CMSG_CLOEXEC: int = 1073741824;
Send data in TCP SYN
def MSG_CTRUNC
def MSG_CTRUNC: int = 8;
Synonym for MSG_DONTROUTE for DECnet
def MSG_EOF
def MSG_EOF: int = MSG_FIN;
sendmmsg(): more messages coming
def MSG_EOR
def MSG_EOR: int = 128;
Nonblocking io
def MSG_FASTOPEN
def MSG_FASTOPEN: int = 536870912;
Use user data in kernel path
def MSG_FIN
def MSG_FIN: int = 512;
Wait for a full request
def MSG_MORE
def MSG_MORE: int = 32768;
Do not generate SIGPIPE
def MSG_NOSIGNAL
def MSG_NOSIGNAL: int = 16384;
Fetch message from error queue
def MSG_OOB
def MSG_OOB: int = 1;
send/rcv flags
def MSG_RST
def MSG_RST: int = 4096;
Confirm path validity
def MSG_SENDPAGE_DECRYPTED
def MSG_SENDPAGE_DECRYPTED: int = 1048576;
sendpage() internal : page frags are not shared
def MSG_SENDPAGE_NOPOLICY
def MSG_SENDPAGE_NOPOLICY: int = 65536;
recvmmsg(): block until 1+ packets avail
def MSG_SENDPAGE_NOTLAST
def MSG_SENDPAGE_NOTLAST: int = 131072;
sendpage() internal : do no apply policy
def MSG_TRUNC
def MSG_TRUNC: int = 32;
Do not send. Only probe path f.e. for MTU
def MSG_WAITALL
def MSG_WAITALL: int = 256;
End of record
def MSG_WAITFORONE
def MSG_WAITFORONE: int = 65536;
Sender will send more
def MSG_ZEROCOPY
def MSG_ZEROCOPY: int = 67108864;
sendpage() internal : page may carry * plain text and require encryption
def O_RDONLY
def O_RDONLY: int = 0;
O_DIRECTORY is arch specific
def SOCK_STREAM
def SOCK_STREAM: int = 1;
type for socket(2)
def SOL_SOCKET
def SOL_SOCKET: int = 1;
setsockopt levels
def SO_DEBUG
def SO_DEBUG: int = 1;
setsockopt options
def SO_PASSCRED
def SO_PASSCRED: int = 16;
the following differ on ppc
def AT_EACCESS
Show undocumented member
def AT_EACCESS: int = 512;
def AT_EMPTY_PATH
Show undocumented member
def AT_EMPTY_PATH: int = 4096;
def AT_FDCWD
Show undocumented member
def AT_FDCWD: int = -100;
def AT_NO_AUTOMOUNT
Show undocumented member
def AT_NO_AUTOMOUNT: int = 2048;
def AT_RECURSIVE
Show undocumented member
def AT_RECURSIVE: int = 32768;
def AT_REMOVEDIR
Show undocumented member
def AT_REMOVEDIR: int = 512;
def AT_STATX_DONT_SYNC
Show undocumented member
def AT_STATX_DONT_SYNC: int = 16384;
def AT_STATX_FORCE_SYNC
Show undocumented member
def AT_STATX_FORCE_SYNC: int = 8192;
def AT_STATX_SYNC_AS_STAT
Show undocumented member
def AT_STATX_SYNC_AS_STAT: int = 0;
def AT_STATX_SYNC_TYPE
Show undocumented member
def AT_STATX_SYNC_TYPE: int = 24576;
def AT_SYMLINK_FOLLOW
Show undocumented member
def AT_SYMLINK_FOLLOW: int = 1024;
def AT_SYMLINK_NOFOLLOW
Show undocumented member
def AT_SYMLINK_NOFOLLOW: int = 256;
def CLOCK_BOOTTIME
Show undocumented member
def CLOCK_BOOTTIME: int = 7;
def CLOCK_BOOTTIME_ALARM
Show undocumented member
def CLOCK_BOOTTIME_ALARM: int = 9;
def CLOCK_MONOTONIC
Show undocumented member
def CLOCK_MONOTONIC: int = 1;
def CLOCK_MONOTONIC_COARSE
Show undocumented member
def CLOCK_MONOTONIC_COARSE: int = 6;
def CLOCK_MONOTONIC_RAW
Show undocumented member
def CLOCK_MONOTONIC_RAW: int = 4;
def CLOCK_PROCESS_CPUTIME_ID
Show undocumented member
def CLOCK_PROCESS_CPUTIME_ID: int = 2;
def CLOCK_REALTIME
Show undocumented member
def CLOCK_REALTIME: int = 0;
def CLOCK_REALTIME_ALARM
Show undocumented member
def CLOCK_REALTIME_ALARM: int = 8;
def CLOCK_REALTIME_COARSE
Show undocumented member
def CLOCK_REALTIME_COARSE: int = 5;
def CLOCK_SGI_CYCLE
Show undocumented member
def CLOCK_SGI_CYCLE: int = 10;
def CLOCK_TAI
Show undocumented member
def CLOCK_TAI: int = 11;
def CLOCK_THREAD_CPUTIME_ID
Show undocumented member
def CLOCK_THREAD_CPUTIME_ID: int = 3;
def DT_BLK
Show undocumented member
def DT_BLK: u8 = 6;
def DT_CHR
Show undocumented member
def DT_CHR: u8 = 2;
def DT_DIR
Show undocumented member
def DT_DIR: u8 = 4;
def DT_FIFO
Show undocumented member
def DT_FIFO: u8 = 1;
def DT_LNK
Show undocumented member
def DT_LNK: u8 = 10;
def DT_REG
Show undocumented member
def DT_REG: u8 = 8;
def DT_SOCK
Show undocumented member
def DT_SOCK: u8 = 12;
def DT_UNKNOWN
Show undocumented member
def DT_UNKNOWN: u8 = 0;
def E2BIG
Show undocumented member
def E2BIG: errno = 7;
def EACCES
Show undocumented member
def EACCES: errno = 13;
def EADDRINUSE
Show undocumented member
def EADDRINUSE: errno = 98;
def EADDRNOTAVAIL
Show undocumented member
def EADDRNOTAVAIL: errno = 99;
def EADV
Show undocumented member
def EADV: errno = 68;
def EAFNOSUPPORT
Show undocumented member
def EAFNOSUPPORT: errno = 97;
def EAGAIN
Show undocumented member
def EAGAIN: errno = 11;
def EALREADY
Show undocumented member
def EALREADY: errno = 114;
def EBADE
Show undocumented member
def EBADE: errno = 52;
def EBADF
Show undocumented member
def EBADF: errno = 9;
def EBADFD
Show undocumented member
def EBADFD: errno = 77;
def EBADMSG
Show undocumented member
def EBADMSG: errno = 74;
def EBADR
Show undocumented member
def EBADR: errno = 53;
def EBADRQC
Show undocumented member
def EBADRQC: errno = 56;
def EBADSLT
Show undocumented member
def EBADSLT: errno = 57;
def EBFONT
Show undocumented member
def EBFONT: errno = 59;
def EBUSY
Show undocumented member
def EBUSY: errno = 16;
def ECANCELED
Show undocumented member
def ECANCELED: errno = 125;
def ECHILD
Show undocumented member
def ECHILD: errno = 10;
def ECHRNG
Show undocumented member
def ECHRNG: errno = 44;
def ECOMM
Show undocumented member
def ECOMM: errno = 70;
def ECONNABORTED
Show undocumented member
def ECONNABORTED: errno = 103;
def ECONNREFUSED
Show undocumented member
def ECONNREFUSED: errno = 111;
def ECONNRESET
Show undocumented member
def ECONNRESET: errno = 104;
def EDEADLK
Show undocumented member
def EDEADLK: errno = 35;
def EDEADLOCK
Show undocumented member
def EDEADLOCK: int = EDEADLK;
def EDESTADDRREQ
Show undocumented member
def EDESTADDRREQ: errno = 89;
def EDOM
Show undocumented member
def EDOM: errno = 33;
def EDOTDOT
Show undocumented member
def EDOTDOT: errno = 73;
def EDQUOT
Show undocumented member
def EDQUOT: errno = 122;
def EEXIST
Show undocumented member
def EEXIST: errno = 17;
def EFAULT
Show undocumented member
def EFAULT: errno = 14;
def EFBIG
Show undocumented member
def EFBIG: errno = 27;
def EFD_CLOEXEC
Show undocumented member
def EFD_CLOEXEC: int = O_CLOEXEC;
def EFD_NONBLOCK
Show undocumented member
def EFD_NONBLOCK: int = O_NONBLOCK;
def EFD_SEMAPHORE
Show undocumented member
def EFD_SEMAPHORE: int = 1;
def EHOSTDOWN
Show undocumented member
def EHOSTDOWN: errno = 112;
def EHOSTUNREACH
Show undocumented member
def EHOSTUNREACH: errno = 113;
def EHWPOISON
Show undocumented member
def EHWPOISON: errno = 133;
def EIDRM
Show undocumented member
def EIDRM: errno = 43;
def EILSEQ
Show undocumented member
def EILSEQ: errno = 84;
def EINPROGRESS
Show undocumented member
def EINPROGRESS: errno = 115;
def EINTR
Show undocumented member
def EINTR: errno = 4;
def EINVAL
Show undocumented member
def EINVAL: errno = 22;
def EIO
Show undocumented member
def EIO: errno = 5;
def EISCONN
Show undocumented member
def EISCONN: errno = 106;
def EISDIR
Show undocumented member
def EISDIR: errno = 21;
def EISNAM
Show undocumented member
def EISNAM: errno = 120;
def EKEYEXPIRED
Show undocumented member
def EKEYEXPIRED: errno = 127;
def EKEYREJECTED
Show undocumented member
def EKEYREJECTED: errno = 129;
def EKEYREVOKED
Show undocumented member
def EKEYREVOKED: errno = 128;
def EL2HLT
Show undocumented member
def EL2HLT: errno = 51;
def EL2NSYNC
Show undocumented member
def EL2NSYNC: errno = 45;
def EL3HLT
Show undocumented member
def EL3HLT: errno = 46;
def EL3RST
Show undocumented member
def EL3RST: errno = 47;
def ELIBACC
Show undocumented member
def ELIBACC: errno = 79;
def ELIBBAD
Show undocumented member
def ELIBBAD: errno = 80;
def ELIBEXEC
Show undocumented member
def ELIBEXEC: errno = 83;
def ELIBMAX
Show undocumented member
def ELIBMAX: errno = 82;
def ELIBSCN
Show undocumented member
def ELIBSCN: errno = 81;
def ELNRNG
Show undocumented member
def ELNRNG: errno = 48;
def ELOOP
Show undocumented member
def ELOOP: errno = 40;
def EMEDIUMTYPE
Show undocumented member
def EMEDIUMTYPE: errno = 124;
def EMFILE
Show undocumented member
def EMFILE: errno = 24;
def EMLINK
Show undocumented member
def EMLINK: errno = 31;
def EMSGSIZE
Show undocumented member
def EMSGSIZE: errno = 90;
def EMULTIHOP
Show undocumented member
def EMULTIHOP: errno = 72;
Show undocumented member
def ENAMETOOLONG: errno = 36;
def ENAVAIL
Show undocumented member
def ENAVAIL: errno = 119;
def ENETDOWN
Show undocumented member
def ENETDOWN: errno = 100;
def ENETRESET
Show undocumented member
def ENETRESET: errno = 102;
def ENETUNREACH
Show undocumented member
def ENETUNREACH: errno = 101;
def ENFILE
Show undocumented member
def ENFILE: errno = 23;
def ENOANO
Show undocumented member
def ENOANO: errno = 55;
def ENOBUFS
Show undocumented member
def ENOBUFS: errno = 105;
def ENOCSI
Show undocumented member
def ENOCSI: errno = 50;
def ENODATA
Show undocumented member
def ENODATA: errno = 61;
def ENODEV
Show undocumented member
def ENODEV: errno = 19;
def ENOENT
Show undocumented member
def ENOENT: errno = 2;
def ENOEXEC
Show undocumented member
def ENOEXEC: errno = 8;
def ENOKEY
Show undocumented member
def ENOKEY: errno = 126;
def ENOLCK
Show undocumented member
def ENOLCK: errno = 37;
def ENOLINK
Show undocumented member
def ENOLINK: errno = 67;
def ENOMEDIUM
Show undocumented member
def ENOMEDIUM: errno = 123;
def ENOMEM
Show undocumented member
def ENOMEM: errno = 12;
def ENOMSG
Show undocumented member
def ENOMSG: errno = 42;
def ENONET
Show undocumented member
def ENONET: errno = 64;
def ENOPKG
Show undocumented member
def ENOPKG: errno = 65;
def ENOPROTOOPT
Show undocumented member
def ENOPROTOOPT: errno = 92;
def ENOSPC
Show undocumented member
def ENOSPC: errno = 28;
def ENOSR
Show undocumented member
def ENOSR: errno = 63;
def ENOSTR
Show undocumented member
def ENOSTR: errno = 60;
def ENOSYS
Show undocumented member
def ENOSYS: errno = 38;
def ENOTBLK
Show undocumented member
def ENOTBLK: errno = 15;
def ENOTCONN
Show undocumented member
def ENOTCONN: errno = 107;
def ENOTDIR
Show undocumented member
def ENOTDIR: errno = 20;
def ENOTEMPTY
Show undocumented member
def ENOTEMPTY: errno = 39;
def ENOTNAM
Show undocumented member
def ENOTNAM: errno = 118;
def ENOTRECOVERABLE
Show undocumented member
def ENOTRECOVERABLE: errno = 131;
def ENOTSOCK
Show undocumented member
def ENOTSOCK: errno = 88;
def ENOTSUP
Show undocumented member
def ENOTSUP: errno = EOPNOTSUPP;
def ENOTTY
Show undocumented member
def ENOTTY: errno = 25;
def ENOTUNIQ
Show undocumented member
def ENOTUNIQ: errno = 76;
def ENXIO
Show undocumented member
def ENXIO: errno = 6;
def EOPNOTSUPP
Show undocumented member
def EOPNOTSUPP: errno = 95;
def EOVERFLOW
Show undocumented member
def EOVERFLOW: errno = 75;
def EOWNERDEAD
Show undocumented member
def EOWNERDEAD: errno = 130;
def EPERM
Show undocumented member
def EPERM: errno = 1;
def EPFNOSUPPORT
Show undocumented member
def EPFNOSUPPORT: errno = 96;
def EPIPE
Show undocumented member
def EPIPE: errno = 32;
def EPOLLERR
Show undocumented member
def EPOLLERR: u32 = 8;
def EPOLLET
Show undocumented member
def EPOLLET: u32 = 1 << 31;
def EPOLLHUP
Show undocumented member
def EPOLLHUP: u32 = 16;
def EPOLLMSG
Show undocumented member
def EPOLLMSG: u32 = 1024;
def EPOLLNVAL
Show undocumented member
def EPOLLNVAL: u32 = 32;
def EPOLLONESHOT
Show undocumented member
def EPOLLONESHOT: u32 = 1 << 30;
def EPOLLOUT
Show undocumented member
def EPOLLOUT: u32 = 4;
def EPOLLPRI
Show undocumented member
def EPOLLPRI: u32 = 2;
def EPOLLRDBAND
Show undocumented member
def EPOLLRDBAND: u32 = 128;
def EPOLLRDHUP
Show undocumented member
def EPOLLRDHUP: u32 = 8192;
def EPOLLRDNORM
Show undocumented member
def EPOLLRDNORM: u32 = 64;
def EPOLLWAKEUP
Show undocumented member
def EPOLLWAKEUP: u32 = 1 << 29;
def EPOLLWRBAND
Show undocumented member
def EPOLLWRBAND: u32 = 512;
def EPOLLWRNORM
Show undocumented member
def EPOLLWRNORM: u32 = 256;
def EPOLL_CLOEXEC
Show undocumented member
def EPOLL_CLOEXEC: int = O_CLOEXEC;
def EPOLL_CTL_DEL
Show undocumented member
def EPOLL_CTL_DEL: int = 2;
def EPOLL_CTL_MOD
Show undocumented member
def EPOLL_CTL_MOD: int = 3;
def EPROTO
Show undocumented member
def EPROTO: errno = 71;
def EPROTONOSUPPORT
Show undocumented member
def EPROTONOSUPPORT: errno = 93;
def EPROTOTYPE
Show undocumented member
def EPROTOTYPE: errno = 91;
def ERANGE
Show undocumented member
def ERANGE: errno = 34;
def EREMCHG
Show undocumented member
def EREMCHG: errno = 78;
def EREMOTE
Show undocumented member
def EREMOTE: errno = 66;
def EREMOTEIO
Show undocumented member
def EREMOTEIO: errno = 121;
def ERESTART
Show undocumented member
def ERESTART: errno = 85;
def ERFKILL
Show undocumented member
def ERFKILL: errno = 132;
def EROFS
Show undocumented member
def EROFS: errno = 30;
def ESHUTDOWN
Show undocumented member
def ESHUTDOWN: errno = 108;
def ESOCKTNOSUPPORT
Show undocumented member
def ESOCKTNOSUPPORT: errno = 94;
def ESPIPE
Show undocumented member
def ESPIPE: errno = 29;
def ESRCH
Show undocumented member
def ESRCH: errno = 3;
def ESRMNT
Show undocumented member
def ESRMNT: errno = 69;
def ESTALE
Show undocumented member
def ESTALE: errno = 116;
def ESTRPIPE
Show undocumented member
def ESTRPIPE: errno = 86;
def ETH_P_8021AD
Show undocumented member
def ETH_P_8021AD: int = 34984;
def ETH_P_8021AH
Show undocumented member
def ETH_P_8021AH: int = 35047;
def ETH_P_8021Q
Show undocumented member
def ETH_P_8021Q: int = 33024;
def ETH_P_80221
Show undocumented member
def ETH_P_80221: int = 35095;
def ETH_P_802_2
Show undocumented member
def ETH_P_802_2: int = 4;
def ETH_P_802_3
Show undocumented member
def ETH_P_802_3: int = 1;
def ETH_P_802_3_MIN
Show undocumented member
def ETH_P_802_3_MIN: int = 1536;
def ETH_P_802_EX1
Show undocumented member
def ETH_P_802_EX1: int = 34997;
def ETH_P_AARP
Show undocumented member
def ETH_P_AARP: int = 33011;
def ETH_P_AF_IUCV
Show undocumented member
def ETH_P_AF_IUCV: int = 64507;
def ETH_P_ALL
Show undocumented member
def ETH_P_ALL: int = 3;
def ETH_P_AOE
Show undocumented member
def ETH_P_AOE: int = 34978;
def ETH_P_ARCNET
Show undocumented member
def ETH_P_ARCNET: int = 26;
def ETH_P_ARP
Show undocumented member
def ETH_P_ARP: int = 2054;
def ETH_P_ATALK
Show undocumented member
def ETH_P_ATALK: int = 32923;
def ETH_P_ATMFATE
Show undocumented member
def ETH_P_ATMFATE: int = 34948;
def ETH_P_ATMMPOA
Show undocumented member
def ETH_P_ATMMPOA: int = 34892;
def ETH_P_AX25
Show undocumented member
def ETH_P_AX25: int = 2;
def ETH_P_BATMAN
Show undocumented member
def ETH_P_BATMAN: int = 17157;
def ETH_P_BPQ
Show undocumented member
def ETH_P_BPQ: int = 2303;
def ETH_P_CAIF
Show undocumented member
def ETH_P_CAIF: int = 247;
def ETH_P_CAN
Show undocumented member
def ETH_P_CAN: int = 12;
def ETH_P_CANFD
Show undocumented member
def ETH_P_CANFD: int = 13;
def ETH_P_CANXL
Show undocumented member
def ETH_P_CANXL: int = 14;
def ETH_P_CFM
Show undocumented member
def ETH_P_CFM: int = 35074;
def ETH_P_CONTROL
Show undocumented member
def ETH_P_CONTROL: int = 22;
def ETH_P_CUST
Show undocumented member
def ETH_P_CUST: int = 24582;
def ETH_P_DDCMP
Show undocumented member
def ETH_P_DDCMP: int = 6;
def ETH_P_DEC
Show undocumented member
def ETH_P_DEC: int = 24576;
def ETH_P_DIAG
Show undocumented member
def ETH_P_DIAG: int = 24581;
def ETH_P_DNA_DL
Show undocumented member
def ETH_P_DNA_DL: int = 24577;
def ETH_P_DNA_RC
Show undocumented member
def ETH_P_DNA_RC: int = 24578;
def ETH_P_DNA_RT
Show undocumented member
def ETH_P_DNA_RT: int = 24579;
def ETH_P_DSA
Show undocumented member
def ETH_P_DSA: int = 27;
def ETH_P_DSA_8021Q
Show undocumented member
def ETH_P_DSA_8021Q: int = 56027;
def ETH_P_DSA_A5PSW
Show undocumented member
def ETH_P_DSA_A5PSW: int = 57345;
def ETH_P_ECONET
Show undocumented member
def ETH_P_ECONET: int = 24;
def ETH_P_EDSA
Show undocumented member
def ETH_P_EDSA: int = 56026;
def ETH_P_ERSPAN
Show undocumented member
def ETH_P_ERSPAN: int = 35006;
def ETH_P_ERSPAN2
Show undocumented member
def ETH_P_ERSPAN2: int = 8939;
def ETH_P_ETHERCAT
Show undocumented member
def ETH_P_ETHERCAT: int = 34980;
def ETH_P_FCOE
Show undocumented member
def ETH_P_FCOE: int = 35078;
def ETH_P_FIP
Show undocumented member
def ETH_P_FIP: int = 35092;
def ETH_P_HDLC
Show undocumented member
def ETH_P_HDLC: int = 25;
def ETH_P_HSR
Show undocumented member
def ETH_P_HSR: int = 35119;
def ETH_P_IBOE
Show undocumented member
def ETH_P_IBOE: int = 35093;
def ETH_P_IEEE802154
Show undocumented member
def ETH_P_IEEE802154: int = 246;
def ETH_P_IEEEPUP
Show undocumented member
def ETH_P_IEEEPUP: int = 2560;
def ETH_P_IEEEPUPAT
Show undocumented member
def ETH_P_IEEEPUPAT: int = 2561;
def ETH_P_IFE
Show undocumented member
def ETH_P_IFE: int = 60734;
def ETH_P_IP
Show undocumented member
def ETH_P_IP: int = 2048;
def ETH_P_IPV6
Show undocumented member
def ETH_P_IPV6: int = 34525;
def ETH_P_IPX
Show undocumented member
def ETH_P_IPX: int = 33079;
def ETH_P_IRDA
Show undocumented member
def ETH_P_IRDA: int = 23;
def ETH_P_LAT
Show undocumented member
def ETH_P_LAT: int = 24580;
def ETH_P_LINK_CTL
Show undocumented member
def ETH_P_LINK_CTL: int = 34924;
def ETH_P_LLDP
Show undocumented member
def ETH_P_LLDP: int = 35020;
def ETH_P_LOCALTALK
Show undocumented member
def ETH_P_LOCALTALK: int = 9;
def ETH_P_LOOP
Show undocumented member
def ETH_P_LOOP: int = 96;
def ETH_P_LOOPBACK
Show undocumented member
def ETH_P_LOOPBACK: int = 36864;
def ETH_P_MACSEC
Show undocumented member
def ETH_P_MACSEC: int = 35045;
def ETH_P_MAP
Show undocumented member
def ETH_P_MAP: int = 249;
def ETH_P_MCTP
Show undocumented member
def ETH_P_MCTP: int = 250;
def ETH_P_MOBITEX
Show undocumented member
def ETH_P_MOBITEX: int = 21;
def ETH_P_MPLS_MC
Show undocumented member
def ETH_P_MPLS_MC: int = 34888;
def ETH_P_MPLS_UC
Show undocumented member
def ETH_P_MPLS_UC: int = 34887;
def ETH_P_MRP
Show undocumented member
def ETH_P_MRP: int = 35043;
def ETH_P_MVRP
Show undocumented member
def ETH_P_MVRP: int = 35061;
def ETH_P_NCSI
Show undocumented member
def ETH_P_NCSI: int = 35064;
def ETH_P_NSH
Show undocumented member
def ETH_P_NSH: int = 35151;
def ETH_P_PAE
Show undocumented member
def ETH_P_PAE: int = 34958;
def ETH_P_PAUSE
Show undocumented member
def ETH_P_PAUSE: int = 34824;
def ETH_P_PHONET
Show undocumented member
def ETH_P_PHONET: int = 245;
def ETH_P_PPPTALK
Show undocumented member
def ETH_P_PPPTALK: int = 16;
def ETH_P_PPP_DISC
Show undocumented member
def ETH_P_PPP_DISC: int = 34915;
def ETH_P_PPP_MP
Show undocumented member
def ETH_P_PPP_MP: int = 8;
def ETH_P_PPP_SES
Show undocumented member
def ETH_P_PPP_SES: int = 34916;
def ETH_P_PREAUTH
Show undocumented member
def ETH_P_PREAUTH: int = 35015;
def ETH_P_PROFINET
Show undocumented member
def ETH_P_PROFINET: int = 34962;
def ETH_P_PRP
Show undocumented member
def ETH_P_PRP: int = 35067;
def ETH_P_PUP
Show undocumented member
def ETH_P_PUP: int = 512;
def ETH_P_PUPAT
Show undocumented member
def ETH_P_PUPAT: int = 513;
def ETH_P_QINQ1
Show undocumented member
def ETH_P_QINQ1: int = 37120;
def ETH_P_QINQ2
Show undocumented member
def ETH_P_QINQ2: int = 37376;
def ETH_P_QINQ3
Show undocumented member
def ETH_P_QINQ3: int = 37632;
def ETH_P_RARP
Show undocumented member
def ETH_P_RARP: int = 32821;
def ETH_P_REALTEK
Show undocumented member
def ETH_P_REALTEK: int = 34969;
def ETH_P_SCA
Show undocumented member
def ETH_P_SCA: int = 24583;
def ETH_P_SLOW
Show undocumented member
def ETH_P_SLOW: int = 34825;
def ETH_P_SNAP
Show undocumented member
def ETH_P_SNAP: int = 5;
def ETH_P_TDLS
Show undocumented member
def ETH_P_TDLS: int = 35085;
def ETH_P_TEB
Show undocumented member
def ETH_P_TEB: int = 25944;
def ETH_P_TIPC
Show undocumented member
def ETH_P_TIPC: int = 35018;
def ETH_P_TRAILER
Show undocumented member
def ETH_P_TRAILER: int = 28;
def ETH_P_TR_802_2
Show undocumented member
def ETH_P_TR_802_2: int = 17;
def ETH_P_TSN
Show undocumented member
def ETH_P_TSN: int = 8944;
def ETH_P_WAN_PPP
Show undocumented member
def ETH_P_WAN_PPP: int = 7;
def ETH_P_WCCP
Show undocumented member
def ETH_P_WCCP: int = 34878;
def ETH_P_X25
Show undocumented member
def ETH_P_X25: int = 2053;
def ETH_P_XDSA
Show undocumented member
def ETH_P_XDSA: int = 248;
def ETIME
Show undocumented member
def ETIME: errno = 62;
def ETIMEDOUT
Show undocumented member
def ETIMEDOUT: errno = 110;
def ETOOMANYREFS
Show undocumented member
def ETOOMANYREFS: errno = 109;
def ETXTBSY
Show undocumented member
def ETXTBSY: errno = 26;
def EUCLEAN
Show undocumented member
def EUCLEAN: errno = 117;
def EUNATCH
Show undocumented member
def EUNATCH: errno = 49;
def EUSERS
Show undocumented member
def EUSERS: errno = 87;
def EWOULDBLOCK
Show undocumented member
def EWOULDBLOCK: errno = EAGAIN;
def EXDEV
Show undocumented member
def EXDEV: errno = 18;
def EXFULL
Show undocumented member
def EXFULL: errno = 54;
def FD_CLOEXEC
Show undocumented member
def FD_CLOEXEC: int = 1;
def F_DUPFD
Show undocumented member
def F_DUPFD: int = 0;
def F_DUPFD_CLOEXEC
Show undocumented member
def F_DUPFD_CLOEXEC: int = 1030;
def F_GETFD
Show undocumented member
def F_GETFD: int = 1;
def F_GETFL
Show undocumented member
def F_GETFL: int = 3;
def F_GETLK
Show undocumented member
def F_GETLK: int = 12;
def F_GETOWN
Show undocumented member
def F_GETOWN: int = 9;
def F_GETOWNER_UIDS
Show undocumented member
def F_GETOWNER_UIDS: int = 17;
def F_GETOWN_EX
Show undocumented member
def F_GETOWN_EX: int = 16;
def F_GETSIG
Show undocumented member
def F_GETSIG: int = 11;
def F_OK
Show undocumented member
def F_OK: int = 0;
def F_RDLCK
Show undocumented member
def F_RDLCK: i16 = 0;
def F_SETFD
Show undocumented member
def F_SETFD: int = 2;
def F_SETFL
Show undocumented member
def F_SETFL: int = 4;
def F_SETLK
Show undocumented member
def F_SETLK: int = 13;
def F_SETLKW
Show undocumented member
def F_SETLKW: int = 14;
def F_SETOWN
Show undocumented member
def F_SETOWN: int = 8;
def F_SETOWN_EX
Show undocumented member
def F_SETOWN_EX: int = 15;
def F_SETSIG
Show undocumented member
def F_SETSIG: int = 10;
def F_UNLCK
Show undocumented member
def F_UNLCK: i16 = 2;
def F_WRLCK
Show undocumented member
def F_WRLCK: i16 = 1;
def INATTRIB
Show undocumented member
def INATTRIB: u32 = 4;
def INCLOSE
Show undocumented member
def INCLOSE: u32 = INCLOSEWRITE | INCLOSENOWRITE;
def INCLOSENOWRITE
Show undocumented member
def INCLOSENOWRITE: u32 = 16;
def INCLOSEWRITE
Show undocumented member
def INCLOSEWRITE: u32 = 8;
def INCREATE
Show undocumented member
def INCREATE: u32 = 256;
def INDELETE
Show undocumented member
def INDELETE: u32 = 512;
def INDELETESELF
Show undocumented member
def INDELETESELF: u32 = 1024;
def INDONTFOLLOW
Show undocumented member
def INDONTFOLLOW: u32 = 33554432;
def INEXCLUNLINK
Show undocumented member
def INEXCLUNLINK: u32 = 67108864;
def INIGNORED
Show undocumented member
def INIGNORED: u32 = 32768;
def INISDIR
Show undocumented member
def INISDIR: u32 = 1073741824;
def INMASKADD
Show undocumented member
def INMASKADD: u32 = 536870912;
def INMASKCREATE
Show undocumented member
def INMASKCREATE: u32 = 268435456;
def INMODIFY
Show undocumented member
def INMODIFY: u32 = 2;
def INMOVE
Show undocumented member
def INMOVE: u32 = INMOVEDFROM | INMOVEDTO;
def INMOVEDFROM
Show undocumented member
def INMOVEDFROM: u32 = 64;
def INMOVEDTO
Show undocumented member
def INMOVEDTO: u32 = 128;
def INMOVESELF
Show undocumented member
def INMOVESELF: u32 = 2048;
def INONESHOT
Show undocumented member
def INONESHOT: u32 = 2147483648;
def INONLYDIR
Show undocumented member
def INONLYDIR: u32 = 16777216;
def INOPEN
Show undocumented member
def INOPEN: u32 = 32;
def INOTIFY_EVENT_MAX_SIZE
Show undocumented member
def INOTIFY_EVENT_MAX_SIZE: size = size(int) + size(u32) * 3 + NAME_MAX + 1z;
def INQOVERFLOW
Show undocumented member
def INQOVERFLOW: u32 = 16384;
def INUNMOUNT
Show undocumented member
def INUNMOUNT: u32 = 8192;
def IN_CLOEXEC
Show undocumented member
def IN_CLOEXEC: int = O_CLOEXEC;
def IORING_ACCEPT_MULTISHOT
Show undocumented member
def IORING_ACCEPT_MULTISHOT: u16 = 1 << 0;
def IORING_ASYNC_CANCEL_ALL
Show undocumented member
def IORING_ASYNC_CANCEL_ALL: u32 = 1 << 0;
def IORING_ASYNC_CANCEL_ANY
Show undocumented member
def IORING_ASYNC_CANCEL_ANY: u32 = 1 << 2;
def IORING_ASYNC_CANCEL_FD
Show undocumented member
def IORING_ASYNC_CANCEL_FD: u32 = 1 << 1;
def IORING_ASYNC_CANCEL_FD_FIXED
Show undocumented member
def IORING_ASYNC_CANCEL_FD_FIXED: u32 = 1 << 3;
def IORING_CQE_BUFFER_SHIFT
Show undocumented member
def IORING_CQE_BUFFER_SHIFT: u32 = 16;
def IORING_CQE_F_BUFFER
Show undocumented member
def IORING_CQE_F_BUFFER: u32 = 1 << 0;
def IORING_CQE_F_MORE
Show undocumented member
def IORING_CQE_F_MORE: u32 = 1 << 1;
def IORING_CQE_F_NOTIF
Show undocumented member
def IORING_CQE_F_NOTIF: u32 = 1 << 3;
def IORING_CQE_F_SOCK_NONEMPTY
Show undocumented member
def IORING_CQE_F_SOCK_NONEMPTY: u32 = 1 << 2;
def IORING_CQ_EVENTFD_DISABLED
Show undocumented member
def IORING_CQ_EVENTFD_DISABLED: u32 = 1 << 0;
def IORING_ENTER_EXT_ARG
Show undocumented member
def IORING_ENTER_EXT_ARG: u32 = 1 << 3;
def IORING_ENTER_GETEVENTS
Show undocumented member
def IORING_ENTER_GETEVENTS: u32 = 1 << 0;
def IORING_ENTER_REGISTERED_RING
Show undocumented member
def IORING_ENTER_REGISTERED_RING: u32 = 1 << 4;
def IORING_ENTER_SQ_WAIT
Show undocumented member
def IORING_ENTER_SQ_WAIT: u32 = 1 << 2;
def IORING_ENTER_SQ_WAKEUP
Show undocumented member
def IORING_ENTER_SQ_WAKEUP: u32 = 1 << 1;
def IORING_FEAT_CQE_SKIP
Show undocumented member
def IORING_FEAT_CQE_SKIP: u32 = 1 << 11;
def IORING_FEAT_CUR_PERSONALITY
Show undocumented member
def IORING_FEAT_CUR_PERSONALITY: u32 = 1 << 4;
def IORING_FEAT_EXT_ARG
Show undocumented member
def IORING_FEAT_EXT_ARG: u32 = 1 << 8;
def IORING_FEAT_FAST_POLL
Show undocumented member
def IORING_FEAT_FAST_POLL: u32 = 1 << 5;
def IORING_FEAT_LINKED_FILE
Show undocumented member
def IORING_FEAT_LINKED_FILE: u32 = 1 << 12;
def IORING_FEAT_NATIVE_WORKERS
Show undocumented member
def IORING_FEAT_NATIVE_WORKERS: u32 = 1 << 9;
def IORING_FEAT_NODROP
Show undocumented member
def IORING_FEAT_NODROP: u32 = 1 << 1;
def IORING_FEAT_POLL_32BITS
Show undocumented member
def IORING_FEAT_POLL_32BITS: u32 = 1 << 6;
def IORING_FEAT_REG_REG_RING
Show undocumented member
def IORING_FEAT_REG_REG_RING: u32 = 1 << 13;
Show undocumented member
def IORING_FEAT_RSRC_TAGS: u32 = 1 << 10;
def IORING_FEAT_RW_CUR_POS
Show undocumented member
def IORING_FEAT_RW_CUR_POS: u32 = 1 << 3;
def IORING_FEAT_SINGLE_MMAP
Show undocumented member
def IORING_FEAT_SINGLE_MMAP: u32 = 1 << 0;
def IORING_FEAT_SQPOLL_NONFIXED
Show undocumented member
def IORING_FEAT_SQPOLL_NONFIXED: u32 = 1 << 7;
def IORING_FEAT_SUBMIT_STABLE
Show undocumented member
def IORING_FEAT_SUBMIT_STABLE: u32 = 1 << 2;
def IORING_FILE_INDEX_ALLOC
Show undocumented member
def IORING_FILE_INDEX_ALLOC: u32 = ~0;
def IORING_FSYNC_DATASYNC
Show undocumented member
def IORING_FSYNC_DATASYNC: u32 = 1 << 0;
def IORING_LINK_TIMEOUT_UPDATE
Show undocumented member
def IORING_LINK_TIMEOUT_UPDATE: u32 = 1 << 4;
def IORING_MSG_DATA
Show undocumented member
def IORING_MSG_DATA: u64 = 0;
def IORING_MSG_RING_CQE_SKIP
Show undocumented member
def IORING_MSG_RING_CQE_SKIP: u32 = 1 << 0;
def IORING_MSG_RING_FLAGS_PASS
Show undocumented member
def IORING_MSG_RING_FLAGS_PASS: u32 = 1 << 1;
def IORING_MSG_SEND_FD
Show undocumented member
def IORING_MSG_SEND_FD: u64 = 1;
def IORING_OFF_CQ_RING
Show undocumented member
def IORING_OFF_CQ_RING: u64 = 134217728;
def IORING_OFF_MMAP_MASK
Show undocumented member
def IORING_OFF_MMAP_MASK: u64 = 4160749568;
def IORING_OFF_PBUF_RING
Show undocumented member
def IORING_OFF_PBUF_RING: u64 = 2147483648;
def IORING_OFF_PBUF_SHIFT
Show undocumented member
def IORING_OFF_PBUF_SHIFT: u64 = 16;
def IORING_OFF_SQES
Show undocumented member
def IORING_OFF_SQES: u64 = 268435456;
def IORING_OFF_SQ_RING
Show undocumented member
def IORING_OFF_SQ_RING: u64 = 0;
def IORING_OP_ACCEPT
Show undocumented member
def IORING_OP_ACCEPT: u8 = 13;
def IORING_OP_ASYNC_CANCEL
Show undocumented member
def IORING_OP_ASYNC_CANCEL: u8 = 14;
def IORING_OP_CLOSE
Show undocumented member
def IORING_OP_CLOSE: u8 = 19;
def IORING_OP_CONNECT
Show undocumented member
def IORING_OP_CONNECT: u8 = 16;
def IORING_OP_EPOLL_CTL
Show undocumented member
def IORING_OP_EPOLL_CTL: u8 = 29;
def IORING_OP_FADVISE
Show undocumented member
def IORING_OP_FADVISE: u8 = 24;
def IORING_OP_FALLOCATE
Show undocumented member
def IORING_OP_FALLOCATE: u8 = 17;
def IORING_OP_FGETXATTR
Show undocumented member
def IORING_OP_FGETXATTR: u8 = 43;
def IORING_OP_FILES_UPDATE
Show undocumented member
def IORING_OP_FILES_UPDATE: u8 = 20;
def IORING_OP_FSETXATTR
Show undocumented member
def IORING_OP_FSETXATTR: u8 = 41;
def IORING_OP_FSYNC
Show undocumented member
def IORING_OP_FSYNC: u8 = 3;
def IORING_OP_GETXATTR
Show undocumented member
def IORING_OP_GETXATTR: u8 = 44;
def IORING_OP_LINKAT
Show undocumented member
def IORING_OP_LINKAT: u8 = 39;
def IORING_OP_LINK_TIMEOUT
Show undocumented member
def IORING_OP_LINK_TIMEOUT: u8 = 15;
def IORING_OP_MADVISE
Show undocumented member
def IORING_OP_MADVISE: u8 = 25;
def IORING_OP_MKDIRAT
Show undocumented member
def IORING_OP_MKDIRAT: u8 = 37;
def IORING_OP_MSG_RING
Show undocumented member
def IORING_OP_MSG_RING: u8 = 40;
def IORING_OP_NOP
Show undocumented member
def IORING_OP_NOP: u8 = 0;
def IORING_OP_OPENAT
Show undocumented member
def IORING_OP_OPENAT: u8 = 18;
def IORING_OP_OPENAT2
Show undocumented member
def IORING_OP_OPENAT2: u8 = 28;
def IORING_OP_POLL_ADD
Show undocumented member
def IORING_OP_POLL_ADD: u8 = 6;
def IORING_OP_POLL_REMOVE
Show undocumented member
def IORING_OP_POLL_REMOVE: u8 = 7;
def IORING_OP_PROVIDE_BUFFERS
Show undocumented member
def IORING_OP_PROVIDE_BUFFERS: u8 = 31;
def IORING_OP_READ
Show undocumented member
def IORING_OP_READ: u8 = 22;
def IORING_OP_READV
Show undocumented member
def IORING_OP_READV: u8 = 1;
def IORING_OP_READ_FIXED
Show undocumented member
def IORING_OP_READ_FIXED: u8 = 4;
def IORING_OP_RECV
Show undocumented member
def IORING_OP_RECV: u8 = 27;
def IORING_OP_RECVMSG
Show undocumented member
def IORING_OP_RECVMSG: u8 = 10;
def IORING_OP_REMOVE_BUFFERS
Show undocumented member
def IORING_OP_REMOVE_BUFFERS: u8 = 32;
def IORING_OP_RENAMEAT
Show undocumented member
def IORING_OP_RENAMEAT: u8 = 35;
def IORING_OP_SEND
Show undocumented member
def IORING_OP_SEND: u8 = 26;
def IORING_OP_SENDMSG
Show undocumented member
def IORING_OP_SENDMSG: u8 = 9;
def IORING_OP_SENDMSG_ZC
Show undocumented member
def IORING_OP_SENDMSG_ZC: u8 = 48;
def IORING_OP_SEND_ZC
Show undocumented member
def IORING_OP_SEND_ZC: u8 = 47;
def IORING_OP_SETXATTR
Show undocumented member
def IORING_OP_SETXATTR: u8 = 42;
def IORING_OP_SHUTDOWN
Show undocumented member
def IORING_OP_SHUTDOWN: u8 = 34;
def IORING_OP_SOCKET
Show undocumented member
def IORING_OP_SOCKET: u8 = 45;
def IORING_OP_SPLICE
Show undocumented member
def IORING_OP_SPLICE: u8 = 30;
def IORING_OP_STATX
Show undocumented member
def IORING_OP_STATX: u8 = 21;
def IORING_OP_SYMLINKAT
Show undocumented member
def IORING_OP_SYMLINKAT: u8 = 38;
def IORING_OP_SYNC_FILE_RANGE
Show undocumented member
def IORING_OP_SYNC_FILE_RANGE: u8 = 8;
def IORING_OP_TEE
Show undocumented member
def IORING_OP_TEE: u8 = 33;
def IORING_OP_TIMEOUT
Show undocumented member
def IORING_OP_TIMEOUT: u8 = 11;
def IORING_OP_TIMEOUT_REMOVE
Show undocumented member
def IORING_OP_TIMEOUT_REMOVE: u8 = 12;
def IORING_OP_UNLINKAT
Show undocumented member
def IORING_OP_UNLINKAT: u8 = 36;
def IORING_OP_URING_CMD
Show undocumented member
def IORING_OP_URING_CMD: u8 = 46;
def IORING_OP_WRITE
Show undocumented member
def IORING_OP_WRITE: u8 = 23;
def IORING_OP_WRITEV
Show undocumented member
def IORING_OP_WRITEV: u8 = 2;
def IORING_OP_WRITE_FIXED
Show undocumented member
def IORING_OP_WRITE_FIXED: u8 = 5;
def IORING_POLL_ADD_LEVEL
Show undocumented member
def IORING_POLL_ADD_LEVEL: u32 = 1 << 3;
def IORING_POLL_ADD_MULTI
Show undocumented member
def IORING_POLL_ADD_MULTI: u32 = 1 << 0;
def IORING_POLL_UPDATE_EVENTS
Show undocumented member
def IORING_POLL_UPDATE_EVENTS: u32 = 1 << 1;
def IORING_POLL_UPDATE_USER_DATA
Show undocumented member
def IORING_POLL_UPDATE_USER_DATA: u32 = 1 << 2;
def IORING_RECVSEND_FIXED_BUF
Show undocumented member
def IORING_RECVSEND_FIXED_BUF: u16 = 1 << 2;
def IORING_RECVSEND_POLL_FIRST
Show undocumented member
def IORING_RECVSEND_POLL_FIRST: u16 = 1 << 0;
def IORING_RECV_MULTISHOT
Show undocumented member
def IORING_RECV_MULTISHOT: u16 = 1 << 1;
def IORING_REGISTER_BUFFERS
Show undocumented member
def IORING_REGISTER_BUFFERS: uint = 0;
def IORING_REGISTER_BUFFERS2
Show undocumented member
def IORING_REGISTER_BUFFERS2: uint = 15;
def IORING_REGISTER_BUFFERS_UPDATE
Show undocumented member
def IORING_REGISTER_BUFFERS_UPDATE: uint = 16;
def IORING_REGISTER_ENABLE_RINGS
Show undocumented member
def IORING_REGISTER_ENABLE_RINGS: uint = 12;
def IORING_REGISTER_EVENTFD
Show undocumented member
def IORING_REGISTER_EVENTFD: uint = 4;
def IORING_REGISTER_EVENTFD_ASYNC
Show undocumented member
def IORING_REGISTER_EVENTFD_ASYNC: uint = 7;
def IORING_REGISTER_FILES
Show undocumented member
def IORING_REGISTER_FILES: uint = 2;
def IORING_REGISTER_FILES2
Show undocumented member
def IORING_REGISTER_FILES2: uint = 13;
def IORING_REGISTER_FILES_SKIP
Show undocumented member
def IORING_REGISTER_FILES_SKIP: int = -2;
def IORING_REGISTER_FILES_UPDATE
Show undocumented member
def IORING_REGISTER_FILES_UPDATE: uint = 6;
def IORING_REGISTER_FILES_UPDATE2
Show undocumented member
def IORING_REGISTER_FILES_UPDATE2: uint = 14;
def IORING_REGISTER_FILE_ALLOC_RANGE
Show undocumented member
def IORING_REGISTER_FILE_ALLOC_RANGE: uint = 25;
def IORING_REGISTER_IOWQ_AFF
Show undocumented member
def IORING_REGISTER_IOWQ_AFF: uint = 17;
def IORING_REGISTER_IOWQ_MAX_WORKERS
Show undocumented member
def IORING_REGISTER_IOWQ_MAX_WORKERS: uint = 19;
def IORING_REGISTER_PBUF_RING
Show undocumented member
def IORING_REGISTER_PBUF_RING: uint = 22;
def IORING_REGISTER_PERSONALITY
Show undocumented member
def IORING_REGISTER_PERSONALITY: uint = 9;
def IORING_REGISTER_PROBE
Show undocumented member
def IORING_REGISTER_PROBE: uint = 8;
def IORING_REGISTER_RESTRICTIONS
Show undocumented member
def IORING_REGISTER_RESTRICTIONS: uint = 11;
def IORING_REGISTER_RING_FDS
Show undocumented member
def IORING_REGISTER_RING_FDS: uint = 20;
def IORING_REGISTER_SYNC_CANCEL
Show undocumented member
def IORING_REGISTER_SYNC_CANCEL: uint = 24;
def IORING_REGISTER_USE_REGISTERED_RING
Show undocumented member
def IORING_REGISTER_USE_REGISTERED_RING: uint = 1 << 31;
def IORING_RESTRICTION_REGISTER_OP
Show undocumented member
def IORING_RESTRICTION_REGISTER_OP: u16 = 0;
def IORING_RESTRICTION_SQE_FLAGS_ALLOWED
Show undocumented member
def IORING_RESTRICTION_SQE_FLAGS_ALLOWED: u16 = 2;
def IORING_RESTRICTION_SQE_FLAGS_REQUIRED
Show undocumented member
def IORING_RESTRICTION_SQE_FLAGS_REQUIRED: u16 = 3;
def IORING_RESTRICTION_SQE_OP
Show undocumented member
def IORING_RESTRICTION_SQE_OP: u16 = 1;
def IORING_RSRC_REGISTER_SPARSE
Show undocumented member
def IORING_RSRC_REGISTER_SPARSE: u32 = 1 << 0;
def IORING_SEND_ZC_REPORT_USAGE
Show undocumented member
def IORING_SEND_ZC_REPORT_USAGE: u16 = 1 << 3;
def IORING_SETUP_ATTACH_WQ
Show undocumented member
def IORING_SETUP_ATTACH_WQ: u32 = 1 << 5;
def IORING_SETUP_CLAMP
Show undocumented member
def IORING_SETUP_CLAMP: u32 = 1 << 4;
def IORING_SETUP_COOP_TASKRUN
Show undocumented member
def IORING_SETUP_COOP_TASKRUN: u32 = 1 << 8;
def IORING_SETUP_CQE32
Show undocumented member
def IORING_SETUP_CQE32: u32 = 1 << 11;
def IORING_SETUP_CQSIZE
Show undocumented member
def IORING_SETUP_CQSIZE: u32 = 1 << 3;
def IORING_SETUP_DEFER_TASKRUN
Show undocumented member
def IORING_SETUP_DEFER_TASKRUN: u32 = 1 << 13;
def IORING_SETUP_IOPOLL
Show undocumented member
def IORING_SETUP_IOPOLL: u32 = 1 << 0;
def IORING_SETUP_NO_MMAP
Show undocumented member
def IORING_SETUP_NO_MMAP: u32 = 1 << 14;
def IORING_SETUP_REGISTERED_FD_ONLY
Show undocumented member
def IORING_SETUP_REGISTERED_FD_ONLY: u32 = 1 << 15;
def IORING_SETUP_R_DISABLED
Show undocumented member
def IORING_SETUP_R_DISABLED: u32 = 1 << 6;
def IORING_SETUP_SINGLE_ISSUER
Show undocumented member
def IORING_SETUP_SINGLE_ISSUER: u32 = 1 << 12;
def IORING_SETUP_SQE128
Show undocumented member
def IORING_SETUP_SQE128: u32 = 1 << 10;
def IORING_SETUP_SQPOLL
Show undocumented member
def IORING_SETUP_SQPOLL: u32 = 1 << 1;
def IORING_SETUP_SQ_AFF
Show undocumented member
def IORING_SETUP_SQ_AFF: u32 = 1 << 2;
def IORING_SETUP_SUBMIT_ALL
Show undocumented member
def IORING_SETUP_SUBMIT_ALL: u32 = 1 << 7;
def IORING_SETUP_TASKRUN_FLAG
Show undocumented member
def IORING_SETUP_TASKRUN_FLAG: u32 = 1 << 9;
def IORING_SQ_CQ_OVERFLOW
Show undocumented member
def IORING_SQ_CQ_OVERFLOW: u32 = 1 << 1;
def IORING_SQ_NEED_WAKEUP
Show undocumented member
def IORING_SQ_NEED_WAKEUP: u32 = 1 << 0;
def IORING_SQ_TASKRUN
Show undocumented member
def IORING_SQ_TASKRUN: u32 = 1 << 2;
def IORING_TIMEOUT_ABS
Show undocumented member
def IORING_TIMEOUT_ABS: u32 = 1 << 0;
def IORING_TIMEOUT_BOOTTIME
Show undocumented member
def IORING_TIMEOUT_BOOTTIME: u32 = 1 << 2;
def IORING_TIMEOUT_ETIME_SUCCESS
Show undocumented member
def IORING_TIMEOUT_ETIME_SUCCESS: u32 = 1 << 5;
def IORING_TIMEOUT_MULTISHOT
Show undocumented member
def IORING_TIMEOUT_MULTISHOT: u32 = 1 << 6;
def IORING_TIMEOUT_REALTIME
Show undocumented member
def IORING_TIMEOUT_REALTIME: u32 = 1 << 3;
def IORING_TIMEOUT_UPDATE
Show undocumented member
def IORING_TIMEOUT_UPDATE: u32 = 1 << 1;
def IORING_UNREGISTER_BUFFERS
Show undocumented member
def IORING_UNREGISTER_BUFFERS: uint = 1;
def IORING_UNREGISTER_EVENTFD
Show undocumented member
def IORING_UNREGISTER_EVENTFD: uint = 5;
def IORING_UNREGISTER_FILES
Show undocumented member
def IORING_UNREGISTER_FILES: uint = 3;
def IORING_UNREGISTER_IOWQ_AFF
Show undocumented member
def IORING_UNREGISTER_IOWQ_AFF: uint = 18;
def IORING_UNREGISTER_PBUF_RING
Show undocumented member
def IORING_UNREGISTER_PBUF_RING: uint = 23;
def IORING_UNREGISTER_PERSONALITY
Show undocumented member
def IORING_UNREGISTER_PERSONALITY: uint = 10;
def IORING_UNREGISTER_RING_FDS
Show undocumented member
def IORING_UNREGISTER_RING_FDS: uint = 21;
def IORING_URING_CMD_FIXED
Show undocumented member
def IORING_URING_CMD_FIXED: u32 = 1 << 0;
def IORING_URING_CMD_POLLED
Show undocumented member
def IORING_URING_CMD_POLLED: u32 = 1 << 31;
def IOSQE_ASYNC
Show undocumented member
def IOSQE_ASYNC: u8 = 1 << 4;
def IOSQE_BUFFER_SELECT
Show undocumented member
def IOSQE_BUFFER_SELECT: u8 = 1 << 5;
def IOSQE_CQE_SKIP_SUCCESS
Show undocumented member
def IOSQE_CQE_SKIP_SUCCESS: u8 = 1 << 6;
def IOSQE_FIXED_FILE
Show undocumented member
def IOSQE_FIXED_FILE: u8 = 1 << 0;
def IOSQE_IO_DRAIN
Show undocumented member
def IOSQE_IO_DRAIN: u8 = 1 << 1;
def IOSQE_IO_HARDLINK
Show undocumented member
def IOSQE_IO_HARDLINK: u8 = 1 << 3;
def IOSQE_IO_LINK
Show undocumented member
def IOSQE_IO_LINK: u8 = 1 << 2;
def IOU_PBUF_RING_MMAP
Show undocumented member
def IOU_PBUF_RING_MMAP: u16 = 1;
def IO_URING_OP_SUPPORTED
Show undocumented member
def IO_URING_OP_SUPPORTED: u16 = 1 << 0;
def ITIMER_PROF
Show undocumented member
def ITIMER_PROF: int = 2;
def ITIMER_REAL
Show undocumented member
def ITIMER_REAL: int = 0;
def ITIMER_VIRTUAL
Show undocumented member
def ITIMER_VIRTUAL: int = 1;
def LOCK_EX
Show undocumented member
def LOCK_EX: int = 2;
def LOCK_NB
Show undocumented member
def LOCK_NB: int = 4;
def LOCK_UN
Show undocumented member
def LOCK_UN: int = 8;
def MAP_ANON
Show undocumented member
def MAP_ANON: uint = 32;
def MAP_DENYWRITE
Show undocumented member
def MAP_DENYWRITE: uint = 2048;
def MAP_EXECUTABLE
Show undocumented member
def MAP_EXECUTABLE: uint = 4096;
def MAP_FILE
Show undocumented member
def MAP_FILE: uint = 0;
def MAP_FIXED
Show undocumented member
def MAP_FIXED: uint = 16;
def MAP_FIXED_NOREPLACE
Show undocumented member
def MAP_FIXED_NOREPLACE: uint = 1048576;
def MAP_GROWSDOWN
Show undocumented member
def MAP_GROWSDOWN: uint = 256;
def MAP_HUGETLB
Show undocumented member
def MAP_HUGETLB: uint = 262144;
def MAP_HUGE_16GB
Show undocumented member
def MAP_HUGE_16GB: uint = 34 << 26;
def MAP_HUGE_16MB
Show undocumented member
def MAP_HUGE_16MB: uint = 24 << 26;
def MAP_HUGE_1GB
Show undocumented member
def MAP_HUGE_1GB: uint = 30 << 26;
def MAP_HUGE_1MB
Show undocumented member
def MAP_HUGE_1MB: uint = 20 << 26;
def MAP_HUGE_256MB
Show undocumented member
def MAP_HUGE_256MB: uint = 28 << 26;
def MAP_HUGE_2GB
Show undocumented member
def MAP_HUGE_2GB: uint = 31 << 26;
def MAP_HUGE_2MB
Show undocumented member
def MAP_HUGE_2MB: uint = 21 << 26;
def MAP_HUGE_32MB
Show undocumented member
def MAP_HUGE_32MB: uint = 25 << 26;
def MAP_HUGE_512KB
Show undocumented member
def MAP_HUGE_512KB: uint = 19 << 26;
def MAP_HUGE_512MB
Show undocumented member
def MAP_HUGE_512MB: uint = 29 << 26;
def MAP_HUGE_64KB
Show undocumented member
def MAP_HUGE_64KB: uint = 16 << 26;
def MAP_HUGE_8MB
Show undocumented member
def MAP_HUGE_8MB: uint = 23 << 26;
def MAP_HUGE_MASK
Show undocumented member
def MAP_HUGE_MASK: uint = 63;
def MAP_HUGE_SHIFT
Show undocumented member
def MAP_HUGE_SHIFT: uint = 26;
def MAP_LOCKED
Show undocumented member
def MAP_LOCKED: uint = 8192;
def MAP_NONBLOCK
Show undocumented member
def MAP_NONBLOCK: uint = 65536;
def MAP_NORESERVE
Show undocumented member
def MAP_NORESERVE: uint = 16384;
def MAP_POPULATE
Show undocumented member
def MAP_POPULATE: uint = 32768;
def MAP_PRIVATE
Show undocumented member
def MAP_PRIVATE: uint = 2;
def MAP_SHARED
Show undocumented member
def MAP_SHARED: uint = 1;
def MAP_SHARED_VALIDATE
Show undocumented member
def MAP_SHARED_VALIDATE: uint = 3;
def MAP_STACK
Show undocumented member
def MAP_STACK: uint = 131072;
def MAP_SYNC
Show undocumented member
def MAP_SYNC: uint = 524288;
def MCL_CURRENT
Show undocumented member
def MCL_CURRENT: uint = 1;
def MCL_FUTURE
Show undocumented member
def MCL_FUTURE: uint = 2;
def MCL_ONFAULT
Show undocumented member
def MCL_ONFAULT: uint = 4;
def MFD_ALLOW_SEALING
Show undocumented member
def MFD_ALLOW_SEALING: uint = 2;
def MFD_CLOEXEC
Show undocumented member
def MFD_CLOEXEC: uint = 1;
def MFD_HUGETLB
Show undocumented member
def MFD_HUGETLB: uint = 4;
def MLOCK_ONFAULT
Show undocumented member
def MLOCK_ONFAULT: uint = 1;
def MSG_CONFIRM
Show undocumented member
def MSG_CONFIRM: int = 2048;
def MSG_DONTROUTE
Show undocumented member
def MSG_DONTROUTE: int = 4;
def MSG_DONTWAIT
Show undocumented member
def MSG_DONTWAIT: int = 64;
def MSG_ERRQUEUE
Show undocumented member
def MSG_ERRQUEUE: int = 8192;
def MSG_NO_SHARED_FRAGS
Show undocumented member
def MSG_NO_SHARED_FRAGS: int = 524288;
def MSG_PEEK
Show undocumented member
def MSG_PEEK: int = 2;
def MSG_PROBE
Show undocumented member
def MSG_PROBE: int = 16;
def MSG_SYN
Show undocumented member
def MSG_SYN: int = 1024;
def MSG_TRYHARD
Show undocumented member
def MSG_TRYHARD: int = 4;
def NAME_MAX
Show undocumented member
def NAME_MAX: size = 255z;
def NCCS
Show undocumented member
def NCCS: size = 19;
def NGROUPS_MAX
Show undocumented member
def NGROUPS_MAX: size = 32;
def NSIG
Show undocumented member
def NSIG: int = 64;
def O_ACCMODE
Show undocumented member
def O_ACCMODE: int = 3;
def O_APPEND
Show undocumented member
def O_APPEND: int = 1024;
def O_CLOEXEC
Show undocumented member
def O_CLOEXEC: int = 524288;
def O_CREATE
Show undocumented member
def O_CREATE: int = 64;
def O_DIRECT
Show undocumented member
def O_DIRECT: int = 16384;
def O_DIRECTORY
Show undocumented member
def O_DIRECTORY: int = 65536;
def O_DSYNC
Show undocumented member
def O_DSYNC: int = 4096;
def O_EXCLUSIVE
Show undocumented member
def O_EXCLUSIVE: int = 128;
def O_NOATIME
Show undocumented member
def O_NOATIME: int = 262144;
def O_NOCTTY
Show undocumented member
def O_NOCTTY: int = 256;
def O_NOFOLLOW
Show undocumented member
def O_NOFOLLOW: int = 131072;
def O_NONBLOCK
Show undocumented member
def O_NONBLOCK: int = 2048;
def O_PATH
Show undocumented member
def O_PATH: int = 2097152;
def O_RDWR
Show undocumented member
def O_RDWR: int = 2;
def O_RSYNC
Show undocumented member
def O_RSYNC: int = 1052672;
def O_SYNC
Show undocumented member
def O_SYNC: int = 1052672;
def O_TMPFILE
Show undocumented member
def O_TMPFILE: int = 4194304;
def O_TRUNC
Show undocumented member
def O_TRUNC: int = 512;
def O_WRONLY
Show undocumented member
def O_WRONLY: int = 1;
def PATH_MAX
Show undocumented member
def PATH_MAX: size = 4096z;
def POLLERR
Show undocumented member
def POLLERR: i16 = 8;
def POLLHUP
Show undocumented member
def POLLHUP: i16 = 16;
def POLLIN
Show undocumented member
def POLLIN: i16 = 1;
def POLLOUT
Show undocumented member
def POLLOUT: i16 = 4;
def POLLPRI
Show undocumented member
def POLLPRI: i16 = 2;
def POLLVAL
Show undocumented member
def POLLVAL: i16 = 32;
def PRIO_PGRP
Show undocumented member
def PRIO_PGRP: int = 1;
def PRIO_PROCESS
Show undocumented member
def PRIO_PROCESS: int = 0;
def PRIO_USER
Show undocumented member
def PRIO_USER: int = 2;
def PROT_EXEC
Show undocumented member
def PROT_EXEC: uint = 4;
def PROT_GROWSDOWN
Show undocumented member
def PROT_GROWSDOWN: uint = 16777216;
def PROT_GROWSUP
Show undocumented member
def PROT_GROWSUP: uint = 33554432;
def PROT_NONE
Show undocumented member
def PROT_NONE: uint = 0;
def PROT_READ
Show undocumented member
def PROT_READ: uint = 1;
def PROT_WRITE
Show undocumented member
def PROT_WRITE: uint = 2;
def PR_CAPBSET_DROP
Show undocumented member
def PR_CAPBSET_DROP = 24;
def PR_CAPBSET_READ
Show undocumented member
def PR_CAPBSET_READ = 23;
def PR_CAP_AMBIENT
Show undocumented member
def PR_CAP_AMBIENT = 47;
def PR_CAP_AMBIENT_CLEAR_ALL
Show undocumented member
def PR_CAP_AMBIENT_CLEAR_ALL = 4;
def PR_CAP_AMBIENT_IS_SET
Show undocumented member
def PR_CAP_AMBIENT_IS_SET = 1;
def PR_CAP_AMBIENT_LOWER
Show undocumented member
def PR_CAP_AMBIENT_LOWER = 3;
def PR_CAP_AMBIENT_RAISE
Show undocumented member
def PR_CAP_AMBIENT_RAISE = 2;
def PR_ENDIAN_BIG
Show undocumented member
def PR_ENDIAN_BIG = 0;
def PR_ENDIAN_LITTLE
Show undocumented member
def PR_ENDIAN_LITTLE = 1;
def PR_ENDIAN_PPC_LITTLE
Show undocumented member
def PR_ENDIAN_PPC_LITTLE = 2;
def PR_FPEMU_NOPRINT
Show undocumented member
def PR_FPEMU_NOPRINT = 1;
def PR_FPEMU_SIGFPE
Show undocumented member
def PR_FPEMU_SIGFPE = 2;
def PR_FP_EXC_ASYNC
Show undocumented member
def PR_FP_EXC_ASYNC = 2;
def PR_FP_EXC_DISABLED
Show undocumented member
def PR_FP_EXC_DISABLED = 0;
def PR_FP_EXC_DIV
Show undocumented member
def PR_FP_EXC_DIV = 65536;
def PR_FP_EXC_INV
Show undocumented member
def PR_FP_EXC_INV = 1048576;
def PR_FP_EXC_NONRECOV
Show undocumented member
def PR_FP_EXC_NONRECOV = 1;
def PR_FP_EXC_OVF
Show undocumented member
def PR_FP_EXC_OVF = 131072;
def PR_FP_EXC_PRECISE
Show undocumented member
def PR_FP_EXC_PRECISE = 3;
def PR_FP_EXC_RES
Show undocumented member
def PR_FP_EXC_RES = 524288;
def PR_FP_EXC_SW_ENABLE
Show undocumented member
def PR_FP_EXC_SW_ENABLE = 128;
def PR_FP_EXC_UND
Show undocumented member
def PR_FP_EXC_UND = 262144;
def PR_FP_MODE_FR
Show undocumented member
def PR_FP_MODE_FR = 1 << 0;
def PR_FP_MODE_FRE
Show undocumented member
def PR_FP_MODE_FRE = 1 << 1;
def PR_GET_CHILD_SUBREAPER
Show undocumented member
def PR_GET_CHILD_SUBREAPER = 37;
def PR_GET_DUMPABLE
Show undocumented member
def PR_GET_DUMPABLE = 3;
def PR_GET_ENDIAN
Show undocumented member
def PR_GET_ENDIAN = 19;
def PR_GET_FPEMU
Show undocumented member
def PR_GET_FPEMU = 9;
def PR_GET_FPEXC
Show undocumented member
def PR_GET_FPEXC = 11;
def PR_GET_FP_MODE
Show undocumented member
def PR_GET_FP_MODE = 46;
def PR_GET_IO_FLUSHER
Show undocumented member
def PR_GET_IO_FLUSHER = 58;
def PR_GET_KEEPCAPS
Show undocumented member
def PR_GET_KEEPCAPS = 7;
def PR_GET_NAME
Show undocumented member
def PR_GET_NAME = 16;
def PR_GET_NO_NEW_PRIVS
Show undocumented member
def PR_GET_NO_NEW_PRIVS = 39;
def PR_GET_PDEATHSIG
Show undocumented member
def PR_GET_PDEATHSIG = 2;
def PR_GET_SECCOMP
Show undocumented member
def PR_GET_SECCOMP = 21;
def PR_GET_SECUREBITS
Show undocumented member
def PR_GET_SECUREBITS = 27;
def PR_GET_SPECULATION_CTRL
Show undocumented member
def PR_GET_SPECULATION_CTRL = 52;
def PR_GET_TAGGED_ADDR_CTRL
Show undocumented member
def PR_GET_TAGGED_ADDR_CTRL = 56;
def PR_GET_THP_DISABLE
Show undocumented member
def PR_GET_THP_DISABLE = 42;
def PR_GET_TID_ADDRESS
Show undocumented member
def PR_GET_TID_ADDRESS = 40;
def PR_GET_TIMERSLACK
Show undocumented member
def PR_GET_TIMERSLACK = 30;
def PR_GET_TIMING
Show undocumented member
def PR_GET_TIMING = 13;
def PR_GET_TSC
Show undocumented member
def PR_GET_TSC = 25;
def PR_GET_UNALIGN
Show undocumented member
def PR_GET_UNALIGN = 5;
def PR_MCE_KILL
Show undocumented member
def PR_MCE_KILL = 33;
def PR_MCE_KILL_CLEAR
Show undocumented member
def PR_MCE_KILL_CLEAR = 0;
def PR_MCE_KILL_DEFAULT
Show undocumented member
def PR_MCE_KILL_DEFAULT = 2;
def PR_MCE_KILL_EARLY
Show undocumented member
def PR_MCE_KILL_EARLY = 1;
def PR_MCE_KILL_GET
Show undocumented member
def PR_MCE_KILL_GET = 34;
def PR_MCE_KILL_LATE
Show undocumented member
def PR_MCE_KILL_LATE = 0;
def PR_MCE_KILL_SET
Show undocumented member
def PR_MCE_KILL_SET = 1;
def PR_MPX_DISABLE_MANAGEMENT
Show undocumented member
def PR_MPX_DISABLE_MANAGEMENT = 44;
def PR_MPX_ENABLE_MANAGEMENT
Show undocumented member
def PR_MPX_ENABLE_MANAGEMENT = 43;
def PR_MTE_TAG_MASK
Show undocumented member
def PR_MTE_TAG_MASK = 65535 << 3;
def PR_MTE_TAG_SHIFT
Show undocumented member
def PR_MTE_TAG_SHIFT = 3;
def PR_MTE_TCF_ASYNC
Show undocumented member
def PR_MTE_TCF_ASYNC = 2 << 1;
def PR_MTE_TCF_MASK
Show undocumented member
def PR_MTE_TCF_MASK = 3 << 1;
def PR_MTE_TCF_NONE
Show undocumented member
def PR_MTE_TCF_NONE = 0 << 1;
def PR_MTE_TCF_SHIFT
Show undocumented member
def PR_MTE_TCF_SHIFT = 1;
def PR_MTE_TCF_SYNC
Show undocumented member
def PR_MTE_TCF_SYNC = 1 << 1;
def PR_PAC_APDAKEY
Show undocumented member
def PR_PAC_APDAKEY = 1 << 2;
def PR_PAC_APDBKEY
Show undocumented member
def PR_PAC_APDBKEY = 1 << 3;
def PR_PAC_APGAKEY
Show undocumented member
def PR_PAC_APGAKEY = 1 << 4;
def PR_PAC_APIAKEY
Show undocumented member
def PR_PAC_APIAKEY = 1 << 0;
def PR_PAC_APIBKEY
Show undocumented member
def PR_PAC_APIBKEY = 1 << 1;
def PR_PAC_RESET_KEYS
Show undocumented member
def PR_PAC_RESET_KEYS = 54;
def PR_SET_CHILD_SUBREAPER
Show undocumented member
def PR_SET_CHILD_SUBREAPER = 36;
def PR_SET_DUMPABLE
Show undocumented member
def PR_SET_DUMPABLE = 4;
def PR_SET_ENDIAN
Show undocumented member
def PR_SET_ENDIAN = 20;
def PR_SET_FPEMU
Show undocumented member
def PR_SET_FPEMU = 10;
def PR_SET_FPEXC
Show undocumented member
def PR_SET_FPEXC = 12;
def PR_SET_FP_MODE
Show undocumented member
def PR_SET_FP_MODE = 45;
def PR_SET_IO_FLUSHER
Show undocumented member
def PR_SET_IO_FLUSHER = 57;
def PR_SET_KEEPCAPS
Show undocumented member
def PR_SET_KEEPCAPS = 8;
def PR_SET_MM
Show undocumented member
def PR_SET_MM = 35;
def PR_SET_MM_ARG_END
Show undocumented member
def PR_SET_MM_ARG_END = 9;
def PR_SET_MM_ARG_START
Show undocumented member
def PR_SET_MM_ARG_START = 8;
def PR_SET_MM_AUXV
Show undocumented member
def PR_SET_MM_AUXV = 12;
def PR_SET_MM_BRK
Show undocumented member
def PR_SET_MM_BRK = 7;
def PR_SET_MM_END_CODE
Show undocumented member
def PR_SET_MM_END_CODE = 2;
def PR_SET_MM_END_DATA
Show undocumented member
def PR_SET_MM_END_DATA = 4;
def PR_SET_MM_ENV_END
Show undocumented member
def PR_SET_MM_ENV_END = 11;
def PR_SET_MM_ENV_START
Show undocumented member
def PR_SET_MM_ENV_START = 10;
def PR_SET_MM_EXE_FILE
Show undocumented member
def PR_SET_MM_EXE_FILE = 13;
def PR_SET_MM_MAP
Show undocumented member
def PR_SET_MM_MAP = 14;
def PR_SET_MM_MAP_SIZE
Show undocumented member
def PR_SET_MM_MAP_SIZE = 15;
def PR_SET_MM_START_BRK
Show undocumented member
def PR_SET_MM_START_BRK = 6;
def PR_SET_MM_START_CODE
Show undocumented member
def PR_SET_MM_START_CODE = 1;
def PR_SET_MM_START_DATA
Show undocumented member
def PR_SET_MM_START_DATA = 3;
def PR_SET_MM_START_STACK
Show undocumented member
def PR_SET_MM_START_STACK = 5;
def PR_SET_NAME
Show undocumented member
def PR_SET_NAME = 15;
def PR_SET_NO_NEW_PRIVS
Show undocumented member
def PR_SET_NO_NEW_PRIVS = 38;
def PR_SET_PDEATHSIG
Show undocumented member
def PR_SET_PDEATHSIG = 1;
def PR_SET_PTRACER
Show undocumented member
def PR_SET_PTRACER = 1499557217;
def PR_SET_PTRACER_ANY
Show undocumented member
def PR_SET_PTRACER_ANY = -1;
def PR_SET_SECCOMP
Show undocumented member
def PR_SET_SECCOMP = 22;
def PR_SET_SECUREBITS
Show undocumented member
def PR_SET_SECUREBITS = 28;
def PR_SET_SPECULATION_CTRL
Show undocumented member
def PR_SET_SPECULATION_CTRL = 53;
def PR_SET_SYSCALL_USER_DISPATCH
Show undocumented member
def PR_SET_SYSCALL_USER_DISPATCH = 59;
def PR_SET_TAGGED_ADDR_CTRL
Show undocumented member
def PR_SET_TAGGED_ADDR_CTRL = 55;
def PR_SET_THP_DISABLE
Show undocumented member
def PR_SET_THP_DISABLE = 41;
def PR_SET_TIMERSLACK
Show undocumented member
def PR_SET_TIMERSLACK = 29;
def PR_SET_TIMING
Show undocumented member
def PR_SET_TIMING = 14;
def PR_SET_TSC
Show undocumented member
def PR_SET_TSC = 26;
def PR_SET_UNALIGN
Show undocumented member
def PR_SET_UNALIGN = 6;
def PR_SPEC_DISABLE
Show undocumented member
def PR_SPEC_DISABLE = 1 << 2;
def PR_SPEC_DISABLE_NOEXEC
Show undocumented member
def PR_SPEC_DISABLE_NOEXEC = 1 << 4;
def PR_SPEC_ENABLE
Show undocumented member
def PR_SPEC_ENABLE = 1 << 1;
def PR_SPEC_FORCE_DISABLE
Show undocumented member
def PR_SPEC_FORCE_DISABLE = 1 << 3;
def PR_SPEC_INDIRECT_BRANCH
Show undocumented member
def PR_SPEC_INDIRECT_BRANCH = 1;
def PR_SPEC_NOT_AFFECTED
Show undocumented member
def PR_SPEC_NOT_AFFECTED = 0;
def PR_SPEC_PRCTL
Show undocumented member
def PR_SPEC_PRCTL = 1 << 0;
def PR_SPEC_STORE_BYPASS
Show undocumented member
def PR_SPEC_STORE_BYPASS = 0;
def PR_SVE_GET_VL
Show undocumented member
def PR_SVE_GET_VL = 51;
def PR_SVE_SET_VL
Show undocumented member
def PR_SVE_SET_VL = 50;
def PR_SVE_SET_VL_ONEXEC
Show undocumented member
def PR_SVE_SET_VL_ONEXEC = 1 << 18;
def PR_SVE_VL_INHERIT
Show undocumented member
def PR_SVE_VL_INHERIT = 1 << 17;
def PR_SVE_VL_LEN_MASK
Show undocumented member
def PR_SVE_VL_LEN_MASK = 65535;
def PR_SYS_DISPATCH_OFF
Show undocumented member
def PR_SYS_DISPATCH_OFF = 0;
def PR_SYS_DISPATCH_ON
Show undocumented member
def PR_SYS_DISPATCH_ON = 1;
def PR_TAGGED_ADDR_ENABLE
Show undocumented member
def PR_TAGGED_ADDR_ENABLE = 1 << 0;
def PR_TASK_PERF_EVENTS_DISABLE
Show undocumented member
def PR_TASK_PERF_EVENTS_DISABLE = 31;
def PR_TASK_PERF_EVENTS_ENABLE
Show undocumented member
def PR_TASK_PERF_EVENTS_ENABLE = 32;
def PR_TIMING_STATISTICAL
Show undocumented member
def PR_TIMING_STATISTICAL = 0;
def PR_TIMING_TIMESTAMP
Show undocumented member
def PR_TIMING_TIMESTAMP = 1;
def PR_TSC_ENABLE
Show undocumented member
def PR_TSC_ENABLE = 1;
def PR_TSC_SIGSEGV
Show undocumented member
def PR_TSC_SIGSEGV = 2;
def PR_UNALIGN_NOPRINT
Show undocumented member
def PR_UNALIGN_NOPRINT = 1;
def PR_UNALIGN_SIGBUS
Show undocumented member
def PR_UNALIGN_SIGBUS = 2;
def PTRACE_ATTACH
Show undocumented member
def PTRACE_ATTACH: int = 16;
def PTRACE_CONT
Show undocumented member
def PTRACE_CONT: int = 7;
def PTRACE_DETACH
Show undocumented member
def PTRACE_DETACH: int = 17;
def PTRACE_EVENT_CLONE
Show undocumented member
def PTRACE_EVENT_CLONE: int = 3;
def PTRACE_EVENT_EXEC
Show undocumented member
def PTRACE_EVENT_EXEC: int = 4;
def PTRACE_EVENT_EXIT
Show undocumented member
def PTRACE_EVENT_EXIT: int = 6;
def PTRACE_EVENT_FORK
Show undocumented member
def PTRACE_EVENT_FORK: int = 1;
def PTRACE_EVENT_SECCOMP
Show undocumented member
def PTRACE_EVENT_SECCOMP: int = 7;
def PTRACE_EVENT_STOP
Show undocumented member
def PTRACE_EVENT_STOP: int = 128;
def PTRACE_EVENT_VFORK
Show undocumented member
def PTRACE_EVENT_VFORK: int = 2;
def PTRACE_EVENT_VFORK_DONE
Show undocumented member
def PTRACE_EVENT_VFORK_DONE: int = 5;
def PTRACE_GETEVENTMSG
Show undocumented member
def PTRACE_GETEVENTMSG: int = 16897;
def PTRACE_GETFPREGS
Show undocumented member
def PTRACE_GETFPREGS: int = 14;
def PTRACE_GETFPXREGS
Show undocumented member
def PTRACE_GETFPXREGS: int = 18;
def PTRACE_GETREGS
Show undocumented member
def PTRACE_GETREGS: int = 12;
def PTRACE_GETREGSET
Show undocumented member
def PTRACE_GETREGSET: int = 16900;
def PTRACE_GETSIGINFO
Show undocumented member
def PTRACE_GETSIGINFO: int = 16898;
def PTRACE_GETSIGMASK
Show undocumented member
def PTRACE_GETSIGMASK: int = 16906;
def PTRACE_GET_RSEQ_CONFIGURATION
Show undocumented member
def PTRACE_GET_RSEQ_CONFIGURATION: int = 16911;
def PTRACE_GET_SYSCALL_INFO
Show undocumented member
def PTRACE_GET_SYSCALL_INFO: int = 16910;
def PTRACE_INTERRUPT
Show undocumented member
def PTRACE_INTERRUPT: int = 16903;
def PTRACE_KILL
Show undocumented member
def PTRACE_KILL: int = 8;
def PTRACE_LISTEN
Show undocumented member
def PTRACE_LISTEN: int = 16904;
def PTRACE_O_EXITKILL
Show undocumented member
def PTRACE_O_EXITKILL: u64 = 1048576;
def PTRACE_O_MASK
Show undocumented member
def PTRACE_O_MASK: u64 = 3145983;
def PTRACE_O_SUSPEND_SECCOMP
Show undocumented member
def PTRACE_O_SUSPEND_SECCOMP: u64 = 2097152;
def PTRACE_O_TRACECLONE
Show undocumented member
def PTRACE_O_TRACECLONE: u64 = 8;
def PTRACE_O_TRACEEXEC
Show undocumented member
def PTRACE_O_TRACEEXEC: u64 = 16;
def PTRACE_O_TRACEEXIT
Show undocumented member
def PTRACE_O_TRACEEXIT: u64 = 64;
def PTRACE_O_TRACEFORK
Show undocumented member
def PTRACE_O_TRACEFORK: u64 = 2;
def PTRACE_O_TRACESECCOMP
Show undocumented member
def PTRACE_O_TRACESECCOMP: u64 = 128;
def PTRACE_O_TRACESYSGOOD
Show undocumented member
def PTRACE_O_TRACESYSGOOD: u64 = 1;
def PTRACE_O_TRACEVFORK
Show undocumented member
def PTRACE_O_TRACEVFORK: u64 = 4;
def PTRACE_O_TRACEVFORKDONE
Show undocumented member
def PTRACE_O_TRACEVFORKDONE: u64 = 32;
def PTRACE_PEEKDATA
Show undocumented member
def PTRACE_PEEKDATA: int = 2;
def PTRACE_PEEKSIGINFO
Show undocumented member
def PTRACE_PEEKSIGINFO: int = 16905;
def PTRACE_PEEKSIGINFO_SHARED
Show undocumented member
def PTRACE_PEEKSIGINFO_SHARED: u32 = 1;
def PTRACE_PEEKTEXT
Show undocumented member
def PTRACE_PEEKTEXT: int = 1;
def PTRACE_PEEKUSER
Show undocumented member
def PTRACE_PEEKUSER: int = 3;
def PTRACE_POKEDATA
Show undocumented member
def PTRACE_POKEDATA: int = 5;
def PTRACE_POKETEXT
Show undocumented member
def PTRACE_POKETEXT: int = 4;
def PTRACE_POKEUSER
Show undocumented member
def PTRACE_POKEUSER: int = 6;
def PTRACE_SECCOMP_GET_FILTER
Show undocumented member
def PTRACE_SECCOMP_GET_FILTER: int = 16908;
Show undocumented member
def PTRACE_SECCOMP_GET_METADATA: int = 16909;
def PTRACE_SEIZE
Show undocumented member
def PTRACE_SEIZE: int = 16902;
def PTRACE_SETFPREGS
Show undocumented member
def PTRACE_SETFPREGS: int = 15;
def PTRACE_SETFPXREGS
Show undocumented member
def PTRACE_SETFPXREGS: int = 19;
def PTRACE_SETOPTIONS
Show undocumented member
def PTRACE_SETOPTIONS: int = 16896;
def PTRACE_SETREGS
Show undocumented member
def PTRACE_SETREGS: int = 13;
def PTRACE_SETREGSET
Show undocumented member
def PTRACE_SETREGSET: int = 16901;
def PTRACE_SETSIGINFO
Show undocumented member
def PTRACE_SETSIGINFO: int = 16899;
def PTRACE_SETSIGMASK
Show undocumented member
def PTRACE_SETSIGMASK: int = 16907;
def PTRACE_SINGLESTEP
Show undocumented member
def PTRACE_SINGLESTEP: int = 9;
def PTRACE_SYSCALL
Show undocumented member
def PTRACE_SYSCALL: int = 24;
def PTRACE_SYSCALL_INFO_ENTRY
Show undocumented member
def PTRACE_SYSCALL_INFO_ENTRY: u8 = 1;
def PTRACE_SYSCALL_INFO_EXIT
Show undocumented member
def PTRACE_SYSCALL_INFO_EXIT: u8 = 2;
def PTRACE_SYSCALL_INFO_NONE
Show undocumented member
def PTRACE_SYSCALL_INFO_NONE: u8 = 0;
def PTRACE_SYSCALL_INFO_SECCOMP
Show undocumented member
def PTRACE_SYSCALL_INFO_SECCOMP: u8 = 3;
def PTRACE_TRACEME
Show undocumented member
def PTRACE_TRACEME: int = 0;
def RESOLVE_BENEATH
Show undocumented member
def RESOLVE_BENEATH: u64 = 8;
def RESOLVE_IN_ROOT
Show undocumented member
def RESOLVE_IN_ROOT: u64 = 16;
def RESOLVE_NO_MAGICLINKS
Show undocumented member
def RESOLVE_NO_MAGICLINKS: u64 = 2;
def RESOLVE_NO_SYMLINKS
Show undocumented member
def RESOLVE_NO_SYMLINKS: u64 = 4;
def RESOLVE_NO_XDEV
Show undocumented member
def RESOLVE_NO_XDEV: u64 = 1;
def RLIMIT_AS
Show undocumented member
def RLIMIT_AS: int = 9;
def RLIMIT_CORE
Show undocumented member
def RLIMIT_CORE: int = 4;
def RLIMIT_CPU
Show undocumented member
def RLIMIT_CPU: int = 0;
def RLIMIT_DATA
Show undocumented member
def RLIMIT_DATA: int = 2;
def RLIMIT_FSIZE
Show undocumented member
def RLIMIT_FSIZE: int = 1;
def RLIMIT_LOCKS
Show undocumented member
def RLIMIT_LOCKS: int = 10;
def RLIMIT_MEMLOCK
Show undocumented member
def RLIMIT_MEMLOCK: int = 8;
def RLIMIT_MSGQUEUE
Show undocumented member
def RLIMIT_MSGQUEUE: int = 12;
def RLIMIT_NICE
Show undocumented member
def RLIMIT_NICE: int = 13;
def RLIMIT_NLIMITS
Show undocumented member
def RLIMIT_NLIMITS: int = 16;
def RLIMIT_NOFILE
Show undocumented member
def RLIMIT_NOFILE: int = 7;
def RLIMIT_NPROC
Show undocumented member
def RLIMIT_NPROC: int = 6;
Show undocumented member
def RLIMIT_RSS: int = 5;
def RLIMIT_RTPRIO
Show undocumented member
def RLIMIT_RTPRIO: int = 14;
def RLIMIT_RTTIME
Show undocumented member
def RLIMIT_RTTIME: int = 15;
def RLIMIT_SIGPENDING
Show undocumented member
def RLIMIT_SIGPENDING: int = 11;
def RLIMIT_STACK
Show undocumented member
def RLIMIT_STACK: int = 3;
def RLIM_INFINITY
Show undocumented member
def RLIM_INFINITY: rlim_t = -1;
def R_OK
Show undocumented member
def R_OK: int = 4;
def SA_NOCLDSTOP
Show undocumented member
def SA_NOCLDSTOP: u64 = 1;
def SA_NOCLDWAIT
Show undocumented member
def SA_NOCLDWAIT: u64 = 2;
def SA_NODEFER
Show undocumented member
def SA_NODEFER: u64 = 1073741824;
def SA_NOMASK
Show undocumented member
def SA_NOMASK: u64 = SA_NODEFER;
def SA_ONESHOT
Show undocumented member
def SA_ONESHOT: u64 = SA_RESETHAND;
def SA_ONSTACK
Show undocumented member
def SA_ONSTACK: u64 = 134217728;
def SA_RESETHAND
Show undocumented member
def SA_RESETHAND: u64 = 2147483648;
def SA_RESTART
Show undocumented member
def SA_RESTART: u64 = 268435456;
def SA_RESTORER
Show undocumented member
def SA_RESTORER: u64 = 67108864;
def SA_SIGINFO
Show undocumented member
def SA_SIGINFO: u64 = 4;
def SCM_CREDENTIALS
Show undocumented member
def SCM_CREDENTIALS: int = 2;
def SCM_RIGHTS
Show undocumented member
def SCM_RIGHTS: int = 1;
def SEEK_CUR
Show undocumented member
def SEEK_CUR: int = 1;
def SEEK_END
Show undocumented member
def SEEK_END: int = 2;
def SEEK_SET
Show undocumented member
def SEEK_SET: int = 0;
def SFD_CLOEXEC
Show undocumented member
def SFD_CLOEXEC: int = O_CLOEXEC;
def SFD_NONBLOCK
Show undocumented member
def SFD_NONBLOCK: int = O_NONBLOCK;
def SHUT_RD
Show undocumented member
def SHUT_RD: int = 0;
def SHUT_RDWR
Show undocumented member
def SHUT_RDWR: int = 2;
def SHUT_WR
Show undocumented member
def SHUT_WR: int = 1;
def SIGABRT
Show undocumented member
def SIGABRT: int = 6;
def SIGALRM
Show undocumented member
def SIGALRM: int = 14;
def SIGBUS
Show undocumented member
def SIGBUS: int = 7;
def SIGCHLD
Show undocumented member
def SIGCHLD: int = 17;
def SIGCONT
Show undocumented member
def SIGCONT: int = 18;
def SIGFPE
Show undocumented member
def SIGFPE: int = 8;
def SIGHUP
Show undocumented member
def SIGHUP: int = 1;
def SIGILL
Show undocumented member
def SIGILL: int = 4;
def SIGINT
Show undocumented member
def SIGINT: int = 2;
def SIGIO
Show undocumented member
def SIGIO: int = 29;
def SIGKILL
Show undocumented member
def SIGKILL: int = 9;
def SIGPIPE
Show undocumented member
def SIGPIPE: int = 13;
def SIGPOLL
Show undocumented member
def SIGPOLL: int = 29;
def SIGPROF
Show undocumented member
def SIGPROF: int = 27;
def SIGPWR
Show undocumented member
def SIGPWR: int = 30;
def SIGQUIT
Show undocumented member
def SIGQUIT: int = 3;
def SIGSEGV
Show undocumented member
def SIGSEGV: int = 11;
def SIGSTKFLT
Show undocumented member
def SIGSTKFLT: int = 16;
def SIGSTOP
Show undocumented member
def SIGSTOP: int = 19;
def SIGSYS
Show undocumented member
def SIGSYS: int = 31;
def SIGTERM
Show undocumented member
def SIGTERM: int = 15;
def SIGTRAP
Show undocumented member
def SIGTRAP: int = 5;
def SIGTSTP
Show undocumented member
def SIGTSTP: int = 20;
def SIGTTIN
Show undocumented member
def SIGTTIN: int = 21;
def SIGTTOU
Show undocumented member
def SIGTTOU: int = 22;
def SIGURG
Show undocumented member
def SIGURG: int = 23;
def SIGUSR1
Show undocumented member
def SIGUSR1: int = 10;
def SIGUSR2
Show undocumented member
def SIGUSR2: int = 12;
def SIGVTALRM
Show undocumented member
def SIGVTALRM: int = 26;
def SIGWINCH
Show undocumented member
def SIGWINCH: int = 28;
def SIGXCPU
Show undocumented member
def SIGXCPU: int = 24;
def SIGXFSZ
Show undocumented member
def SIGXFSZ: int = 25;
def SIG_BLOCK
Show undocumented member
def SIG_BLOCK: int = 0;
def SIG_DFL
Show undocumented member
def SIG_DFL: uintptr = 0;
def SIG_ERR
Show undocumented member
def SIG_ERR: uintptr = -1;
def SIG_HOLD
Show undocumented member
def SIG_HOLD: uintptr = 2;
def SIG_IGN
Show undocumented member
def SIG_IGN: uintptr = 1;
def SIG_SETMASK
Show undocumented member
def SIG_SETMASK: int = 2;
def SIG_UNBLOCK
Show undocumented member
def SIG_UNBLOCK: int = 1;
def SOCK_CLOEXEC
Show undocumented member
def SOCK_CLOEXEC: int = 524288;
def SOCK_DCCP
Show undocumented member
def SOCK_DCCP: int = 6;
def SOCK_DGRAM
Show undocumented member
def SOCK_DGRAM: int = 2;
def SOCK_NONBLOCK
Show undocumented member
def SOCK_NONBLOCK: int = 2048;
def SOCK_PACKET
Show undocumented member
def SOCK_PACKET: int = 10;
def SOCK_RAW
Show undocumented member
def SOCK_RAW: int = 3;
def SOCK_RDM
Show undocumented member
def SOCK_RDM: int = 4;
def SOCK_SEQPACKET
Show undocumented member
def SOCK_SEQPACKET: int = 5;
def SO_ATTACH_FILTER
Show undocumented member
def SO_ATTACH_FILTER: int = 26;
def SO_BROADCAST
Show undocumented member
def SO_BROADCAST: int = 6;
def SO_BSDCOMPAT
Show undocumented member
def SO_BSDCOMPAT: int = 14;
def SO_DETATCH_FILTER
Show undocumented member
def SO_DETATCH_FILTER: int = 27;
def SO_DONTROUTE
Show undocumented member
def SO_DONTROUTE: int = 5;
def SO_ERROR
Show undocumented member
def SO_ERROR: int = 4;
def SO_KEEPALIVE
Show undocumented member
def SO_KEEPALIVE: int = 9;
def SO_LINGER
Show undocumented member
def SO_LINGER: int = 13;
def SO_LOCK_FILTER
Show undocumented member
def SO_LOCK_FILTER: int = 44;
def SO_NO_CHECK
Show undocumented member
def SO_NO_CHECK: int = 11;
def SO_OOBINLINE
Show undocumented member
def SO_OOBINLINE: int = 10;
def SO_PEERCRED
Show undocumented member
def SO_PEERCRED: int = 17;
def SO_PRIORITY
Show undocumented member
def SO_PRIORITY: int = 12;
def SO_RCVBUF
Show undocumented member
def SO_RCVBUF: int = 8;
def SO_RCVBUFFORCE
Show undocumented member
def SO_RCVBUFFORCE: int = 33;
def SO_RCVLOWAT
Show undocumented member
def SO_RCVLOWAT: int = 18;
def SO_RCVTIMEO_OLD
Show undocumented member
def SO_RCVTIMEO_OLD: int = 20;
def SO_REUSEADDR
Show undocumented member
def SO_REUSEADDR: int = 2;
def SO_REUSEPORT
Show undocumented member
def SO_REUSEPORT: int = 15;
def SO_SNDBUF
Show undocumented member
def SO_SNDBUF: int = 7;
def SO_SNDBUFFORCE
Show undocumented member
def SO_SNDBUFFORCE: int = 32;
def SO_SNDLOWAT
Show undocumented member
def SO_SNDLOWAT: int = 19;
def SO_SNDTIMEO_OLD
Show undocumented member
def SO_SNDTIMEO_OLD: int = 21;
def SO_TYPE
Show undocumented member
def SO_TYPE: int = 3;
def SPLICE_F_FD_IN_FIXED
Show undocumented member
def SPLICE_F_FD_IN_FIXED: u32 = 1 << 31;
def SPLICE_F_GIFT
Show undocumented member
def SPLICE_F_GIFT: uint = 8;
def SPLICE_F_MORE
Show undocumented member
def SPLICE_F_MORE: uint = 4;
def SPLICE_F_MOVE
Show undocumented member
def SPLICE_F_MOVE: uint = 1;
def SPLICE_F_NONBLOCK
Show undocumented member
def SPLICE_F_NONBLOCK: uint = 2;
def STDERR_FILENO
Show undocumented member
def STDERR_FILENO: int = 2;
def STDIN_FILENO
Show undocumented member
def STDIN_FILENO: int = 0;
def STDOUT_FILENO
Show undocumented member
def STDOUT_FILENO: int = 1;
def SYSCALL_DISPATCH_FILTER_ALLOW
Show undocumented member
def SYSCALL_DISPATCH_FILTER_ALLOW = 0;
def SYSCALL_DISPATCH_FILTER_BLOCK
Show undocumented member
def SYSCALL_DISPATCH_FILTER_BLOCK = 1;
def SYS__sysctl
Show undocumented member
def SYS__sysctl: u64 = 156;
def SYS_accept
Show undocumented member
def SYS_accept: u64 = 43;
def SYS_accept4
Show undocumented member
def SYS_accept4: u64 = 288;
def SYS_access
Show undocumented member
def SYS_access: u64 = 21;
def SYS_acct
Show undocumented member
def SYS_acct: u64 = 163;
def SYS_add_key
Show undocumented member
def SYS_add_key: u64 = 248;
def SYS_adjtimex
Show undocumented member
def SYS_adjtimex: u64 = 159;
def SYS_afs_syscall
Show undocumented member
def SYS_afs_syscall: u64 = 183;
def SYS_alarm
Show undocumented member
def SYS_alarm: u64 = 37;
def SYS_arch_prctl
Show undocumented member
def SYS_arch_prctl: u64 = 158;
def SYS_bind
Show undocumented member
def SYS_bind: u64 = 49;
def SYS_bpf
Show undocumented member
def SYS_bpf: u64 = 321;
def SYS_brk
Show undocumented member
def SYS_brk: u64 = 12;
def SYS_capget
Show undocumented member
def SYS_capget: u64 = 125;
def SYS_capset
Show undocumented member
def SYS_capset: u64 = 126;
def SYS_chdir
Show undocumented member
def SYS_chdir: u64 = 80;
def SYS_chmod
Show undocumented member
def SYS_chmod: u64 = 90;
def SYS_chown
Show undocumented member
def SYS_chown: u64 = 92;
def SYS_chroot
Show undocumented member
def SYS_chroot: u64 = 161;
def SYS_clock_adjtime
Show undocumented member
def SYS_clock_adjtime: u64 = 305;
def SYS_clock_getres
Show undocumented member
def SYS_clock_getres: u64 = 229;
def SYS_clock_gettime
Show undocumented member
def SYS_clock_gettime: u64 = 228;
def SYS_clock_nanosleep
Show undocumented member
def SYS_clock_nanosleep: u64 = 230;
def SYS_clock_settime
Show undocumented member
def SYS_clock_settime: u64 = 227;
def SYS_clone
Show undocumented member
def SYS_clone: u64 = 56;
def SYS_close
Show undocumented member
def SYS_close: u64 = 3;
def SYS_connect
Show undocumented member
def SYS_connect: u64 = 42;
def SYS_copy_file_range
Show undocumented member
def SYS_copy_file_range: u64 = 326;
def SYS_creat
Show undocumented member
def SYS_creat: u64 = 85;
def SYS_create_module
Show undocumented member
def SYS_create_module: u64 = 174;
def SYS_delete_module
Show undocumented member
def SYS_delete_module: u64 = 176;
def SYS_dup
Show undocumented member
def SYS_dup: u64 = 32;
def SYS_dup2
Show undocumented member
def SYS_dup2: u64 = 33;
def SYS_dup3
Show undocumented member
def SYS_dup3: u64 = 292;
def SYS_epoll_create
Show undocumented member
def SYS_epoll_create: u64 = 213;
def SYS_epoll_create1
Show undocumented member
def SYS_epoll_create1: u64 = 291;
def SYS_epoll_ctl
Show undocumented member
def SYS_epoll_ctl: u64 = 233;
def SYS_epoll_ctl_old
Show undocumented member
def SYS_epoll_ctl_old: u64 = 214;
def SYS_epoll_pwait
Show undocumented member
def SYS_epoll_pwait: u64 = 281;
def SYS_epoll_wait
Show undocumented member
def SYS_epoll_wait: u64 = 232;
def SYS_epoll_wait_old
Show undocumented member
def SYS_epoll_wait_old: u64 = 215;
def SYS_eventfd
Show undocumented member
def SYS_eventfd: u64 = 284;
def SYS_eventfd2
Show undocumented member
def SYS_eventfd2: u64 = 290;
def SYS_execve
Show undocumented member
def SYS_execve: u64 = 59;
def SYS_execveat
Show undocumented member
def SYS_execveat: u64 = 322;
def SYS_exit
Show undocumented member
def SYS_exit: u64 = 60;
def SYS_exit_group
Show undocumented member
def SYS_exit_group: u64 = 231;
def SYS_faccessat
Show undocumented member
def SYS_faccessat: u64 = 269;
def SYS_faccessat2
Show undocumented member
def SYS_faccessat2: u64 = 439;
def SYS_fadvise64
Show undocumented member
def SYS_fadvise64: u64 = 221;
def SYS_fallocate
Show undocumented member
def SYS_fallocate: u64 = 285;
def SYS_fanotify_init
Show undocumented member
def SYS_fanotify_init: u64 = 300;
def SYS_fanotify_mark
Show undocumented member
def SYS_fanotify_mark: u64 = 301;
def SYS_fchdir
Show undocumented member
def SYS_fchdir: u64 = 81;
def SYS_fchmod
Show undocumented member
def SYS_fchmod: u64 = 91;
def SYS_fchmodat
Show undocumented member
def SYS_fchmodat: u64 = 268;
def SYS_fchown
Show undocumented member
def SYS_fchown: u64 = 93;
def SYS_fchownat
Show undocumented member
def SYS_fchownat: u64 = 260;
def SYS_fcntl
Show undocumented member
def SYS_fcntl: u64 = 72;
def SYS_fdatasync
Show undocumented member
def SYS_fdatasync: u64 = 75;
def SYS_fgetxattr
Show undocumented member
def SYS_fgetxattr: u64 = 193;
def SYS_finit_module
Show undocumented member
def SYS_finit_module: u64 = 313;
def SYS_flistxattr
Show undocumented member
def SYS_flistxattr: u64 = 196;
def SYS_flock
Show undocumented member
def SYS_flock: u64 = 73;
def SYS_fork
Show undocumented member
def SYS_fork: u64 = 57;
def SYS_fremovexattr
Show undocumented member
def SYS_fremovexattr: u64 = 199;
def SYS_fsconfig
Show undocumented member
def SYS_fsconfig: u64 = 431;
def SYS_fsetxattr
Show undocumented member
def SYS_fsetxattr: u64 = 190;
def SYS_fsmount
Show undocumented member
def SYS_fsmount: u64 = 432;
def SYS_fsopen
Show undocumented member
def SYS_fsopen: u64 = 430;
def SYS_fspick
Show undocumented member
def SYS_fspick: u64 = 433;
def SYS_fstat
Show undocumented member
def SYS_fstat: u64 = 5;
def SYS_fstatfs
Show undocumented member
def SYS_fstatfs: u64 = 138;
def SYS_fsync
Show undocumented member
def SYS_fsync: u64 = 74;
def SYS_ftruncate
Show undocumented member
def SYS_ftruncate: u64 = 77;
def SYS_futex
Show undocumented member
def SYS_futex: u64 = 202;
def SYS_futimesat
Show undocumented member
def SYS_futimesat: u64 = 261;
def SYS_get_kernel_syms
Show undocumented member
def SYS_get_kernel_syms: u64 = 177;
def SYS_get_mempolicy
Show undocumented member
def SYS_get_mempolicy: u64 = 239;
def SYS_get_robust_list
Show undocumented member
def SYS_get_robust_list: u64 = 274;
def SYS_get_thread_area
Show undocumented member
def SYS_get_thread_area: u64 = 211;
def SYS_getcpu
Show undocumented member
def SYS_getcpu: u64 = 309;
def SYS_getcwd
Show undocumented member
def SYS_getcwd: u64 = 79;
def SYS_getdents
Show undocumented member
def SYS_getdents: u64 = 78;
def SYS_getdents64
Show undocumented member
def SYS_getdents64: u64 = 217;
def SYS_getegid
Show undocumented member
def SYS_getegid: u64 = 108;
def SYS_geteuid
Show undocumented member
def SYS_geteuid: u64 = 107;
def SYS_getgid
Show undocumented member
def SYS_getgid: u64 = 104;
def SYS_getgroups
Show undocumented member
def SYS_getgroups: u64 = 115;
def SYS_getitimer
Show undocumented member
def SYS_getitimer: u64 = 36;
def SYS_getpeername
Show undocumented member
def SYS_getpeername: u64 = 52;
def SYS_getpgid
Show undocumented member
def SYS_getpgid: u64 = 121;
def SYS_getpgrp
Show undocumented member
def SYS_getpgrp: u64 = 111;
def SYS_getpid
Show undocumented member
def SYS_getpid: u64 = 39;
def SYS_getpmsg
Show undocumented member
def SYS_getpmsg: u64 = 181;
def SYS_getppid
Show undocumented member
def SYS_getppid: u64 = 110;
def SYS_getpriority
Show undocumented member
def SYS_getpriority: u64 = 140;
def SYS_getrandom
Show undocumented member
def SYS_getrandom: u64 = 318;
def SYS_getresgid
Show undocumented member
def SYS_getresgid: u64 = 120;
def SYS_getresuid
Show undocumented member
def SYS_getresuid: u64 = 118;
def SYS_getrlimit
Show undocumented member
def SYS_getrlimit: u64 = 97;
def SYS_getrusage
Show undocumented member
def SYS_getrusage: u64 = 98;
def SYS_getsid
Show undocumented member
def SYS_getsid: u64 = 124;
def SYS_getsockname
Show undocumented member
def SYS_getsockname: u64 = 51;
def SYS_getsockopt
Show undocumented member
def SYS_getsockopt: u64 = 55;
def SYS_gettid
Show undocumented member
def SYS_gettid: u64 = 186;
def SYS_gettimeofday
Show undocumented member
def SYS_gettimeofday: u64 = 96;
def SYS_getuid
Show undocumented member
def SYS_getuid: u64 = 102;
def SYS_getxattr
Show undocumented member
def SYS_getxattr: u64 = 191;
def SYS_init_module
Show undocumented member
def SYS_init_module: u64 = 175;
def SYS_inotify_add_watch
Show undocumented member
def SYS_inotify_add_watch: u64 = 254;
def SYS_inotify_init
Show undocumented member
def SYS_inotify_init: u64 = 253;
def SYS_inotify_init1
Show undocumented member
def SYS_inotify_init1: u64 = 294;
def SYS_inotify_rm_watch
Show undocumented member
def SYS_inotify_rm_watch: u64 = 255;
def SYS_io_cancel
Show undocumented member
def SYS_io_cancel: u64 = 210;
def SYS_io_destroy
Show undocumented member
def SYS_io_destroy: u64 = 207;
def SYS_io_getevents
Show undocumented member
def SYS_io_getevents: u64 = 208;
def SYS_io_pgetevents
Show undocumented member
def SYS_io_pgetevents: u64 = 333;
def SYS_io_setup
Show undocumented member
def SYS_io_setup: u64 = 206;
def SYS_io_submit
Show undocumented member
def SYS_io_submit: u64 = 209;
def SYS_io_uring_enter
Show undocumented member
def SYS_io_uring_enter: u64 = 426;
def SYS_io_uring_register
Show undocumented member
def SYS_io_uring_register: u64 = 427;
def SYS_io_uring_setup
Show undocumented member
def SYS_io_uring_setup: u64 = 425;
def SYS_ioctl
Show undocumented member
def SYS_ioctl: u64 = 16;
def SYS_ioperm
Show undocumented member
def SYS_ioperm: u64 = 173;
def SYS_iopl
Show undocumented member
def SYS_iopl: u64 = 172;
def SYS_ioprio_get
Show undocumented member
def SYS_ioprio_get: u64 = 252;
def SYS_ioprio_set
Show undocumented member
def SYS_ioprio_set: u64 = 251;
def SYS_kcmp
Show undocumented member
def SYS_kcmp: u64 = 312;
def SYS_kexec_file_load
Show undocumented member
def SYS_kexec_file_load: u64 = 320;
def SYS_kexec_load
Show undocumented member
def SYS_kexec_load: u64 = 246;
def SYS_keyctl
Show undocumented member
def SYS_keyctl: u64 = 250;
def SYS_kill
Show undocumented member
def SYS_kill: u64 = 62;
def SYS_lchown
Show undocumented member
def SYS_lchown: u64 = 94;
def SYS_lgetxattr
Show undocumented member
def SYS_lgetxattr: u64 = 192;
def SYS_link
Show undocumented member
def SYS_link: u64 = 86;
def SYS_linkat
Show undocumented member
def SYS_linkat: u64 = 265;
def SYS_listen
Show undocumented member
def SYS_listen: u64 = 50;
def SYS_listxattr
Show undocumented member
def SYS_listxattr: u64 = 194;
def SYS_llistxattr
Show undocumented member
def SYS_llistxattr: u64 = 195;
def SYS_lookup_dcookie
Show undocumented member
def SYS_lookup_dcookie: u64 = 212;
def SYS_lremovexattr
Show undocumented member
def SYS_lremovexattr: u64 = 198;
def SYS_lseek
Show undocumented member
def SYS_lseek: u64 = 8;
def SYS_lsetxattr
Show undocumented member
def SYS_lsetxattr: u64 = 189;
def SYS_lstat
Show undocumented member
def SYS_lstat: u64 = 6;
def SYS_madvise
Show undocumented member
def SYS_madvise: u64 = 28;
def SYS_mbind
Show undocumented member
def SYS_mbind: u64 = 237;
def SYS_membarrier
Show undocumented member
def SYS_membarrier: u64 = 324;
def SYS_memfd_create
Show undocumented member
def SYS_memfd_create: u64 = 319;
def SYS_migrate_pages
Show undocumented member
def SYS_migrate_pages: u64 = 256;
def SYS_mincore
Show undocumented member
def SYS_mincore: u64 = 27;
def SYS_mkdir
Show undocumented member
def SYS_mkdir: u64 = 83;
def SYS_mkdirat
Show undocumented member
def SYS_mkdirat: u64 = 258;
def SYS_mknod
Show undocumented member
def SYS_mknod: u64 = 133;
def SYS_mknodat
Show undocumented member
def SYS_mknodat: u64 = 259;
def SYS_mlock
Show undocumented member
def SYS_mlock: u64 = 149;
def SYS_mlock2
Show undocumented member
def SYS_mlock2: u64 = 325;
def SYS_mlockall
Show undocumented member
def SYS_mlockall: u64 = 151;
def SYS_mmap
Show undocumented member
def SYS_mmap: u64 = 9;
def SYS_modify_ldt
Show undocumented member
def SYS_modify_ldt: u64 = 154;
def SYS_mount
Show undocumented member
def SYS_mount: u64 = 165;
def SYS_move_mount
Show undocumented member
def SYS_move_mount: u64 = 429;
def SYS_move_pages
Show undocumented member
def SYS_move_pages: u64 = 279;
def SYS_mprotect
Show undocumented member
def SYS_mprotect: u64 = 10;
def SYS_mq_getsetattr
Show undocumented member
def SYS_mq_getsetattr: u64 = 245;
def SYS_mq_notify
Show undocumented member
def SYS_mq_notify: u64 = 244;
def SYS_mq_open
Show undocumented member
def SYS_mq_open: u64 = 240;
def SYS_mq_timedreceive
Show undocumented member
def SYS_mq_timedreceive: u64 = 243;
def SYS_mq_timedsend
Show undocumented member
def SYS_mq_timedsend: u64 = 242;
def SYS_mq_unlink
Show undocumented member
def SYS_mq_unlink: u64 = 241;
def SYS_mremap
Show undocumented member
def SYS_mremap: u64 = 25;
def SYS_msgctl
Show undocumented member
def SYS_msgctl: u64 = 71;
def SYS_msgget
Show undocumented member
def SYS_msgget: u64 = 68;
def SYS_msgrcv
Show undocumented member
def SYS_msgrcv: u64 = 70;
def SYS_msgsnd
Show undocumented member
def SYS_msgsnd: u64 = 69;
def SYS_msync
Show undocumented member
def SYS_msync: u64 = 26;
def SYS_munlock
Show undocumented member
def SYS_munlock: u64 = 150;
def SYS_munlockall
Show undocumented member
def SYS_munlockall: u64 = 152;
def SYS_munmap
Show undocumented member
def SYS_munmap: u64 = 11;
def SYS_name_to_handle_at
Show undocumented member
def SYS_name_to_handle_at: u64 = 303;
def SYS_nanosleep
Show undocumented member
def SYS_nanosleep: u64 = 35;
def SYS_newfstatat
Show undocumented member
def SYS_newfstatat: u64 = 262;
def SYS_nfsservctl
Show undocumented member
def SYS_nfsservctl: u64 = 180;
def SYS_open
Show undocumented member
def SYS_open: u64 = 2;
def SYS_open_by_handle_at
Show undocumented member
def SYS_open_by_handle_at: u64 = 304;
def SYS_open_tree
Show undocumented member
def SYS_open_tree: u64 = 428;
def SYS_openat
Show undocumented member
def SYS_openat: u64 = 257;
def SYS_openat2
Show undocumented member
def SYS_openat2: u64 = 437;
def SYS_pause
Show undocumented member
def SYS_pause: u64 = 34;
def SYS_perf_event_open
Show undocumented member
def SYS_perf_event_open: u64 = 298;
def SYS_personality
Show undocumented member
def SYS_personality: u64 = 135;
def SYS_pidfd_send_signal
Show undocumented member
def SYS_pidfd_send_signal: u64 = 424;
def SYS_pipe
Show undocumented member
def SYS_pipe: u64 = 22;
def SYS_pipe2
Show undocumented member
def SYS_pipe2: u64 = 293;
def SYS_pivot_root
Show undocumented member
def SYS_pivot_root: u64 = 155;
def SYS_pkey_alloc
Show undocumented member
def SYS_pkey_alloc: u64 = 330;
def SYS_pkey_free
Show undocumented member
def SYS_pkey_free: u64 = 331;
def SYS_pkey_mprotect
Show undocumented member
def SYS_pkey_mprotect: u64 = 329;
def SYS_poll
Show undocumented member
def SYS_poll: u64 = 7;
def SYS_ppoll
Show undocumented member
def SYS_ppoll: u64 = 271;
def SYS_prctl
Show undocumented member
def SYS_prctl: u64 = 157;
def SYS_pread64
Show undocumented member
def SYS_pread64: u64 = 17;
def SYS_preadv
Show undocumented member
def SYS_preadv: u64 = 295;
def SYS_preadv2
Show undocumented member
def SYS_preadv2: u64 = 327;
def SYS_prlimit64
Show undocumented member
def SYS_prlimit64: u64 = 302;
def SYS_process_vm_readv
Show undocumented member
def SYS_process_vm_readv: u64 = 310;
def SYS_process_vm_writev
Show undocumented member
def SYS_process_vm_writev: u64 = 311;
def SYS_pselect6
Show undocumented member
def SYS_pselect6: u64 = 270;
def SYS_ptrace
Show undocumented member
def SYS_ptrace: u64 = 101;
def SYS_putpmsg
Show undocumented member
def SYS_putpmsg: u64 = 182;
def SYS_pwrite64
Show undocumented member
def SYS_pwrite64: u64 = 18;
def SYS_pwritev
Show undocumented member
def SYS_pwritev: u64 = 296;
def SYS_pwritev2
Show undocumented member
def SYS_pwritev2: u64 = 328;
def SYS_query_module
Show undocumented member
def SYS_query_module: u64 = 178;
def SYS_quotactl
Show undocumented member
def SYS_quotactl: u64 = 179;
def SYS_read
Show undocumented member
def SYS_read: u64 = 0;
def SYS_readahead
Show undocumented member
def SYS_readahead: u64 = 187;
def SYS_readlink
Show undocumented member
def SYS_readlink: u64 = 89;
def SYS_readlinkat
Show undocumented member
def SYS_readlinkat: u64 = 267;
def SYS_readv
Show undocumented member
def SYS_readv: u64 = 19;
def SYS_reboot
Show undocumented member
def SYS_reboot: u64 = 169;
def SYS_recvfrom
Show undocumented member
def SYS_recvfrom: u64 = 45;
def SYS_recvmmsg
Show undocumented member
def SYS_recvmmsg: u64 = 299;
def SYS_recvmsg
Show undocumented member
def SYS_recvmsg: u64 = 47;
def SYS_remap_file_pages
Show undocumented member
def SYS_remap_file_pages: u64 = 216;
def SYS_removexattr
Show undocumented member
def SYS_removexattr: u64 = 197;
def SYS_rename
Show undocumented member
def SYS_rename: u64 = 82;
def SYS_renameat
Show undocumented member
def SYS_renameat: u64 = 264;
def SYS_renameat2
Show undocumented member
def SYS_renameat2: u64 = 316;
def SYS_request_key
Show undocumented member
def SYS_request_key: u64 = 249;
def SYS_restart_syscall
Show undocumented member
def SYS_restart_syscall: u64 = 219;
def SYS_rmdir
Show undocumented member
def SYS_rmdir: u64 = 84;
def SYS_rseq
Show undocumented member
def SYS_rseq: u64 = 334;
def SYS_rt_sigaction
Show undocumented member
def SYS_rt_sigaction: u64 = 13;
def SYS_rt_sigpending
Show undocumented member
def SYS_rt_sigpending: u64 = 127;
def SYS_rt_sigprocmask
Show undocumented member
def SYS_rt_sigprocmask: u64 = 14;
def SYS_rt_sigqueueinfo
Show undocumented member
def SYS_rt_sigqueueinfo: u64 = 129;
def SYS_rt_sigreturn
Show undocumented member
def SYS_rt_sigreturn: u64 = 15;
def SYS_rt_sigsuspend
Show undocumented member
def SYS_rt_sigsuspend: u64 = 130;
def SYS_rt_sigtimedwait
Show undocumented member
def SYS_rt_sigtimedwait: u64 = 128;
def SYS_rt_tgsigqueueinfo
Show undocumented member
def SYS_rt_tgsigqueueinfo: u64 = 297;
def SYS_sched_get_priority_max
Show undocumented member
def SYS_sched_get_priority_max: u64 = 146;
def SYS_sched_get_priority_min
Show undocumented member
def SYS_sched_get_priority_min: u64 = 147;
def SYS_sched_getaffinity
Show undocumented member
def SYS_sched_getaffinity: u64 = 204;
def SYS_sched_getattr
Show undocumented member
def SYS_sched_getattr: u64 = 315;
def SYS_sched_getparam
Show undocumented member
def SYS_sched_getparam: u64 = 143;
def SYS_sched_getscheduler
Show undocumented member
def SYS_sched_getscheduler: u64 = 145;
def SYS_sched_rr_get_interval
Show undocumented member
def SYS_sched_rr_get_interval: u64 = 148;
def SYS_sched_setaffinity
Show undocumented member
def SYS_sched_setaffinity: u64 = 203;
def SYS_sched_setattr
Show undocumented member
def SYS_sched_setattr: u64 = 314;
def SYS_sched_setparam
Show undocumented member
def SYS_sched_setparam: u64 = 142;
def SYS_sched_setscheduler
Show undocumented member
def SYS_sched_setscheduler: u64 = 144;
def SYS_sched_yield
Show undocumented member
def SYS_sched_yield: u64 = 24;
def SYS_seccomp
Show undocumented member
def SYS_seccomp: u64 = 317;
def SYS_security
Show undocumented member
def SYS_security: u64 = 185;
def SYS_select
Show undocumented member
def SYS_select: u64 = 23;
def SYS_semctl
Show undocumented member
def SYS_semctl: u64 = 66;
def SYS_semget
Show undocumented member
def SYS_semget: u64 = 64;
def SYS_semop
Show undocumented member
def SYS_semop: u64 = 65;
def SYS_semtimedop
Show undocumented member
def SYS_semtimedop: u64 = 220;
def SYS_sendfile
Show undocumented member
def SYS_sendfile: u64 = 40;
def SYS_sendmmsg
Show undocumented member
def SYS_sendmmsg: u64 = 307;
def SYS_sendmsg
Show undocumented member
def SYS_sendmsg: u64 = 46;
def SYS_sendto
Show undocumented member
def SYS_sendto: u64 = 44;
def SYS_set_mempolicy
Show undocumented member
def SYS_set_mempolicy: u64 = 238;
def SYS_set_robust_list
Show undocumented member
def SYS_set_robust_list: u64 = 273;
def SYS_set_thread_area
Show undocumented member
def SYS_set_thread_area: u64 = 205;
def SYS_set_tid_address
Show undocumented member
def SYS_set_tid_address: u64 = 218;
def SYS_setdomainname
Show undocumented member
def SYS_setdomainname: u64 = 171;
def SYS_setfsgid
Show undocumented member
def SYS_setfsgid: u64 = 123;
def SYS_setfsuid
Show undocumented member
def SYS_setfsuid: u64 = 122;
def SYS_setgid
Show undocumented member
def SYS_setgid: u64 = 106;
def SYS_setgroups
Show undocumented member
def SYS_setgroups: u64 = 116;
def SYS_sethostname
Show undocumented member
def SYS_sethostname: u64 = 170;
def SYS_setitimer
Show undocumented member
def SYS_setitimer: u64 = 38;
def SYS_setns
Show undocumented member
def SYS_setns: u64 = 308;
def SYS_setpgid
Show undocumented member
def SYS_setpgid: u64 = 109;
def SYS_setpriority
Show undocumented member
def SYS_setpriority: u64 = 141;
def SYS_setregid
Show undocumented member
def SYS_setregid: u64 = 114;
def SYS_setresgid
Show undocumented member
def SYS_setresgid: u64 = 119;
def SYS_setresuid
Show undocumented member
def SYS_setresuid: u64 = 117;
def SYS_setreuid
Show undocumented member
def SYS_setreuid: u64 = 113;
def SYS_setrlimit
Show undocumented member
def SYS_setrlimit: u64 = 160;
def SYS_setsid
Show undocumented member
def SYS_setsid: u64 = 112;
def SYS_setsockopt
Show undocumented member
def SYS_setsockopt: u64 = 54;
def SYS_settimeofday
Show undocumented member
def SYS_settimeofday: u64 = 164;
def SYS_setuid
Show undocumented member
def SYS_setuid: u64 = 105;
def SYS_setxattr
Show undocumented member
def SYS_setxattr: u64 = 188;
def SYS_shmat
Show undocumented member
def SYS_shmat: u64 = 30;
def SYS_shmctl
Show undocumented member
def SYS_shmctl: u64 = 31;
def SYS_shmdt
Show undocumented member
def SYS_shmdt: u64 = 67;
def SYS_shmget
Show undocumented member
def SYS_shmget: u64 = 29;
def SYS_shutdown
Show undocumented member
def SYS_shutdown: u64 = 48;
def SYS_sigaltstack
Show undocumented member
def SYS_sigaltstack: u64 = 131;
def SYS_signalfd
Show undocumented member
def SYS_signalfd: u64 = 282;
def SYS_signalfd4
Show undocumented member
def SYS_signalfd4: u64 = 289;
def SYS_socket
Show undocumented member
def SYS_socket: u64 = 41;
def SYS_socketpair
Show undocumented member
def SYS_socketpair: u64 = 53;
def SYS_splice
Show undocumented member
def SYS_splice: u64 = 275;
def SYS_stat
Show undocumented member
def SYS_stat: u64 = 4;
def SYS_statfs
Show undocumented member
def SYS_statfs: u64 = 137;
def SYS_statx
Show undocumented member
def SYS_statx: u64 = 332;
def SYS_swapoff
Show undocumented member
def SYS_swapoff: u64 = 168;
def SYS_swapon
Show undocumented member
def SYS_swapon: u64 = 167;
def SYS_symlink
Show undocumented member
def SYS_symlink: u64 = 88;
def SYS_symlinkat
Show undocumented member
def SYS_symlinkat: u64 = 266;
def SYS_sync
Show undocumented member
def SYS_sync: u64 = 162;
def SYS_sync_file_range
Show undocumented member
def SYS_sync_file_range: u64 = 277;
def SYS_syncfs
Show undocumented member
def SYS_syncfs: u64 = 306;
def SYS_sysfs
Show undocumented member
def SYS_sysfs: u64 = 139;
def SYS_sysinfo
Show undocumented member
def SYS_sysinfo: u64 = 99;
def SYS_syslog
Show undocumented member
def SYS_syslog: u64 = 103;
def SYS_tee
Show undocumented member
def SYS_tee: u64 = 276;
def SYS_tgkill
Show undocumented member
def SYS_tgkill: u64 = 234;
def SYS_time
Show undocumented member
def SYS_time: u64 = 201;
def SYS_timer_create
Show undocumented member
def SYS_timer_create: u64 = 222;
def SYS_timer_delete
Show undocumented member
def SYS_timer_delete: u64 = 226;
def SYS_timer_getoverrun
Show undocumented member
def SYS_timer_getoverrun: u64 = 225;
def SYS_timer_gettime
Show undocumented member
def SYS_timer_gettime: u64 = 224;
def SYS_timer_settime
Show undocumented member
def SYS_timer_settime: u64 = 223;
def SYS_timerfd_create
Show undocumented member
def SYS_timerfd_create: u64 = 283;
def SYS_timerfd_gettime
Show undocumented member
def SYS_timerfd_gettime: u64 = 287;
def SYS_timerfd_settime
Show undocumented member
def SYS_timerfd_settime: u64 = 286;
def SYS_times
Show undocumented member
def SYS_times: u64 = 100;
def SYS_tkill
Show undocumented member
def SYS_tkill: u64 = 200;
def SYS_truncate
Show undocumented member
def SYS_truncate: u64 = 76;
def SYS_tuxcall
Show undocumented member
def SYS_tuxcall: u64 = 184;
def SYS_umask
Show undocumented member
def SYS_umask: u64 = 95;
def SYS_umount2
Show undocumented member
def SYS_umount2: u64 = 166;
def SYS_uname
Show undocumented member
def SYS_uname: u64 = 63;
def SYS_unlink
Show undocumented member
def SYS_unlink: u64 = 87;
def SYS_unlinkat
Show undocumented member
def SYS_unlinkat: u64 = 263;
def SYS_unshare
Show undocumented member
def SYS_unshare: u64 = 272;
def SYS_uselib
Show undocumented member
def SYS_uselib: u64 = 134;
def SYS_userfaultfd
Show undocumented member
def SYS_userfaultfd: u64 = 323;
def SYS_ustat
Show undocumented member
def SYS_ustat: u64 = 136;
def SYS_utime
Show undocumented member
def SYS_utime: u64 = 132;
def SYS_utimensat
Show undocumented member
def SYS_utimensat: u64 = 280;
def SYS_utimes
Show undocumented member
def SYS_utimes: u64 = 235;
def SYS_vfork
Show undocumented member
def SYS_vfork: u64 = 58;
def SYS_vhangup
Show undocumented member
def SYS_vhangup: u64 = 153;
def SYS_vmsplice
Show undocumented member
def SYS_vmsplice: u64 = 278;
def SYS_vserver
Show undocumented member
def SYS_vserver: u64 = 236;
def SYS_wait4
Show undocumented member
def SYS_wait4: u64 = 61;
def SYS_waitid
Show undocumented member
def SYS_waitid: u64 = 247;
def SYS_write
Show undocumented member
def SYS_write: u64 = 1;
def SYS_writev
Show undocumented member
def SYS_writev: u64 = 20;
def S_IFBLK
Show undocumented member
def S_IFBLK: mode_t = 24576;
def S_IFCHR
Show undocumented member
def S_IFCHR: mode_t = 8192;
def S_IFDIR
Show undocumented member
def S_IFDIR: mode_t = 16384;
def S_IFIFO
Show undocumented member
def S_IFIFO: mode_t = 4096;
def S_IFLNK
Show undocumented member
def S_IFLNK: mode_t = 40960;
def S_IFREG
Show undocumented member
def S_IFREG: mode_t = 32768;
def S_IFSOCK
Show undocumented member
def S_IFSOCK: mode_t = 49152;
def TCGETS
Show undocumented member
def TCGETS: u64 = 21505;
def TCSETS
Show undocumented member
def TCSETS: u64 = 21506;
def TFD_CLOEXEC
Show undocumented member
def TFD_CLOEXEC: int = O_CLOEXEC;
def TFD_NONBLOCK
Show undocumented member
def TFD_NONBLOCK: int = O_NONBLOCK;
def TFD_TIMER_ABSTIME
Show undocumented member
def TFD_TIMER_ABSTIME: int = 1;
def TFD_TIMER_CANCEL_ON_SET
Show undocumented member
def TFD_TIMER_CANCEL_ON_SET: int = 2;
def TIOCGPTN
Show undocumented member
def TIOCGPTN: u64 = 2147767344;
def TIOCGPTPEER
Show undocumented member
def TIOCGPTPEER: u64 = 21569;
def TIOCGWINSZ
Show undocumented member
def TIOCGWINSZ: u64 = 21523;
def TIOCNOTTY
Show undocumented member
def TIOCNOTTY: u64 = 21538;
def TIOCSCTTY
Show undocumented member
def TIOCSCTTY: u64 = 21518;
def TIOCSPGRP
Show undocumented member
def TIOCSPGRP: u64 = 21520;
def TIOCSPTLCK
Show undocumented member
def TIOCSPTLCK: u64 = 1074025521;
def TIOCSWINSZ
Show undocumented member
def TIOCSWINSZ: u64 = 21524;
def UNIX_PATH_MAX
Show undocumented member
def UNIX_PATH_MAX: size = 108;
def UTIME_OMIT
Show undocumented member
def UTIME_OMIT = 1073741822;
def WCONTINUED
Show undocumented member
def WCONTINUED: int = 8;
def WEXITED
Show undocumented member
def WEXITED: int = 4;
def WNOHANG
Show undocumented member
def WNOHANG: int = 1;
def WNOWAIT
Show undocumented member
def WNOWAIT: int = 16777216;
def WSTOPPED
Show undocumented member
def WSTOPPED: int = 2;
def WUNTRACED
Show undocumented member
def WUNTRACED: int = 2;
def W_OK
Show undocumented member
def W_OK: int = 2;
def X_OK
Show undocumented member
def X_OK: int = 1;
Globals
let argc
Show undocumented member
let argc: size;
let argv
Show undocumented member
let argv: *[*]*u8;
let envp
Show undocumented member
let envp: *[*]nullable *u8;
Functions
fn access
fn access(path: path, mode: int) (bool | errno);
The use of this function is discouraged, as it can create race conditions. TOCTOU is preferred: attempt to simply use the resource you need and handle any access errors which occur.
fn clone
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
fn cpuid_getvendor() (cpuid_vendor | cpuid_unknownvendor);
Figures out cpu vendor using cpuid
fn cpuid_hasflags
fn cpuid_hasflags(edx: u32, ecx: u32) bool;
Checks if cpu has given features. See cpuid_edxflag and cpuid_ecxflag for available options.
fn errname
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
fn faccessat(dirfd: int, path: path, mode: int, flags: int) (bool | errno);
The use of this function is discouraged, as it can create race conditions. TOCTOU is preferred: attempt to simply use the resource you need and handle any access errors which occur.
fn fini
fn fini() void;
Run all global finalization functions.
fn fork
fn fork() (pid_t | void | errno);
Returns the new PID to the parent, void to the child, or errno if something goes wrong.
fn free_
@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
fn getcwd() (*const u8 | errno);
The return value is statically allocated and must be duplicated before calling getcwd again.
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
fn getxattr(path: path, name: str, value: []u8) (u64 | errno);
Gets an extended file attribute.
fn init
fn init() void;
Run all global initialization functions.
fn malloc
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
fn onabort(handler: *abort_handler) void;
Sets a new global runtime abort handler.
fn realloc
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
fn removexattr(path: path, name: str) (void | errno);
Removes an extended file attribute.
fn setxattr
fn setxattr(path: path, name: str, value: []u8, flags: int = 0) (void | errno);
Sets an extended file attribute.
fn strerror
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
Show undocumented member
@symbol("rt.abort") fn _abort(path: *str, line: u64, col: u64, msg: str) never;
fn abort_fixed
Show undocumented member
fn abort_fixed(path: *str, line: u64, col: u64, i: u64) void;
fn accept
Show undocumented member
fn accept(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32) (int | errno);
fn accept4
Show undocumented member
fn accept4(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32, flags: int) (int | errno);
fn add_key
Show undocumented member
fn add_key(keytype: *const u8, name: *const u8, payload: *opaque, plen: size, keyring: int) (int | errno);
fn alarm
Show undocumented member
fn alarm(sec: uint) uint;
fn bind
Show undocumented member
fn bind(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);
fn chdir
Show undocumented member
fn chdir(path: path) (void | errno);
fn chmod
Show undocumented member
fn chmod(path: path, mode: uint) (void | errno);
fn chown
Show undocumented member
fn chown(path: path, uid: uint, gid: uint) (void | errno);
fn chroot
Show undocumented member
fn chroot(path: path) (void | errno);
fn clock_gettime
Show undocumented member
fn clock_gettime(clock_id: int, tp: *timespec) (void | errno);
fn clock_settime
Show undocumented member
fn clock_settime(clock_id: int, tp: *const timespec) (void | errno);
fn close
Show undocumented member
fn close(fd: int) (void | errno);
fn connect
Show undocumented member
fn connect(sockfd: int, addr: *const sockaddr, addrlen: u32) (int | errno);
fn dup
Show undocumented member
fn dup(fd: int) (int | errno);
fn dup2
Show undocumented member
fn dup2(oldfd: int, newfd: int) (int | errno);
fn dup3
Show undocumented member
fn dup3(oldfd: int, newfd: int, flags: int) (int | errno);
fn ensure
Show undocumented member
fn ensure(s: *slice, membsz: size) void;
fn epoll_create
Show undocumented member
fn epoll_create(size_: int) (int | errno);
fn epoll_create1
Show undocumented member
fn epoll_create1(flags: int) (int | errno);
fn epoll_ctl
Show undocumented member
fn epoll_ctl(epfd: int, op: int, fd: int, event: nullable *epoll_event) (void | errno);
fn epoll_pwait
Show undocumented member
fn epoll_pwait(epfd: int, events: *epoll_event, maxevents: int, timeout: int, sigmask: nullable *sigset) (int | errno);
fn epoll_wait
Show undocumented member
fn epoll_wait(epfd: int, events: *epoll_event, maxevents: int, timeout: int) (int | errno);
fn eventfd
Show undocumented member
fn eventfd(initval: uint, flags: int) (int | errno);
fn execve
Show undocumented member
fn execve(path: path, argv: *[*]nullable *const u8, envp: *[*]nullable *const u8) errno;
fn execveat
Show undocumented member
fn execveat(dirfd: int, path: path, argv: *[*]nullable *const u8, envp: *[*]nullable *const u8, flags: int) errno;
fn exit
Show undocumented member
fn exit(status: int) never;
fn fallocate
Show undocumented member
fn fallocate(fd: int, mode: int, off: i64, ln: i64) (void | errno);
fn fchdir
Show undocumented member
fn fchdir(fd: int) (void | errno);
fn fchmod
Show undocumented member
fn fchmod(fd: int, mode: uint) (void | errno);
fn fchmodat
Show undocumented member
fn fchmodat(dirfd: int, path: path, mode: uint, flags: int) (void | errno);
fn fchown
Show undocumented member
fn fchown(fd: int, uid: uint, gid: uint) (void | errno);
fn fchownat
Show undocumented member
fn fchownat(dirfd: int, path: path, uid: uint, gid: uint, flags: int) (void | errno);
fn fcntl
Show undocumented member
fn fcntl(fd: int, cmd: int, arg: fcntl_arg) (int | errno);
fn fdatasync
Show undocumented member
fn fdatasync(fd: int) (void | errno);
fn feclearexcept
Show undocumented member
fn feclearexcept(ex: uint) void;
fn fegetround
Show undocumented member
fn fegetround() uint;
fn feraiseexcept
Show undocumented member
fn feraiseexcept(ex: uint) void;
fn fesetround
Show undocumented member
fn fesetround(mode: uint) void;
fn fetestexcept
Show undocumented member
fn fetestexcept(ex: uint) uint;
fn flock
Show undocumented member
fn flock(fd: int, op: int) (void | errno);
fn fstat
Show undocumented member
fn fstat(fd: int, statbuf: *st) (errno | void);
fn fstatat
Show undocumented member
fn fstatat(dirfd: int, path: path, statbuf: *st, flags: int) (errno | void);
fn fsync
Show undocumented member
fn fsync(fd: int) (void | errno);
fn ftruncate
Show undocumented member
fn ftruncate(fd: int, ln: off_t) (void | errno);
fn futimens
Show undocumented member
fn futimens(fd: int, ts: *[2]timespec) (void | errno);
fn getdents64
Show undocumented member
fn getdents64(dirfd: int, dirp: *opaque, count: size) (size | errno);
fn getgroups
Show undocumented member
fn getgroups(gids: []gid_t) (uint | errno);
fn getitimer
Show undocumented member
fn getitimer(which: int, cur: *itimerval) (void | errno);
fn getpeername
Show undocumented member
fn getpeername(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32) (int | errno);
fn getpgid
Show undocumented member
fn getpgid(pid: pid_t) (pid_t | errno);
fn getpgrp
Show undocumented member
fn getpgrp() pid_t;
fn getpid
Show undocumented member
fn getpid() pid_t;
fn getppid
Show undocumented member
fn getppid() pid_t;
fn getpriority
Show undocumented member
fn getpriority(which: int, who: id_t) (int | errno);
fn getrandom
Show undocumented member
fn getrandom(buf: *opaque, bufln: size, flags: uint) (size | errno);
fn getresgid
Show undocumented member
fn getresgid(gid: *gid_t, egid: *gid_t, sgid: *gid_t) (void | errno);
fn getresuid
Show undocumented member
fn getresuid(uid: *uid_t, euid: *uid_t, suid: *uid_t) (void | errno);
fn getrlimit
Show undocumented member
fn getrlimit(resource: int, rlim: *rlimit) (void | errno);
fn getsid
Show undocumented member
fn getsid(pid: pid_t) (pid_t | errno);
fn getsockname
Show undocumented member
fn getsockname(sockfd: int, addr: nullable *sockaddr, addrlen: nullable *u32) (int | errno);
fn getsockopt
Show undocumented member
fn getsockopt(sockfd: int, level: int, optname: int, optval: nullable *opaque, optlen: nullable *u32) (int | errno);
fn inotify_add_watch
Show undocumented member
fn inotify_add_watch(fd: int, path: path, mask: u32) (int | errno);
fn inotify_init
Show undocumented member
fn inotify_init() (int | errno);
fn inotify_init1
Show undocumented member
fn inotify_init1(flags: int) (int | errno);
fn inotify_rm_watch
Show undocumented member
fn inotify_rm_watch(fd: int, wd: int) (int | errno);
fn io_uring_enter
Show undocumented member
fn io_uring_enter(fd: int, to_submit: uint, min_complete: uint, flags: uint, sig: const nullable *sigset) (uint | errno);
fn io_uring_enter2
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
Show undocumented member
fn io_uring_register(fd: int, opcode: uint, arg: nullable *opaque, nr_args: uint) (int | errno);
fn io_uring_setup
Show undocumented member
fn io_uring_setup(entries: u32, params: *io_uring_params) (int | errno);
fn ioctl
Show undocumented member
fn ioctl(fd: int, req: u64, arg: ioctl_arg) (int | errno);
fn keyctl
Show undocumented member
fn keyctl(operation: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);
fn kill
Show undocumented member
fn kill(pid: pid_t, signal: int) (void | errno);
fn linkat
Show undocumented member
fn linkat(olddirfd: int, oldpath: path, newdirfd: int, newpath: path, flags: int) (void | errno);
fn listen
Show undocumented member
fn listen(sockfd: int, backlog: u32) (int | errno);
fn longjmp
Show undocumented member
fn longjmp(buf: *jmpbuf, n: int) never;
fn lseek
Show undocumented member
fn lseek(fd: int, off: i64, whence: int) (i64 | errno);
fn lstat
Show undocumented member
fn lstat(path: path, statbuf: *st) (errno | void);
fn memcpy
Show undocumented member
fn memcpy(dest: *opaque, src: *const opaque, n: size) void;
fn memfd_create
Show undocumented member
fn memfd_create(name: path, flags: uint) (int | errno);
fn memmove
Show undocumented member
fn memmove(dest: *opaque, src: *const opaque, n: size) void;
fn memset
Show undocumented member
fn memset(dest: *opaque, val: u8, n: size) void;
fn mkdev
Show undocumented member
fn mkdev(major: u32, minor: u32) dev_t;
fn mkdir
Show undocumented member
fn mkdir(path: path, mode: uint) (void | errno);
fn mkdirat
Show undocumented member
fn mkdirat(dirfd: int, path: path, mode: uint) (void | errno);
fn mknodat
Show undocumented member
fn mknodat(dirfd: int, path: path, mode: mode_t, dev: dev_t) (void | errno);
fn mlock2
Show undocumented member
fn mlock2(addr: *opaque, length: size, flags: uint) (void | errno);
fn mlockall
Show undocumented member
fn mlockall(flags: uint) (void | errno);
fn mmap
Show undocumented member
fn mmap(addr: nullable *opaque, length: size, prot: uint, flags: uint, fd: int, offs: size) (*opaque | errno);
fn mount
Show undocumented member
fn mount(source: path, target: path, filesystemtype: *const u8, mountflags: u64, data: nullable *opaque) (void | errno);
fn mprotect
Show undocumented member
fn mprotect(addr: *opaque, length: size, prot: uint) (void | errno);
fn mremap
Show undocumented member
fn mremap(old_addr: *opaque, old_len: size, new_len: size, flags: uint, new_addr: nullable *opaque) (*opaque | errno);
fn munlock
Show undocumented member
fn munlock(addr: *opaque, length: size) (void | errno);
fn munlockall
Show undocumented member
fn munlockall() (void | errno);
fn munmap
Show undocumented member
fn munmap(addr: *opaque, length: size) (void | errno);
fn nanosleep
Show undocumented member
fn nanosleep(req: *const timespec, rem: *timespec) (void | errno);
fn newheap
Show undocumented member
fn newheap() memory_heap;
fn open
Show undocumented member
fn open(path: path, flags: int, mode: uint) (int | errno);
fn openat2
Show undocumented member
fn openat2(dirfd: int, path: path, how: *open_how, how_sz: size) (int | errno);
fn pipe2
Show undocumented member
fn pipe2(pipefd: *[2]int, flags: int) (void | errno);
fn poll
Show undocumented member
fn poll(fds: *[*]pollfd, nfds: nfds_t, timeout: int) (int | errno);
fn posix_fallocate
Show undocumented member
fn posix_fallocate(fd: int, off: i64, ln: i64) (void | errno);
fn ppoll
Show undocumented member
fn ppoll(fds: *[*]pollfd, nfds: nfds_t, timeout: const nullable *timespec, sigmask: const nullable *sigset) (int | errno);
fn prctl
Show undocumented member
fn prctl(option: int, arg2: u64, arg3: u64, arg4: u64, arg5: u64) (int | errno);
fn ptrace
Show undocumented member
fn ptrace(request: int, pid: pid_t, addr: uintptr, data: uintptr) (u64 | errno);
fn read
Show undocumented member
fn read(fd: int, buf: *opaque, count: size) (size | errno);
fn readlinkat
Show undocumented member
fn readlinkat(dirfd: int, path: path, buf: []u8) (size | errno);
fn readv
Show undocumented member
fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);
fn recv
Show undocumented member
fn recv(sockfd: int, buf: *opaque, len_: size, flags: int) (size | errno);
fn recvfrom
Show undocumented member
fn recvfrom(sockfd: int, buf: *opaque, len_: size, flags: int, src_addr: nullable *sockaddr, addrlen: nullable *u32) (size | errno);
fn recvmsg
Show undocumented member
fn recvmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);
fn renameat
Show undocumented member
fn renameat(olddirfd: int, oldpath: path, newdirfd: int, newpath: path, flags: uint) (void | errno);
fn sched_getaffinity
Show undocumented member
fn sched_getaffinity(pid: pid_t, cpusetsize: size, mask: *cpu_set) (void | errno);
fn sched_setaffinity
Show undocumented member
fn sched_setaffinity(pid: pid_t, cpusetsize: size, mask: *const cpu_set) (void | errno);
fn send
Show undocumented member
fn send(sockfd: int, buf: *opaque, len_: size, flags: int) (size | errno);
fn sendfile
Show undocumented member
fn sendfile(out: int, in: int, offs: nullable *size, count: size) (size | errno);
fn sendmsg
Show undocumented member
fn sendmsg(fd: int, msg: *const msghdr, flags: int) (int | errno);
fn sendto
Show undocumented member
fn sendto(sockfd: int, buf: *opaque, len_: size, flags: int, dest_addr: nullable *sockaddr, addrlen: u32) (size | errno);
fn setgroups
Show undocumented member
fn setgroups(gids: []gid_t) (void | errno);
fn setitimer
Show undocumented member
fn setitimer(which: int, newval: *itimerval, oldval: nullable *itimerval) (void | errno);
fn setjmp
Show undocumented member
fn setjmp(buf: *jmpbuf) int;
fn setpgid
Show undocumented member
fn setpgid(pid: pid_t, pgid: pid_t) (void | errno);
fn setpriority
Show undocumented member
fn setpriority(which: int, who: id_t, prio: int) (void | errno);
fn setresgid
Show undocumented member
fn setresgid(gid: gid_t, egid: gid_t, sgid: gid_t) (void | errno);
fn setresuid
Show undocumented member
fn setresuid(uid: uid_t, euid: uid_t, suid: uid_t) (void | errno);
fn setrlimit
Show undocumented member
fn setrlimit(resource: int, rlim: *const rlimit) (void | errno);
fn setsid
Show undocumented member
fn setsid() (void | errno);
fn setsockopt
Show undocumented member
fn setsockopt(sockfd: int, level: int, optname: int, optval: *opaque, optlen: u32) (int | errno);
fn shmat
Show undocumented member
fn shmat(id: int, addr: *const opaque, flag: int) *opaque;
fn shutdown
Show undocumented member
fn shutdown(sockfd: int, how: int) (void | errno);
fn sigaction
Show undocumented member
fn sigaction(signum: int, act: *const sigact, old: nullable *sigact) (int | errno);
fn sigaddset
Show undocumented member
fn sigaddset(set: *sigset, signum: int) (void | errno);
fn sigaltstack
Show undocumented member
fn sigaltstack(ss: nullable *stack_t, old_ss: nullable *stack_t) (void | errno);
fn sigdelset
Show undocumented member
fn sigdelset(set: *sigset, signum: int) (void | errno);
fn sigemptyset
Show undocumented member
fn sigemptyset(set: *sigset) void;
fn sigfillset
Show undocumented member
fn sigfillset(set: *sigset) void;
fn sigismember
Show undocumented member
fn sigismember(set: *sigset, signum: int) (bool | errno);
fn signalfd
Show undocumented member
fn signalfd(fd: int, mask: *const sigset, flags: int) (int | errno);
fn sigprocmask
Show undocumented member
fn sigprocmask(how: int, set: nullable *const sigset, old: nullable *sigset) (int | errno);
fn sigqueueinfo
Show undocumented member
fn sigqueueinfo(tgid: int, sig: int, info: *siginfo) (void | errno);
fn sigtimedwait
Show undocumented member
fn sigtimedwait(set: *sigset, info: nullable *siginfo, timeout: nullable *timespec) (int | errno);
fn sigwait
Show undocumented member
fn sigwait(set: *sigset, sig: *int) (void | errno);
fn sigwaitinfo
Show undocumented member
fn sigwaitinfo(set: *sigset, info: nullable *siginfo) (int | errno);
fn socket
Show undocumented member
fn socket(domain: int, type_: int, protocol: int) (int | errno);
fn socketpair
Show undocumented member
fn socketpair(domain: int, type_: int, protocol: int, sv: *[2]int) (int | errno);
fn splice
Show undocumented member
fn splice(fd_in: int, off_in: nullable *u64, fd_out: int, off_out: nullable *u64, ln: size, flags: uint) (size | errno);
fn start_ha
Show undocumented member
fn start_ha() never;
fn start_linux
Show undocumented member
fn start_linux(iv: *[*]uintptr) never;
fn stat
Show undocumented member
fn stat(path: path, statbuf: *st) (errno | void);
fn strcmp
Show undocumented member
fn strcmp(_a: str, _b: str) bool;
fn symlinkat
Show undocumented member
fn symlinkat(target: path, newdirfd: int, linkpath: path) (void | errno);
fn sync
Show undocumented member
fn sync() void;
fn syscall
Show undocumented member
fn syscall(num: u64, args: u64...) u64;
fn tee
Show undocumented member
fn tee(fd_in: int, fd_out: int, ln: size, flags: uint) (size | errno);
fn timerfd_create
Show undocumented member
fn timerfd_create(clock_id: int, flags: int) (int | errno);
fn timerfd_gettime
Show undocumented member
fn timerfd_gettime(fd: int, curr_value: *itimerspec) (int | errno);
fn timerfd_settime
Show undocumented member
fn timerfd_settime(fd: int, flags: int, new_value: *const itimerspec, old_value: nullable *itimerspec) (int | errno);
fn umask
Show undocumented member
fn umask(mode: mode_t) (mode_t | errno);
fn umount2
Show undocumented member
fn umount2(target: path, flags: int) (void | errno);
fn uname
Show undocumented member
fn uname(uts: *utsname) (void | errno);
fn unensure
Show undocumented member
fn unensure(s: *slice, membsz: size) void;
fn unlink
Show undocumented member
fn unlink(path: path) (void | errno);
fn unlinkat
Show undocumented member
fn unlinkat(dirfd: int, path: path, flags: int) (void | errno);
fn utimensat
Show undocumented member
fn utimensat(dirfd: int, path: str, ts: *[2]timespec, flags: int) (void | errno);
fn wait4
Show undocumented member
fn wait4(pid: pid_t, wstatus: nullable *int, options: int, rusage: nullable *rusage) (pid_t | errno);
fn wcoredump
Show undocumented member
fn wcoredump(s: int) int;
fn wexitstatus
Show undocumented member
fn wexitstatus(s: int) int;
fn wifcontinued
Show undocumented member
fn wifcontinued(s: int) bool;
fn wifexited
Show undocumented member
fn wifexited(s: int) bool;
fn wifsignaled
Show undocumented member
fn wifsignaled(s: int) bool;
fn wifstopped
Show undocumented member
fn wifstopped(s: int) bool;
fn write
Show undocumented member
fn write(fd: int, buf: *const opaque, count: size) (size | errno);
fn writev
Show undocumented member
fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno);
fn wstopsig
Show undocumented member
fn wstopsig(s: int) int;
fn wtermsig
Show undocumented member
fn wtermsig(s: int) int;