Function libc::ftruncate [] [src]

pub fn ftruncate(fd: usize, len: usize) -> Result<usize, Error>

Truncate or extend a file to a specified length