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