resetty(3X) resetty(3X)
NAME
resetty, savetty - save/restore terminal mode
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#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 resetprogmode().
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they
return ERR.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), defprogmode(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98