Function otter_api_tests::unistd::truncate[]

pub fn truncate<P>(path: &P, len: i64) -> Result<(), Error> where
    P: NixPath + ?Sized
Expand description

Truncate a file to a specified length

See also truncate(2)