retro_vfs_seek_t

Type Alias retro_vfs_seek_t 

Source
pub type retro_vfs_seek_t = Option<unsafe extern "C" fn(stream: *mut retro_vfs_file_handle, offset: i64, seek_position: c_int) -> i64>;
Expand description

Set the current read/write position for the file. Returns the new position, -1 for error. Introduced in VFS API v1

Aliased Type§

pub enum retro_vfs_seek_t {
    None,
    Some(unsafe extern "C" fn(*mut retro_vfs_file_handle, i64, i32) -> i64),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut retro_vfs_file_handle, i64, i32) -> i64)

Some value of type T.