#[no_mangle]
pub unsafe extern "C" fn nstd_fs_create_dir(
    name: &NSTDStr
) -> NSTDIOError
Available on crate feature nstd_fs only.
Expand description

Creates a new directory on the file system.

Parameters:

  • const NSTDStr *name - The name of the new directory.

Returns

NSTDIOError errc - The I/O operation error code.

Safety

This operation can cause undefined behavior if name’s data is invalid.