pub fn fd_install(gfd: i32, host_fd: RawFd) -> bool
Installs host_fd into a specific guest FD slot (for dup2).
host_fd
dup2
Closes any previous host mapping at gfd (except stdio 0–2 identity). Returns false if gfd is out of range.
gfd
false