Function ctru_sys::FSFILE_Write

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

Writes to a file.


  • handle - Handle of the file.
  • 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.