Home
last modified time | relevance | path

Searched refs:ftruncate (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs228 file.ftruncate(0)?; in do_sys_openat2()
H A Dfile.rs569 pub fn ftruncate(&self, len: usize) -> Result<(), SystemError> { in ftruncate() method
H A Dsyscall.rs1274 pub fn ftruncate(fd: i32, len: usize) -> Result<usize, SystemError> { in ftruncate() method
1281 let r = file.ftruncate(len).map(|_| 0); in ftruncate()
/DragonOS/kernel/src/syscall/
H A Dmod.rs680 let res = Self::ftruncate(fd, len); in handle()