fn pwritevAll(self: File, iovecs: []os.iovec_const, offset: u64) PWriteError!void

The iovecs parameter is mutable because this function needs to mutate the fields in order to handle partial writes from the underlying OS layer. See https://github.com/ziglang/zig/issues/7699 On Windows, this function currently does alter the file pointer. https://github.com/ziglang/zig/issues/12783

Parameters

self: File,
iovecs: []os.iovec_const,
offset: u64,