Skip to main content

truncate

Function truncate 

Source
pub fn truncate(path: &str, length: u64) -> Result<(), SyscallError>
Expand description

Truncate a file by path.