Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs196 return current_pcb().drop_fd(fd as i32).map(|_| 0); in close()
425 if let Err(_) = current_pcb().drop_fd(newfd) { in dup2()
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs260 pub fn drop_fd(&self, fd: i32) -> Result<(), SystemError> { in drop_fd() method