devela::_dep::rustix::stdio

Function stderr

pub const fn stderr() -> BorrowedFd<'static>
Available on crate feature dep_rustix only.
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