1delwin(3XCURSES)        X/Open Curses Library Functions       delwin(3XCURSES)
2
3
4

NAME

6       delwin - delete a window
7

SYNOPSIS

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       int delwin(WINDOW *win);
17
18

DESCRIPTION

20       The delwin() function deletes the specified window, freeing up the mem‐
21       ory associated with it.
22
23
24       Deleting a parent window without deleting its subwindows and then  try‐
25       ing to  manipulate the subwindows will have undefined results.
26

PARAMETERS

28       win    Is a pointer to the window that is to be deleted.
29
30

RETURN VALUES

32       On success, this functions returns OK. Otherwise, it returns ERR.
33

ERRORS

35       None.
36

ATTRIBUTES

38       See attributes(5) for descriptions of the following attributes:
39
40
41
42
43       ┌─────────────────────────────┬─────────────────────────────┐
44       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
45       ├─────────────────────────────┼─────────────────────────────┤
46       │Interface Stability          │Standard                     │
47       ├─────────────────────────────┼─────────────────────────────┤
48       │MT-Level                     │Unsafe                       │
49       └─────────────────────────────┴─────────────────────────────┘
50

SEE ALSO

52       derwin(3XCURSES), dupwin(3XCURSES), libcurses(3XCURSES), attributes(5),
53       standards(5)
54
55
56
57SunOS 5.11                        5 Jun 2002                  delwin(3XCURSES)
Impressum