Function ftruncate
fn ftruncate<Fd: std::os::fd::AsFd>(fd: Fd, len: off_t) -> Result<()>
Truncate a file to a specified length
See also ftruncate(2)
ftruncatefn ftruncate<Fd: std::os::fd::AsFd>(fd: Fd, len: off_t) -> Result<()>
Truncate a file to a specified length
See also ftruncate(2)