dupwin(3curses)


dupwin -- duplicate a window

Synopsis

cc [options] file -lcurses
#include <curses.h>

WINDOW *dupwin(WINDOW *win);

Description

The dupwin(3curses) function creates a duplicate of the window win.

Return value

Upon successful completion, dupwin(3curses) returns a pointer to the new window. Otherwise, it returns a null pointer.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

derwin(3curses), doupdate(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004