Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ take_stdout
Function
take_stdout
src/stdio.rs:268–270 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
266
#[doc(alias =
"STDOUT_FILENO"
)]
267
#[inline]
268
pub unsafe fn take_stdout() -> OwnedFd {
269
backend::fd::OwnedFd::from_raw_fd(c::STDOUT_FILENO as RawFd)
270
}
271
272
/// `STDERR_FILENO`—Standard error, borrowed.
273
///
Callers
1
dup2_stdout
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected