Skip to main content

sys_truncate

Function sys_truncate 

Source
pub fn sys_truncate(
    path_ptr: u64,
    path_len: u64,
    length: u64,
) -> Result<u64, SyscallError>
Expand description

SYS_TRUNCATE (454): Truncate file to given length.