fn replace_stdio_fd(this: BorrowedFd<'_>, other: OwnedFd) -> Result<()>Available on non-Hermit and not ((Fortanix and SGX, or WebAssembly and non-WASI)) and (Unix) only.
Expand description
Replaces the underlying file descriptor with the one from other.
Does not set CLOEXEC.