1dupwin(3XCURSES) X/Open Curses Library Functions dupwin(3XCURSES)
2
3
4
6 dupwin - duplicate a window
7
9 cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
10 -R /usr/xpg4/lib -lcurses [ library... ]
11
12 c89 [ flag... ] file... -lcurses [ library... ]
13
14 #include <curses.h>
15
16 WINDOW *dupwin(WINDOW *win);
17
18
20 The dupwin() function creates a duplicate of window win. A pointer to
21 the new window structure is returned.
22
24 win Is a pointer to the window that is to be duplicated.
25
26
28 On success, this function returns a pointer to new window structure;
29 otherwise, it returns a null pointer.
30
32 None.
33
35 See attributes(5) for descriptions of the following attributes:
36
37
38
39
40 ┌─────────────────────────────┬─────────────────────────────┐
41 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
42 ├─────────────────────────────┼─────────────────────────────┤
43 │Interface Stability │Standard │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │MT-Level │Unsafe │
46 └─────────────────────────────┴─────────────────────────────┘
47
49 delwin(3XCURSES), derwin(3XCURSES), libcurses(3XCURSES), attributes(5),
50 standards(5)
51
52
53
54SunOS 5.11 5 Jun 2002 dupwin(3XCURSES)