HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
r
resetty(3X) resetty(3X)
(CURSES)
NAME
resetty, savetty — save/restore terminal mode
SYNOPSIS
#include <curses.h>
int resetty(void);
int savetty(void);
DESCRIPTION
The resetty() function restores the program mode as of the most recent call to savetty().
The savetty() function saves the state that would be put in place by a call to reset_prog_mode().
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they return ERR.
ERRORS
No errors are defined.
SEE ALSO
def_prog_mode(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity. The argument list for the resetty() and savetty() functions is
explicitly declared as void.
Section 3766 1 HP-UX Release 11i: December 2000
___
___