Skip to main content

nova_rt_fs_write

Function nova_rt_fs_write 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn nova_rt_fs_write( path: *const NovaStr, content: *const NovaStr, ) -> i64
Expand description

Write content’s bytes to path, truncating an existing file.

§Safety

Both arguments must point to live NovaStrs.