Skip to main content

Module termios

Module termios 

Source
Expand description

Re-exports§

pub use crate::header::bits_winsize::winsize;
pub use self::sys::*;

Modules§

sys

Structs§

termios
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/termios.h.html.

Constants§

TCIFLUSH
Flush pending input.
TCIOFF
Transmit a STOP character, intended to suspend input data.
TCIOFLUSH
Flush bot pending input and untransmitted output.
TCION
Transmit a START character, intended to restart input data.
TCOFLUSH
Flush untransmitted output.
TCOOFF
Suspend output.
TCOON
Restart output.
TCSADRAIN
Change attributes when output has drained.
TCSAFLUSH
Change attributes when output has drained; also flush pending input.
TCSANOW
Change attributes immediately.

Functions§

cfgetispeed
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/cfgetispeed.html.
cfgetospeed
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/cfgetospeed.html.
cfmakeraw
Non-POSIX, BSD extension
cfsetispeed
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/cfsetispeed.html.
cfsetospeed
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/cfsetospeed.html.
cfsetspeed
Non-POSIX, 4.4 BSD extension
tcdrain
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcdrain.html.
tcflow
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcflow.html.
tcflush
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcflush.html.
tcgetattr
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcgetattr.html.
tcgetsid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcgetsid.html.
tcgetwinsize
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcgetwinsize.html.
tcsendbreak
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcsendbreak.html.
tcsetattr
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcsetattr.html.
tcsetwinsize
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcsetwinsize.html.

Type Aliases§

cc_t
Used for terminal special characters.
speed_t
Used for terminal baud rates.
tcflag_t
Used for terminal modes.