pub fn pwritev(fd: fd_t, iov: [*]const iovec_const, count: usize, offset: off_t) usize
fd: fd_t
iov: [*]const iovec_const
count: usize
offset: off_t
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555
pub fn pwritev(fd: fd_t, iov: [*]const iovec_const, count: usize, offset: off_t) usize { const offset_u: u64 = @bitCast(offset); return syscall5( .pwritev, @as(u32, @bitCast(fd)), @intFromPtr(iov), count, // See comments in preadv @truncate(offset_u), if (@sizeOf(syscall_arg_t) < @sizeOf(u64)) @truncate(offset_u >> 32) else 0, ); }