#[repr(u32)]
pub enum TeletypeCommand {
Show 17 variants
TCGETS,
TCSETS,
TCSETSW,
TCSETSF,
TCGETA,
TCSETA,
TCSETAW,
TCSETAF,
TIOCGPGRP,
TIOCSPGRP,
TIOCGWINSZ,
TIOCSWINSZ,
FIONCLEX,
FIOCLEX,
FIONBIO,
RTC_RD_TIME,
ILLEAGAL,
}
Variants
TCGETS
Gets the current serial port settings.
TCSETS
Sets the serial port settings immediately.
TCSETSW
Sets the serial port settings after allowing the input and output buffers to drain/empty.
TCSETSF
Sets the serial port settings after flushing the input and output buffers.
TCGETA
For struct termio Gets the current serial port settings.
TCSETA
Sets the serial port settings immediately.
TCSETAW
Sets the serial port settings after allowing the input and output buffers to drain/empty.
TCSETAF
Sets the serial port settings after flushing the input and output buffers.
TIOCGPGRP
Get the process group ID of the foreground process group on this terminal.
TIOCSPGRP
Set the foreground process group ID of this terminal.
TIOCGWINSZ
Get window size.
TIOCSWINSZ
Set window size.
FIONCLEX
Non-cloexec
FIOCLEX
Cloexec
FIONBIO
rustc using pipe and ioctl pipe file with this request id for non-blocking/blocking IO control setting
RTC_RD_TIME
Read time