truncate

Function truncate 

Source
pub fn truncate(fd: Ri, len: usize) -> Result<(), ErrorStatus>
Expand description

Truncates the file with the resource id fd to len bytes