retro_vfs_mkdir_t

Type Alias retro_vfs_mkdir_t 

Source
pub type retro_vfs_mkdir_t = Option<unsafe extern "C" fn(dir: *const c_char) -> c_int>;
Expand description

Create the specified directory. Returns 0 on success, -1 on unknown failure, -2 if already exists. Introduced in VFS API v3

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.