dupwin - duplicate a window
cc [ flag... ] file... –I /usr/xpg4/include –L /usr/xpg4/lib \ –R /usr/xpg4/lib –lcurses [ library... ] c89 [ flag... ] file... –lcurses [ library... ] #include <curses.h> WINDOW *dupwin(WINDOW *win);
The dupwin() function creates a duplicate of window win. A pointer to the new window structure is returned.
Is a pointer to the window that is to be duplicated.
On success, this function returns a pointer to new window structure; otherwise, it returns a null pointer.
See attributes(7) for descriptions of the following attributes: