resetty, savetty — save/restore terminal mode
function restores the program mode as of the most recent call to
function saves the state that would be put in place by a call to
Upon successful completion, these functions return OK. Otherwise, they return
No errors are defined.
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.
The argument list for the
functions is explicitly declared as void.