This module provides an interface to the Posix calls for tty I/O control. For a complete description of these calls, see the Posix or manual pages. It is only available for those versions that support Posix termios style tty I/O control (and then only if configured at installation time).
All functions in this module take a file descriptor fd as their first argument. This must be an integer file descriptor, such as returned by sys.stdin.fileno().
This module should be used in conjunction with the TERMIOS module, which defines the relevant symbolic constants (see the next section).
The module defines the following functions: