Function rustix::io::stderr

source ·
pub const fn stderr() -> BorrowedFd<'static>
Expand description

STDERR_FILENO—Standard error, borrowed.

In std-using configurations, this is a safe function, because the standard library already assumes that the stderr file descriptor is always valid. In no_std configurations, it is unsafe.

References