dupwin - duplicate a window
#include <curses.h> WINDOW *dupwin(WINDOW *win);
The dupwin() function creates a duplicate of the window win.
Upon successful completion, dupwin() returns a pointer to the new window. Otherwise, it returns a null pointer.
No errors are defined.
derwin(), doupdate(), <curses.h>.