Function nix::unistd::ftruncate[][src]

pub fn ftruncate(fd: RawFd, len: off64_t) -> Result<()>

Truncate a file to a specified length

See also ftruncate(2)