riot_sys

Function vfs_umount

Source
pub unsafe extern "C" fn vfs_umount(
    mountp: *mut vfs_mount_t,
    force: bool,
) -> c_int
Expand description

@brief Unmount a mounted file system

This will fail if there are any open files or directories on the mounted file system

@param[in] mountp pointer to the mount structure of the file system to unmount @param[in] force Unmount the filesystem even if there are still open files

@return 0 on success @return <0 on error