Skip to main content

fs_write_file

Function fs_write_file 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn fs_write_file( handle: *mut FsHandle, name: *const c_char, offset: u64, data: *const u8, data_len: usize, ) -> i32
Expand description

Write data to a file at the given path.

ยงSafety

  • name must be a valid null-terminated C string (may contain / separators).
  • data must point to data_len valid bytes.