Searched refs:new_fd (Results 1 – 3 of 3) sorted by relevance
12 int new_fd = 777; in main() local13 int rt = dup3(fd, new_fd, O_CLOEXEC); in main()19 int bytes_read = read(new_fd, buffer, sizeof(buffer)); in main()28 close(new_fd); in main()
722 if let Some(new_fd) = fd { in alloc_fd()723 let x = &mut self.fds[new_fd as usize]; in alloc_fd()726 return Ok(new_fd); in alloc_fd()
425 let new_fd = ProcessManager::current_pcb() in do_accept() localVariable438 return Ok(new_fd as usize); in do_accept()