Sign in
rust
/
rust
/
HEAD
/
.
/
library
/
std
/
src
/
sys
/
io
/
is_terminal
/
motor.rs
blob: 0b70299adaaa2107e3d77dbe175e12be11cbe1cb [
file
]
use
crate
::
os
::
fd
::{
AsFd
,
AsRawFd
};
pub
fn
is_terminal
(
fd
:
&
impl
AsFd
)
->
bool
{
let
fd
=
fd
.
as_fd
();
moto_rt
::
fs
::
is_terminal
(
fd
.
as_raw_fd
())
}