Function arceos_api::fs::ax_truncate_file
source · pub fn ax_truncate_file(file: &AxFileHandle, size: u64) -> AxResult
Available on crate feature
fs
only.Expand description
Truncates the file to the specified size.