syscall::call

Function ftruncate

source
pub fn ftruncate(fd: usize, len: usize) -> Result<usize>
Expand description

Truncate or extend a file to a specified length