Expand description
For interacting with tty devices.
Structs§
- PtyController
Device - A marker type for
super::File
objects that represent pseudoterminal controllers, as are typically opened from/dev/ptmx
. - TtyDevice
- A marker type for
super::File
objects that represent tty devices. - Window
Size - Represents the size of the window (or equivalent) that a tty is presented through.
Constants§
- TIOCGPTN
ioctl
request for finding the device unit number for a pseudoterminal. Use this with aPtyControllerDevice
to determine which node to open from the/dev/pts
directory.- TIOCGWINSZ
ioctl
request for retrieving the current window size of a tty.- TIOCSPTLCK
ioctl
request for setting or removing the lock on the terminal device associated with aPtyControllerDevice
.- TIOCSWINSZ
ioctl
request for changing the window size of a tty.