[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


savetty Subroutine

Purpose

Saves the state of the tty modes.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
savetty( )

Description

The savetty subroutine saves the current state of the tty modes in a buffer. It saves the current state in a buffer that the resetty subroutine then reads to reset the tty state.

The savetty subroutine is called by the initscr subroutine and normally should not be called directly by the program.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The initscr (initscr and newterm Subroutine) subroutine, resetty (resetty, savetty Subroutine) subroutine.

Curses Overview for Programming, List of Curses Subroutines, Understanding Terminals with Curses in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]