Function ctru_sys::FSPXI_ReadFile

source ·
pub unsafe extern "C" fn FSPXI_ReadFile(
    serviceHandle: Handle,
    file: FSPXI_File,
    bytesRead: *mut u32_,
    offset: u64_,
    buffer: *mut c_void,
    size: u32_
) -> Result
Expand description

Reads from a file.


  • file - File to read from.
  • bytesRead - Pointer to output the number of read bytes to.
  • offset - Offset to read from.
  • buffer - Buffer to read to.
  • size - Size of the buffer.