Function lrs::syscall::pwritev

Writes to an offset in a file descriptor from multiple buffers.

Syntax

fn pwritev(fd: i32, bufs: &[&[u8]], offset: i64) -> i64

Arguments

NameDescription
fd

The affected file descriptor.

bufs

The buffers to write.

offset

The offset at which to write.

Return value

Returns the number of bytes written or an error value.

See also