restartterm(3cur)
Name
restartterm − restart terminal for curses application
Syntax
restartterm(term, filenum, errret)
char *term;
int filenum;
int *errret;
Description
This function sets up the current terminal term after a save/restore of a curses application program. restartterm assumes that the windows and modes are the same for the restarted application as when memory was saved. It assumes that the terminal type and dependent settings, such as baudrate, may have changed. The routine setupterm is called to extract the terminal information from the terminfo database and set up the terminal.