Initializes the terminal-type data and all screen functions. You must call initscr before using any of the curses functions. Format #include <curses.h> void initscr (void);
1 – Description
The OpenVMS Curses version of the initscr function clears the screen before doing the initialization. The BSD-based Curses version does not.