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

Removes a directory from the file system.

Parameters:

  • const NSTDStr *name - The name of the directory to delete.

Returns

NSTDIOError errc - The I/O operation error code.

Safety

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