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