Function storage_file_truncate
Source pub unsafe extern "C" fn storage_file_truncate(
file: *mut File,
) -> bool
Expand description
Truncate the file size to the current access position.
§Arguments
file - pointer to the file instance to be truncated.
§Returns
true if the file was successfully truncated, false otherwise.