Available on crate feature
termios
only.Expand description
Terminal I/O stream operations.
This API automatically supports setting arbitrary I/O speeds, on any platform that supports them, including Linux and the BSDs.
The [speed
] module contains various predefined speed constants which
are more likely to be portable, however any u32
value can be passed to
[Termios::set_input_speed
], and it will simply fail if the speed is not
supported by the platform.
Functions§
isatty(fd)
—Tests whether a file descriptor refers to a terminal.