pub type retro_vfs_truncate_t = Option<unsafe extern "C" fn(stream: *mut retro_vfs_file_handle, length: i64) -> i64>;Expand description
Truncate file to specified size. Returns 0 on success or -1 on error Introduced in VFS API v2
Aliased Type§
pub enum retro_vfs_truncate_t {
None,
Some(unsafe extern "C" fn(*mut retro_vfs_file_handle, i64) -> i64),
}