pub unsafe extern "C" fn vfs_iterate_mounts(
cur: *const vfs_mount_t,
) -> *const vfs_mount_t
Expand description
@brief Iterate through all mounted file systems
@attention Not thread safe! Do not mix calls to this function with other calls which modify the mount table, such as vfs_mount() and vfs_umount()
Set @p cur to @c NULL to start from the beginning
@deprecated This will become an internal-only function after the 2022.04 release, use @ref vfs_iterate_mount_dirs instead.
@param[in] cur current iterator value
@return Pointer to next mounted file system in list after @p cur @return NULL if @p cur is the last element in the list