pub type retro_vfs_close_t = Option<unsafe extern "C" fn(stream: *mut retro_vfs_file_handle) -> c_int>;Expand description
Close the file and release its resources. Must be called if open_file returns non-NULL. Returns 0 on success, -1 on failure. Whether the call succeeds ot not, the handle passed as parameter becomes invalid and should no longer be used. Introduced in VFS API v1
Aliased Type§
pub enum retro_vfs_close_t {
None,
Some(unsafe extern "C" fn(*mut retro_vfs_file_handle) -> i32),
}