[][src]Function nc::ftruncate

pub fn ftruncate(fd: i32, length: off_t) -> Result<(), Errno>

Truncate an opened file to a specified length.