Places the most recently edited version of the specified window
on the terminal screen.
Format
#include <curses.h>
int touchwin (WINDOW *win);
1 – Argument
win
A pointer to the window.
2 – Description
The touchwin function is normally used only to refresh
overlapping windows.
3 – Return Values
OK Indicates success.
ERR Indicates an error.