Function posix::unistd::truncate [-] [+] [src]

pub fn truncate<T: NTStr>(file: &T, length: off_t) -> int_t