1insertln(3XCURSES) X/Open Curses Library Functions insertln(3XCURSES)
2
3
4
6 insertln, winsertln - insert a line in 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 int insertln(void);
17
18
19 int winsertln(WINDOW *win);
20
21
23 win Is a pointer to the window in which to insert the line.
24
25
27 The insertln() and winsertln() functions insert a blank line before the
28 current line in stdscr or win, respectively. The new line becomes the
29 current line. The current line and all lines after it in the window
30 are moved down one line. The bottom line in the window is discarded.
31
33 On success, these functions return OK. Otherwise, they return ERR.
34
36 None.
37
39 See attributes(5) for descriptions of the following attributes:
40
41
42
43
44 ┌─────────────────────────────┬─────────────────────────────┐
45 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │Standard │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │MT-Level │Unsafe │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 bkgdset(3XCURSES), deleteln(3XCURSES), insdelln(3XCURSES),
54 libcurses(3XCURSES), attributes(5), standards(5)
55
56
57
58SunOS 5.11 5 Jun 2002 insertln(3XCURSES)