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

NAME

6       insdelln, winsdelln - insert/delete lines to/from the 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 insdelln(int n);
17
18
19       int winsdelln(WINDOW *win, int n);
20
21

PARAMETERS

23       n      Is  the number of lines to insert or delete (positive n inserts;
24              negative n deletes).
25
26
27       win    Is a pointer to the window in which to insert or delete a line.
28
29

DESCRIPTION

31       The insdelln() and winsdelln() functions insert or delete blank   lines
32       in  stdscr or win, respectively.  When n is positive, n lines are added
33       before the current line  and the bottom n lines are  lost;  when  n  is
34       negative,  n  lines   are  deleted  starting with the current line, the
35       remaining lines are moved up,  and the bottom n lines are cleared.  The
36       position of the cursor does not change.
37

RETURN VALUES

39       On success, these functions return OK. Otherwise, they return ERR.
40

ERRORS

42       None.
43

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Standard                     │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │Unsafe                       │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       deleteln(3XCURSES),       insertln(3XCURSES),      libcurses(3XCURSES),
60       attributes(5), standards(5)
61
62
63
64SunOS 5.11                        5 Jun 2002                insdelln(3XCURSES)
Impressum