Function lrs::syscall::preadv

Reads from an offset in a file descriptor into multiple buffers.

Syntax

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

Arguments

NameDescription
fd

The affected file descriptor.

bufs

The buffers to read into.

offset

The offset from which to read.

Return value

Returns the number of bytes read or an error value.

See also