pub unsafe extern "C" fn vfs_format(mountp: *mut vfs_mount_t) -> c_int
Expand description
@brief Format a file system
@p mountp should have been populated in advance with a file system driver, a mount point, and private_data (if the file system driver uses one).
@pre @p mountp must not be mounted
@param[in] mountp pointer to the mount structure of the filesystem to format
@return 0 on success @return <0 on error