Module rustix::pty

source ·
Available on crate feature pty only.
Expand description

Pseudoterminal operations.

For the openpty and login_tty functions, see the rustix-openpty crate.

Structs§

Functions§

  • grantpt(fd)—Grant access to the user side of a pseudoterminal.
  • ioctl(fd, TIOCGPTPEER)—Open the user side of a pseduoterminal.
  • posix_openpt(flags)—Open a pseudoterminal device.
  • ptsname(fd)—Return the name of a pseudoterminal.
  • unlockpt(fd)—Unlock a pseudoterminal.