nc
pub fn truncate(filename: &str, length: off_t) -> Result<(), Errno>
Truncate a file to a specified length.