Programming Search⌘K

std.os.linux.IoUring

The entries of std.os.linux.IoUring in the Zig reference. This page has 102 cards.

std.os.linux.IoUring.buf_ring_add

pub fn buf_ring_add(br: *linux.io_uring_buf_ring, buffer: []u8, buffer_id: u16, mask: u16, buffer_offset: u16) void

Assigns `buffer` with the `br` buffer ring. `buffer_id` is identifier which will be returned in the CQE. `buffer_offset` is the offset to insert at from the current tail.

Kind
function
Module
std.os.linux.IoUring

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.os.linux.IoUring.getsockopt

pub fn getsockopt(self: *IoUring, user_data: u64, fd: linux.fd_t, level: u32, optname: u32, opt: []u8) !*linux.io_uring_sqe

Prepares get socket option to retrieve the value for the option specified by the option_name argument for the socket specified by the fd argument.

Kind
function
Module
std.os.linux.IoUring

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.os.linux.IoUring.read_fixed

pub fn read_fixed(self: *IoUring, user_data: u64, fd: linux.fd_t, buffer: *posix.iovec, offset: u64, buffer_index: u16) !*linux.io_uring_sqe

Queues (but does not submit) an SQE to perform a IORING_OP_READ_FIXED. The `buffer` provided must be registered with the kernel by calling `register_buffers` first.

Kind
function
Module
std.os.linux.IoUring

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.os.linux.IoUring.splice

pub fn splice(self: *IoUring, user_data: u64, fd_in: linux.fd_t, off_in: u64, fd_out: linux.fd_t, off_out: u64, len: usize) !*linux.io_uring_sqe

Queues (but does not submit) an SQE to perform a `splice(2)` Either `fd_in` or `fd_out` must be a pipe.

Kind
function
Module
std.os.linux.IoUring

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.os.linux.IoUring.write_fixed

pub fn write_fixed(self: *IoUring, user_data: u64, fd: linux.fd_t, buffer: *posix.iovec, offset: u64, buffer_index: u16) !*linux.io_uring_sqe

Queues (but does not submit) an SQE to perform a IORING_OP_WRITE_FIXED. The `buffer` provided must be registered with the kernel by calling `register_buffers` first.

Kind
function
Module
std.os.linux.IoUring

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.