Method lrs::file::File::seek

Changes the read/write position of the file.

Syntax

impl File {
    fn seek(&self, pos: Seek) -> Result<i64, Errno>
}

Arguments

NameDescription
pos

The seek operation to be performed.

Return value

Returns the new position in the file.

See also