prep_send
Function parameters
Parameters
- sqe:*linux.io_uring_sqe
- fd:linux.fd_t
- buffer:[]const u8
- flags:u32
Type definitions in this namespace
Types
Source
Implementation
pub fn prep_send(sqe: *linux.io_uring_sqe, fd: linux.fd_t, buffer: []const u8, flags: u32) void {
sqe.prep_rw(.SEND, fd, @intFromPtr(buffer.ptr), buffer.len, 0);
sqe.rw_flags = flags;
}