pub fn truncate(fd: Ri, len: usize) -> Result<(), ErrorStatus>
Truncates the file with the resource id fd to len bytes
fd
len