Function send_zc_fixed [src]
Queues (but does not submit) an SQE to perform an async zerocopy send(2).
Returns a pointer to the SQE.
Available since 6.0
Prototype
pub fn send_zc_fixed( self: *IoUring, user_data: u64, fd: posix.fd_t, buffer: []const u8, send_flags: u32, zc_flags: u16, buf_index: u16, ) !*linux.io_uring_sqe
Parameters
self: *IoUring
user_data: u64
fd: posix.fd_t
buffer: []const u8
send_flags: u32
zc_flags: u16
buf_index: u16
Source
pub fn send_zc_fixed(
self: *IoUring,
user_data: u64,
fd: posix.fd_t,
buffer: []const u8,
send_flags: u32,
zc_flags: u16,
buf_index: u16,
) !*linux.io_uring_sqe {
const sqe = try self.get_sqe();
sqe.prep_send_zc_fixed(fd, buffer, send_flags, zc_flags, buf_index);
sqe.user_data = user_data;
return sqe;
}