[][src]Function nc::truncate

pub fn truncate(filename: &str, length: off_t) -> Result<(), Errno>

Truncate a file to a specified length.