riot_sys

Function vfs_mount_by_path

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

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

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

@warning If the @ref pseudomodule_vfs_auto_format is used a format attempt will be made if the mount fails.

@param[in] path Path of the pre-configured mount point

@return 0 on success @return <0 on error