Function ctru_sys::FSPXI_WriteFile

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

Writes to a file.

§Arguments

  • file - File to write to.
  • bytesWritten - Pointer to output the number of bytes written to.
  • offset - Offset to write to.
  • buffer - Buffer to write from.
  • size - Size of the buffer.
  • flags - Flags to use when writing.