Searched refs:drop_fd (Results 1 – 2 of 2) sorted by relevance
54 let r: Result<(), SystemError> = current_pcb().drop_fd(fd); in sys_close()400 if let Err(_) = current_pcb().drop_fd(newfd) { in do_dup2()
258 pub fn drop_fd(&self, fd: i32) -> Result<(), SystemError> { in drop_fd() method