Module rustix::termios

source ·
Expand description

Terminal I/O stream operations.

Enums

Constants

Functions

  • cfgetispeed(termios)
  • cfgetospeed(termios)
  • cfmakeraw(termios)
  • cfsetispeed(termios, speed)
  • cfsetospeed(termios, speed)
  • cfsetspeed(termios, speed)
  • isatty(fd)—Tests whether a file descriptor refers to a terminal.
  • Translate from a Speed code to a speed value u32.
  • tcdrain(fd, duration)—Wait until all pending output has been written.
  • tcflow(fd, action)—Suspend or resume transmission or reception.
  • tcflush(fd, queue_selector)—Wait until all pending output has been written.
  • tcgetattr(fd)—Get terminal attributes.
  • tcgetpgrp(fd)—Get the terminal foreground process group.
  • tcgetsid(fd)—Return the session ID of the current session with fd as its controlling terminal.
  • tcgetwinsize(fd)—Get the current terminal window size.
  • tcsendbreak(fd, 0)—Transmit zero-valued bits.
  • tcsetattr(fd)—Set terminal attributes.
  • tcsetpgrp(fd, pid)—Set the terminal foreground process group.
  • tcsetwinsize(fd)—Set the current terminal window size.

Type Definitions