arceos_api::fs

Function ax_seek_file

Source
pub fn ax_seek_file(file: &mut AxFileHandle, pos: AxSeekFrom) -> AxResult<u64>
Available on crate feature fs only.
Expand description

Sets the cursor of the file to the specified offset. Returns the new position after the seek.