Function ctru_sys::FSUSER_OpenFileDirectly
source · pub unsafe extern "C" fn FSUSER_OpenFileDirectly(
out: *mut Handle,
archiveId: FS_ArchiveID,
archivePath: FS_Path,
filePath: FS_Path,
openFlags: u32_,
attributes: u32_
) -> Result
Expand description
Opens a file directly, bypassing the requirement of an opened archive handle.
§Arguments
out
- Pointer to output the file handle to.archiveId
- ID of the archive containing the file.archivePath
- Path of the archive containing the file.filePath
- Path of the file.openFlags
- Flags to open the file with.attributes
- Attributes of the file.