getattr $termios->getattr([fd]) Gets terminal control attributes for a given fd (default is 0 for STDIN); returns undef on failure.