resetty(3cur)
Name
resetty, savetty − restore/save terminal modes
Syntax
int resetty()
int savetty()
Description
The savetty routine saves the current state of the terminal modes in a buffer. The routine resetty restores the state of the terminal modes to what it was at the last call to savetty.
Return Values
The resetty and savetty functions return OK on success and ERR on error.