Function esp_idf_sys::esp_vfs_fat_info
source · pub unsafe extern "C" fn esp_vfs_fat_info(
base_path: *const c_char,
out_total_bytes: *mut u64,
out_free_bytes: *mut u64,
) -> esp_err_t
Expand description
@brief Get information for FATFS partition
@param base_path Base path of the partition examined (e.g. “/spiflash”) @param[out] out_total_bytes Size of the file system @param[out] out_free_bytes Free bytes available in the file system @return - ESP_OK on success - ESP_ERR_INVALID_STATE if partition not found - ESP_FAIL if another FRESULT error (saved in errno)