riot_sys

Function vfs_unmount_by_path

Source
pub unsafe extern "C" fn vfs_unmount_by_path(
    path: *const c_char,
    force: bool,
) -> c_int
Expand description

@brief Unmount a file system with a pre-configured mount path

@note This assumes mount points have been configured with @ref VFS_AUTO_MOUNT.

@param[in] path Path of the pre-configured mount point @param[in] force Unmount the filesystem even if there are still open files

@return 0 on success @return <0 on error