Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function

get_probe

Public Function
std.os.linux.IoUring.get_probe
pub fn get_probe(self: *IoUring) !linux.io_uring_probe

Returns a io_uring_probe which is used to probe the capabilities of the io_uring subsystem of the running kernel. The io_uring_probe contains the list of supported operations.

Params

File

os/linux/IoUring.zig:1318
1318
1319
1320
1321
1322
1323
pub fn get_probe(self: *IoUring) !linux.io_uring_probe {
    var probe = std.mem.zeroInit(linux.io_uring_probe, .{});
    const res = linux.io_uring_register(self.fd, .REGISTER_PROBE, &probe, probe.ops.len);
    try handle_register_buf_ring_result(res);
    return probe;
}