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.
None.
See attributes(7) for descriptions of the following attributes:
|
delwin(3XCURSES), derwin(3XCURSES), libcurses(3XCURSES), attributes(7), standards(7)