DUPWIN(3XCURSES) X/Open Curses Library Functions DUPWIN(3XCURSES)

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.

win

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:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard
MT-Level Unsafe

delwin(3XCURSES), derwin(3XCURSES), libcurses(3XCURSES), attributes(7), standards(7)

June 5, 2002 OmniOS