[−][src]Function nix::unistd::truncate
pub fn truncate<P: ?Sized + NixPath>(path: &P, len: off_t) -> Result<()>
Truncate a file to a specified length
See also truncate(2)
pub fn truncate<P: ?Sized + NixPath>(path: &P, len: off_t) -> Result<()>
Truncate a file to a specified length
See also truncate(2)