Skip to main content

fs_create_file

Function fs_create_file 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn fs_create_file( handle: *mut FsHandle, name: *const c_char, ) -> i32
Expand description

Create a file at the given path.

Parent directories must already exist. The name argument may be a /-separated path such as "a/b/file.txt".

ยงSafety

name must be a valid null-terminated C string.