restartterm(3) — Subroutines
NAME
restartterm − Restarts the terminal for a curses application
SYNOPSIS
#include <curses.h>
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. The restartterm function 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.