retro_vfs_stat_t

Type Alias retro_vfs_stat_t 

Source
pub type retro_vfs_stat_t = Option<unsafe extern "C" fn(path: *const c_char, size: *mut i32) -> c_int>;
Expand description

Stat the specified file. Retruns a bitmask of RETRO_VFS_STAT_* flags, none are set if path was not valid. Additionally stores file size in given variable, unless NULL is given. Introduced in VFS API v3

Aliased Type§

pub enum retro_vfs_stat_t {
    None,
    Some(unsafe extern "C" fn(*const i8, *mut i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *mut i32) -> i32)

Some value of type T.