Function get_probe [src]
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.
Prototype
pub fn get_probe(self: *IoUring) !linux.io_uring_probe
Parameters
self: *IoUring
Source
pub fn get_probe(self: *IoUring) !linux.io_uring_probe {
var probe = 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;
}