Home
last modified time | relevance | path

Searched refs:drop_fd (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dsyscall.rs54 let r: Result<(), SystemError> = current_pcb().drop_fd(fd); in sys_close()
400 if let Err(_) = current_pcb().drop_fd(newfd) { in do_dup2()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.rs258 pub fn drop_fd(&self, fd: i32) -> Result<(), SystemError> { in drop_fd() method